aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl/objects.h
diff options
context:
space:
mode:
authorBill Cox <waywardgeek@google.com>2016-03-09 23:08:31 +0100
committerRich Salz <rsalz@openssl.org>2016-03-11 10:39:10 -0500
commit2d0b44126763f989a4cbffbffe9d0c7518158bb7 (patch)
tree241855d2b5a9b91688f969bf849037f6a0343594 /include/openssl/objects.h
parent40f43f8a2e7c75f032672d198604e4fbd6a60fd8 (diff)
downloadopenssl-2d0b44126763f989a4cbffbffe9d0c7518158bb7.tar.gz
Add blake2 support.
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include/openssl/objects.h')
-rw-r--r--include/openssl/objects.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/openssl/objects.h b/include/openssl/objects.h
index 05bc9b0248..7766f3a32f 100644
--- a/include/openssl/objects.h
+++ b/include/openssl/objects.h
@@ -642,6 +642,16 @@
# define NID_ripemd160WithRSA 119
# define OBJ_ripemd160WithRSA 1L,3L,36L,3L,3L,1L,2L
+# define SN_blake2b "BLAKE2b"
+# define LN_blake2b "blake2b"
+# define NID_blake2b 1022
+# define OBJ_blake2b 1,3,6,1,4,1,1722,12,2,1,16
+
+# define SN_blake2s "BLAKE2s"
+# define LN_blake2s "blake2"
+# define NID_blake2s 1023
+# define OBJ_blake2s 1,3,6,1,4,1,1722,12,2,2,8
+
/*-
* Taken from rfc2040
* RC5_CBC_Parameters ::= SEQUENCE {