pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/hs-cryptonite Update to cryptonite-0.28



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59c8531192c6
branches:  trunk
changeset: 451105:59c8531192c6
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Apr 24 12:55:43 2021 +0000

description:
Update to cryptonite-0.28

0.28
* Add hash constant time capability
* Prevent possible overflow during hashing by hashing in 4GB chunks

0.27
* Optimise AES GCM and CCM
* Optimise P256R1 implementation
* Various AES-NI building improvements
* Add better ECDSA support
* Add XSalsa derive
* Implement square roots for ECC binary curve
* Various tests and benchmarks

diffstat:

 security/hs-cryptonite/Makefile                              |     4 +-
 security/hs-cryptonite/PLIST                                 |  1036 +++++----
 security/hs-cryptonite/buildlink3.mk                         |     6 +-
 security/hs-cryptonite/distinfo                              |    11 +-
 security/hs-cryptonite/patches/patch-Crypto_Number_Compat.hs |    44 +
 5 files changed, 579 insertions(+), 522 deletions(-)

diffs (truncated from 1136 to 300 lines):

diff -r eae20597a398 -r 59c8531192c6 security/hs-cryptonite/Makefile
--- a/security/hs-cryptonite/Makefile   Sat Apr 24 12:25:09 2021 +0000
+++ b/security/hs-cryptonite/Makefile   Sat Apr 24 12:55:43 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/01/17 00:17:32 pho Exp $
+# $NetBSD: Makefile,v 1.2 2021/04/24 12:55:43 pho Exp $
 
-DISTNAME=      cryptonite-0.26
+DISTNAME=      cryptonite-0.28
 CATEGORIES=    security
 
 MAINTAINER=    pho%cielonegro.org@localhost
diff -r eae20597a398 -r 59c8531192c6 security/hs-cryptonite/PLIST
--- a/security/hs-cryptonite/PLIST      Sat Apr 24 12:25:09 2021 +0000
+++ b/security/hs-cryptonite/PLIST      Sat Apr 24 12:55:43 2021 +0000
@@ -1,513 +1,525 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:12 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Crypto/Cipher/AES.dyn_hi
-${HS_IMPL}/Crypto/Cipher/AES.hi
-${HS_IMPL}/Crypto/Cipher/AES.p_hi
-${HS_IMPL}/Crypto/Cipher/AES/Primitive.dyn_hi
-${HS_IMPL}/Crypto/Cipher/AES/Primitive.hi
-${HS_IMPL}/Crypto/Cipher/AES/Primitive.p_hi
-${HS_IMPL}/Crypto/Cipher/Blowfish.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Blowfish.hi
-${HS_IMPL}/Crypto/Cipher/Blowfish.p_hi
-${HS_IMPL}/Crypto/Cipher/Blowfish/Box.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Blowfish/Box.hi
-${HS_IMPL}/Crypto/Cipher/Blowfish/Box.p_hi
-${HS_IMPL}/Crypto/Cipher/Blowfish/Primitive.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Blowfish/Primitive.hi
-${HS_IMPL}/Crypto/Cipher/Blowfish/Primitive.p_hi
-${HS_IMPL}/Crypto/Cipher/CAST5.dyn_hi
-${HS_IMPL}/Crypto/Cipher/CAST5.hi
-${HS_IMPL}/Crypto/Cipher/CAST5.p_hi
-${HS_IMPL}/Crypto/Cipher/CAST5/Primitive.dyn_hi
-${HS_IMPL}/Crypto/Cipher/CAST5/Primitive.hi
-${HS_IMPL}/Crypto/Cipher/CAST5/Primitive.p_hi
-${HS_IMPL}/Crypto/Cipher/Camellia.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Camellia.hi
-${HS_IMPL}/Crypto/Cipher/Camellia.p_hi
-${HS_IMPL}/Crypto/Cipher/Camellia/Primitive.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Camellia/Primitive.hi
-${HS_IMPL}/Crypto/Cipher/Camellia/Primitive.p_hi
-${HS_IMPL}/Crypto/Cipher/ChaCha.dyn_hi
-${HS_IMPL}/Crypto/Cipher/ChaCha.hi
-${HS_IMPL}/Crypto/Cipher/ChaCha.p_hi
-${HS_IMPL}/Crypto/Cipher/ChaChaPoly1305.dyn_hi
-${HS_IMPL}/Crypto/Cipher/ChaChaPoly1305.hi
-${HS_IMPL}/Crypto/Cipher/ChaChaPoly1305.p_hi
-${HS_IMPL}/Crypto/Cipher/DES.dyn_hi
-${HS_IMPL}/Crypto/Cipher/DES.hi
-${HS_IMPL}/Crypto/Cipher/DES.p_hi
-${HS_IMPL}/Crypto/Cipher/DES/Primitive.dyn_hi
-${HS_IMPL}/Crypto/Cipher/DES/Primitive.hi
-${HS_IMPL}/Crypto/Cipher/DES/Primitive.p_hi
-${HS_IMPL}/Crypto/Cipher/RC4.dyn_hi
-${HS_IMPL}/Crypto/Cipher/RC4.hi
-${HS_IMPL}/Crypto/Cipher/RC4.p_hi
-${HS_IMPL}/Crypto/Cipher/Salsa.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Salsa.hi
-${HS_IMPL}/Crypto/Cipher/Salsa.p_hi
-${HS_IMPL}/Crypto/Cipher/TripleDES.dyn_hi
-${HS_IMPL}/Crypto/Cipher/TripleDES.hi
-${HS_IMPL}/Crypto/Cipher/TripleDES.p_hi
-${HS_IMPL}/Crypto/Cipher/Twofish.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Twofish.hi
-${HS_IMPL}/Crypto/Cipher/Twofish.p_hi
-${HS_IMPL}/Crypto/Cipher/Twofish/Primitive.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Twofish/Primitive.hi
-${HS_IMPL}/Crypto/Cipher/Twofish/Primitive.p_hi
-${HS_IMPL}/Crypto/Cipher/Types.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types.hi
-${HS_IMPL}/Crypto/Cipher/Types.p_hi
-${HS_IMPL}/Crypto/Cipher/Types/AEAD.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types/AEAD.hi
-${HS_IMPL}/Crypto/Cipher/Types/AEAD.p_hi
-${HS_IMPL}/Crypto/Cipher/Types/Base.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types/Base.hi
-${HS_IMPL}/Crypto/Cipher/Types/Base.p_hi
-${HS_IMPL}/Crypto/Cipher/Types/Block.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types/Block.hi
-${HS_IMPL}/Crypto/Cipher/Types/Block.p_hi
-${HS_IMPL}/Crypto/Cipher/Types/GF.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types/GF.hi
-${HS_IMPL}/Crypto/Cipher/Types/GF.p_hi
-${HS_IMPL}/Crypto/Cipher/Types/Stream.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types/Stream.hi
-${HS_IMPL}/Crypto/Cipher/Types/Stream.p_hi
-${HS_IMPL}/Crypto/Cipher/Types/Utils.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Types/Utils.hi
-${HS_IMPL}/Crypto/Cipher/Types/Utils.p_hi
-${HS_IMPL}/Crypto/Cipher/Utils.dyn_hi
-${HS_IMPL}/Crypto/Cipher/Utils.hi
-${HS_IMPL}/Crypto/Cipher/Utils.p_hi
-${HS_IMPL}/Crypto/Cipher/XSalsa.dyn_hi
-${HS_IMPL}/Crypto/Cipher/XSalsa.hi
-${HS_IMPL}/Crypto/Cipher/XSalsa.p_hi
-${HS_IMPL}/Crypto/ConstructHash/MiyaguchiPreneel.dyn_hi
-${HS_IMPL}/Crypto/ConstructHash/MiyaguchiPreneel.hi
-${HS_IMPL}/Crypto/ConstructHash/MiyaguchiPreneel.p_hi
-${HS_IMPL}/Crypto/Data/AFIS.dyn_hi
-${HS_IMPL}/Crypto/Data/AFIS.hi
-${HS_IMPL}/Crypto/Data/AFIS.p_hi
-${HS_IMPL}/Crypto/Data/Padding.dyn_hi
-${HS_IMPL}/Crypto/Data/Padding.hi
-${HS_IMPL}/Crypto/Data/Padding.p_hi
-${HS_IMPL}/Crypto/ECC.dyn_hi
-${HS_IMPL}/Crypto/ECC.hi
-${HS_IMPL}/Crypto/ECC.p_hi
-${HS_IMPL}/Crypto/ECC/Edwards25519.dyn_hi
-${HS_IMPL}/Crypto/ECC/Edwards25519.hi
-${HS_IMPL}/Crypto/ECC/Edwards25519.p_hi
-${HS_IMPL}/Crypto/ECC/Simple/Prim.dyn_hi
-${HS_IMPL}/Crypto/ECC/Simple/Prim.hi
-${HS_IMPL}/Crypto/ECC/Simple/Prim.p_hi
-${HS_IMPL}/Crypto/ECC/Simple/Types.dyn_hi
-${HS_IMPL}/Crypto/ECC/Simple/Types.hi
-${HS_IMPL}/Crypto/ECC/Simple/Types.p_hi
-${HS_IMPL}/Crypto/Error.dyn_hi
-${HS_IMPL}/Crypto/Error.hi
-${HS_IMPL}/Crypto/Error.p_hi
-${HS_IMPL}/Crypto/Error/Types.dyn_hi
-${HS_IMPL}/Crypto/Error/Types.hi
-${HS_IMPL}/Crypto/Error/Types.p_hi
-${HS_IMPL}/Crypto/Hash.dyn_hi
-${HS_IMPL}/Crypto/Hash.hi
-${HS_IMPL}/Crypto/Hash.p_hi
-${HS_IMPL}/Crypto/Hash/Algorithms.dyn_hi
-${HS_IMPL}/Crypto/Hash/Algorithms.hi
-${HS_IMPL}/Crypto/Hash/Algorithms.p_hi
-${HS_IMPL}/Crypto/Hash/Blake2.dyn_hi
-${HS_IMPL}/Crypto/Hash/Blake2.hi
-${HS_IMPL}/Crypto/Hash/Blake2.p_hi
-${HS_IMPL}/Crypto/Hash/Blake2b.dyn_hi
-${HS_IMPL}/Crypto/Hash/Blake2b.hi
-${HS_IMPL}/Crypto/Hash/Blake2b.p_hi
-${HS_IMPL}/Crypto/Hash/Blake2bp.dyn_hi
-${HS_IMPL}/Crypto/Hash/Blake2bp.hi
-${HS_IMPL}/Crypto/Hash/Blake2bp.p_hi
-${HS_IMPL}/Crypto/Hash/Blake2s.dyn_hi
-${HS_IMPL}/Crypto/Hash/Blake2s.hi
-${HS_IMPL}/Crypto/Hash/Blake2s.p_hi
-${HS_IMPL}/Crypto/Hash/Blake2sp.dyn_hi
-${HS_IMPL}/Crypto/Hash/Blake2sp.hi
-${HS_IMPL}/Crypto/Hash/Blake2sp.p_hi
-${HS_IMPL}/Crypto/Hash/IO.dyn_hi
-${HS_IMPL}/Crypto/Hash/IO.hi
-${HS_IMPL}/Crypto/Hash/IO.p_hi
-${HS_IMPL}/Crypto/Hash/Keccak.dyn_hi
-${HS_IMPL}/Crypto/Hash/Keccak.hi
-${HS_IMPL}/Crypto/Hash/Keccak.p_hi
-${HS_IMPL}/Crypto/Hash/MD2.dyn_hi
-${HS_IMPL}/Crypto/Hash/MD2.hi
-${HS_IMPL}/Crypto/Hash/MD2.p_hi
-${HS_IMPL}/Crypto/Hash/MD4.dyn_hi
-${HS_IMPL}/Crypto/Hash/MD4.hi
-${HS_IMPL}/Crypto/Hash/MD4.p_hi
-${HS_IMPL}/Crypto/Hash/MD5.dyn_hi
-${HS_IMPL}/Crypto/Hash/MD5.hi
-${HS_IMPL}/Crypto/Hash/MD5.p_hi
-${HS_IMPL}/Crypto/Hash/RIPEMD160.dyn_hi
-${HS_IMPL}/Crypto/Hash/RIPEMD160.hi
-${HS_IMPL}/Crypto/Hash/RIPEMD160.p_hi
-${HS_IMPL}/Crypto/Hash/SHA1.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA1.hi
-${HS_IMPL}/Crypto/Hash/SHA1.p_hi
-${HS_IMPL}/Crypto/Hash/SHA224.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA224.hi
-${HS_IMPL}/Crypto/Hash/SHA224.p_hi
-${HS_IMPL}/Crypto/Hash/SHA256.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA256.hi
-${HS_IMPL}/Crypto/Hash/SHA256.p_hi
-${HS_IMPL}/Crypto/Hash/SHA3.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA3.hi
-${HS_IMPL}/Crypto/Hash/SHA3.p_hi
-${HS_IMPL}/Crypto/Hash/SHA384.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA384.hi
-${HS_IMPL}/Crypto/Hash/SHA384.p_hi
-${HS_IMPL}/Crypto/Hash/SHA512.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA512.hi
-${HS_IMPL}/Crypto/Hash/SHA512.p_hi
-${HS_IMPL}/Crypto/Hash/SHA512t.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA512t.hi
-${HS_IMPL}/Crypto/Hash/SHA512t.p_hi
-${HS_IMPL}/Crypto/Hash/SHAKE.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHAKE.hi
-${HS_IMPL}/Crypto/Hash/SHAKE.p_hi
-${HS_IMPL}/Crypto/Hash/Skein256.dyn_hi
-${HS_IMPL}/Crypto/Hash/Skein256.hi
-${HS_IMPL}/Crypto/Hash/Skein256.p_hi
-${HS_IMPL}/Crypto/Hash/Skein512.dyn_hi
-${HS_IMPL}/Crypto/Hash/Skein512.hi
-${HS_IMPL}/Crypto/Hash/Skein512.p_hi
-${HS_IMPL}/Crypto/Hash/Tiger.dyn_hi
-${HS_IMPL}/Crypto/Hash/Tiger.hi
-${HS_IMPL}/Crypto/Hash/Tiger.p_hi
-${HS_IMPL}/Crypto/Hash/Types.dyn_hi
-${HS_IMPL}/Crypto/Hash/Types.hi
-${HS_IMPL}/Crypto/Hash/Types.p_hi
-${HS_IMPL}/Crypto/Hash/Whirlpool.dyn_hi
-${HS_IMPL}/Crypto/Hash/Whirlpool.hi
-${HS_IMPL}/Crypto/Hash/Whirlpool.p_hi
-${HS_IMPL}/Crypto/Internal/ByteArray.dyn_hi
-${HS_IMPL}/Crypto/Internal/ByteArray.hi
-${HS_IMPL}/Crypto/Internal/ByteArray.p_hi
-${HS_IMPL}/Crypto/Internal/Compat.dyn_hi
-${HS_IMPL}/Crypto/Internal/Compat.hi
-${HS_IMPL}/Crypto/Internal/Compat.p_hi
-${HS_IMPL}/Crypto/Internal/CompatPrim.dyn_hi
-${HS_IMPL}/Crypto/Internal/CompatPrim.hi
-${HS_IMPL}/Crypto/Internal/CompatPrim.p_hi
-${HS_IMPL}/Crypto/Internal/DeepSeq.dyn_hi
-${HS_IMPL}/Crypto/Internal/DeepSeq.hi
-${HS_IMPL}/Crypto/Internal/DeepSeq.p_hi
-${HS_IMPL}/Crypto/Internal/Imports.dyn_hi
-${HS_IMPL}/Crypto/Internal/Imports.hi
-${HS_IMPL}/Crypto/Internal/Imports.p_hi
-${HS_IMPL}/Crypto/Internal/Nat.dyn_hi
-${HS_IMPL}/Crypto/Internal/Nat.hi
-${HS_IMPL}/Crypto/Internal/Nat.p_hi
-${HS_IMPL}/Crypto/Internal/WordArray.dyn_hi
-${HS_IMPL}/Crypto/Internal/WordArray.hi
-${HS_IMPL}/Crypto/Internal/WordArray.p_hi
-${HS_IMPL}/Crypto/Internal/Words.dyn_hi
-${HS_IMPL}/Crypto/Internal/Words.hi
-${HS_IMPL}/Crypto/Internal/Words.p_hi
-${HS_IMPL}/Crypto/KDF/Argon2.dyn_hi
-${HS_IMPL}/Crypto/KDF/Argon2.hi
-${HS_IMPL}/Crypto/KDF/Argon2.p_hi
-${HS_IMPL}/Crypto/KDF/BCrypt.dyn_hi
-${HS_IMPL}/Crypto/KDF/BCrypt.hi
-${HS_IMPL}/Crypto/KDF/BCrypt.p_hi
-${HS_IMPL}/Crypto/KDF/BCryptPBKDF.dyn_hi
-${HS_IMPL}/Crypto/KDF/BCryptPBKDF.hi
-${HS_IMPL}/Crypto/KDF/BCryptPBKDF.p_hi
-${HS_IMPL}/Crypto/KDF/HKDF.dyn_hi
-${HS_IMPL}/Crypto/KDF/HKDF.hi
-${HS_IMPL}/Crypto/KDF/HKDF.p_hi
-${HS_IMPL}/Crypto/KDF/PBKDF2.dyn_hi
-${HS_IMPL}/Crypto/KDF/PBKDF2.hi
-${HS_IMPL}/Crypto/KDF/PBKDF2.p_hi
-${HS_IMPL}/Crypto/KDF/Scrypt.dyn_hi
-${HS_IMPL}/Crypto/KDF/Scrypt.hi
-${HS_IMPL}/Crypto/KDF/Scrypt.p_hi
-${HS_IMPL}/Crypto/MAC/CMAC.dyn_hi
-${HS_IMPL}/Crypto/MAC/CMAC.hi
-${HS_IMPL}/Crypto/MAC/CMAC.p_hi
-${HS_IMPL}/Crypto/MAC/HMAC.dyn_hi
-${HS_IMPL}/Crypto/MAC/HMAC.hi
-${HS_IMPL}/Crypto/MAC/HMAC.p_hi
-${HS_IMPL}/Crypto/MAC/KMAC.dyn_hi
-${HS_IMPL}/Crypto/MAC/KMAC.hi
-${HS_IMPL}/Crypto/MAC/KMAC.p_hi
-${HS_IMPL}/Crypto/MAC/Poly1305.dyn_hi
-${HS_IMPL}/Crypto/MAC/Poly1305.hi
-${HS_IMPL}/Crypto/MAC/Poly1305.p_hi
-${HS_IMPL}/Crypto/Number/Basic.dyn_hi
-${HS_IMPL}/Crypto/Number/Basic.hi
-${HS_IMPL}/Crypto/Number/Basic.p_hi
-${HS_IMPL}/Crypto/Number/Compat.dyn_hi
-${HS_IMPL}/Crypto/Number/Compat.hi
-${HS_IMPL}/Crypto/Number/Compat.p_hi
-${HS_IMPL}/Crypto/Number/F2m.dyn_hi
-${HS_IMPL}/Crypto/Number/F2m.hi
-${HS_IMPL}/Crypto/Number/F2m.p_hi
-${HS_IMPL}/Crypto/Number/Generate.dyn_hi
-${HS_IMPL}/Crypto/Number/Generate.hi
-${HS_IMPL}/Crypto/Number/Generate.p_hi
-${HS_IMPL}/Crypto/Number/ModArithmetic.dyn_hi
-${HS_IMPL}/Crypto/Number/ModArithmetic.hi
-${HS_IMPL}/Crypto/Number/ModArithmetic.p_hi
-${HS_IMPL}/Crypto/Number/Nat.dyn_hi
-${HS_IMPL}/Crypto/Number/Nat.hi
-${HS_IMPL}/Crypto/Number/Nat.p_hi
-${HS_IMPL}/Crypto/Number/Prime.dyn_hi
-${HS_IMPL}/Crypto/Number/Prime.hi
-${HS_IMPL}/Crypto/Number/Prime.p_hi
-${HS_IMPL}/Crypto/Number/Serialize.dyn_hi
-${HS_IMPL}/Crypto/Number/Serialize.hi
-${HS_IMPL}/Crypto/Number/Serialize.p_hi
-${HS_IMPL}/Crypto/Number/Serialize/Internal.dyn_hi
-${HS_IMPL}/Crypto/Number/Serialize/Internal.hi
-${HS_IMPL}/Crypto/Number/Serialize/Internal.p_hi
-${HS_IMPL}/Crypto/Number/Serialize/Internal/LE.dyn_hi
-${HS_IMPL}/Crypto/Number/Serialize/Internal/LE.hi
-${HS_IMPL}/Crypto/Number/Serialize/Internal/LE.p_hi
-${HS_IMPL}/Crypto/Number/Serialize/LE.dyn_hi
-${HS_IMPL}/Crypto/Number/Serialize/LE.hi
-${HS_IMPL}/Crypto/Number/Serialize/LE.p_hi
-${HS_IMPL}/Crypto/OTP.dyn_hi
-${HS_IMPL}/Crypto/OTP.hi
-${HS_IMPL}/Crypto/OTP.p_hi
-${HS_IMPL}/Crypto/PubKey/Curve25519.dyn_hi
-${HS_IMPL}/Crypto/PubKey/Curve25519.hi
-${HS_IMPL}/Crypto/PubKey/Curve25519.p_hi
-${HS_IMPL}/Crypto/PubKey/Curve448.dyn_hi
-${HS_IMPL}/Crypto/PubKey/Curve448.hi



Home | Main Index | Thread Index | Old Index