import hs-crypto-api 0.2.1

Generic interface for cryptographic operations, platform independent
quality RNG, property tests and known-answer tests (KATs) for common
algorithms, and a basic benchmark infrastructure. Maintainers of hash
and cipher implementations are encouraged to add instances for the
classes defined in Crypto.Classes. [..]

ok kili@
This commit is contained in:
jasper 2010-12-08 23:28:29 +00:00
parent 4f70ab385d
commit ac39611692
4 changed files with 256 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/08 23:28:29 jasper Exp $
COMMENT= generic interface for cryptographic operations
DISTNAME= crypto-api-0.2.1
CATEGORIES= security net
HOMEPAGE= http://trac.haskell.org/crypto-api/wiki
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES= lang/ghc
MODGHC_BUILD = cabal hackage haddock register
RUN_DEPENDS = hs-cereal->=0.2,<0.4:devel/hs-cereal \
devel/hs-tagged
BUILD_DEPENDS = ${RUN_DEPENDS}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (crypto-api-0.2.1.tar.gz) = l2rBFMCc68i9Sxn/Z8BGcQ==
RMD160 (crypto-api-0.2.1.tar.gz) = UXR/XxXfsSaJHsH1m7IundFJ9Gc=
SHA1 (crypto-api-0.2.1.tar.gz) = wDqSpvnb91gDuiNOXwazMvLftTs=
SHA256 (crypto-api-0.2.1.tar.gz) = 9eaexJ+QZcLuibZeokofPn4K9t0V/wP6gKPa51V9Lik=
SIZE (crypto-api-0.2.1.tar.gz) = 3648118

View File

@ -0,0 +1,8 @@
Generic interface for cryptographic operations, platform independent
quality RNG, property tests and known-answer tests (KATs) for common
algorithms, and a basic benchmark infrastructure. Maintainers of hash
and cipher implementations are encouraged to add instances for the
classes defined in Crypto.Classes. Crypto users are similarly encouraged
to use the interfaces defined in the Classes module. Any concepts or
functions of general use to more than one cryptographic algorithm (ex:
padding) is within scope of this package.

View File

@ -0,0 +1,217 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/08 23:28:29 jasper Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Crypto/
lib/ghc/${DISTNAME}/Crypto/Classes.hi
lib/ghc/${DISTNAME}/Crypto/HMAC.hi
lib/ghc/${DISTNAME}/Crypto/Modes.hi
lib/ghc/${DISTNAME}/Crypto/Padding.hi
lib/ghc/${DISTNAME}/Crypto/Random.hi
lib/ghc/${DISTNAME}/Crypto/Types.hi
lib/ghc/${DISTNAME}/Data/
lib/ghc/${DISTNAME}/Data/LargeWord.hi
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/System/
lib/ghc/${DISTNAME}/System/Crypto/
lib/ghc/${DISTNAME}/System/Crypto/Random.hi
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Crypto-Classes.html
share/doc/hs-${DISTNAME}/html/Crypto-HMAC.html
share/doc/hs-${DISTNAME}/html/Crypto-Modes.html
share/doc/hs-${DISTNAME}/html/Crypto-Padding.html
share/doc/hs-${DISTNAME}/html/Crypto-Random.html
share/doc/hs-${DISTNAME}/html/Crypto-Types.html
share/doc/hs-${DISTNAME}/html/Data-LargeWord.html
share/doc/hs-${DISTNAME}/html/System-Crypto-Random.html
share/doc/hs-${DISTNAME}/html/crypto-api.haddock
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock.css
share/doc/hs-${DISTNAME}/html/haskell_icon.gif
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-Classes.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-HMAC.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-Modes.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-Padding.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-Random.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-Types.html
share/doc/hs-${DISTNAME}/html/mini_Data-LargeWord.html
share/doc/hs-${DISTNAME}/html/mini_System-Crypto-Random.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/plus.gif
share/hs-${DISTNAME}/
share/hs-${DISTNAME}/Test/
share/hs-${DISTNAME}/Test/KAT_AES/
share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCGFSbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCKeySbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarKey256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CBCVarTxt256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128GFSbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128KeySbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarKey256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB128VarTxt256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1GFSbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1KeySbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarKey256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB1VarTxt256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8GFSbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8KeySbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarKey256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/CFB8VarTxt256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBGFSbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBKeySbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarKey256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/ECBVarTxt256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBGFSbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBKeySbox256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarKey256e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt128d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt128e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt192d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt192e.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt256d.txt
share/hs-${DISTNAME}/Test/KAT_AES/OFBVarTxt256e.txt
share/hs-${DISTNAME}/Test/KAT_HMAC/
share/hs-${DISTNAME}/Test/KAT_HMAC/HMAC.txt
share/hs-${DISTNAME}/Test/KAT_SHA/
share/hs-${DISTNAME}/Test/KAT_SHA/SHA1LongMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA1ShortMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA224LongMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA224ShortMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA256LongMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA256ShortMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA384LongMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA384ShortMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA512LongMsg.txt
share/hs-${DISTNAME}/Test/KAT_SHA/SHA512ShortMsg.txt
share/hs-${DISTNAME}/Test/KAT_TWOFISH/
share/hs-${DISTNAME}/Test/KAT_TWOFISH/CBC_D_M.TXT
share/hs-${DISTNAME}/Test/KAT_TWOFISH/CBC_E_M.TXT
share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_D_M.TXT
share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_E_M.TXT
share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_TBL.TXT
share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_VK.TXT
share/hs-${DISTNAME}/Test/KAT_TWOFISH/ECB_VT.TXT