diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-04-08 17:48:02 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-04-08 17:48:02 +0700 |
commit | 79055149405e986176bbb177a8897770e1777974 (patch) | |
tree | fc167830f416ebc3b3df4b769cc46be73cc4337d /crypto/src/asn1/misc | |
parent | Latest scrypt updates from bc-java (diff) | |
download | BouncyCastle.NET-ed25519-79055149405e986176bbb177a8897770e1777974.tar.xz |
Port of BLAKE2B/2S digests from bc-java
- also some misc. changes for other digests
Diffstat (limited to 'crypto/src/asn1/misc')
-rw-r--r-- | crypto/src/asn1/misc/MiscObjectIdentifiers.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/src/asn1/misc/MiscObjectIdentifiers.cs b/crypto/src/asn1/misc/MiscObjectIdentifiers.cs index 8128b6952..d344393dd 100644 --- a/crypto/src/asn1/misc/MiscObjectIdentifiers.cs +++ b/crypto/src/asn1/misc/MiscObjectIdentifiers.cs @@ -75,5 +75,14 @@ namespace Org.BouncyCastle.Asn1.Misc public static readonly DerObjectIdentifier id_blake2b256 = blake2.Branch("1.8"); public static readonly DerObjectIdentifier id_blake2b384 = blake2.Branch("1.12"); public static readonly DerObjectIdentifier id_blake2b512 = blake2.Branch("1.16"); + + public static readonly DerObjectIdentifier id_blake2s128 = blake2.Branch("2.4"); + public static readonly DerObjectIdentifier id_blake2s160 = blake2.Branch("2.5"); + public static readonly DerObjectIdentifier id_blake2s224 = blake2.Branch("2.7"); + public static readonly DerObjectIdentifier id_blake2s256 = blake2.Branch("2.8"); + + // + // Scrypt + public static readonly DerObjectIdentifier id_scrypt = new DerObjectIdentifier("1.3.6.1.4.1.11591.4.11"); } } |