summaryrefslogtreecommitdiffstats
path: root/crypto/objects
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-03-10 00:49:55 +0100
committerRich Salz <rsalz@openssl.org>2016-03-11 10:39:10 -0500
commit208527a75dd9584e2715c0eebcfad8c730d0dfae (patch)
treea5f56cd5debd4bb9fbe29f0a1f0df8075b236753 /crypto/objects
parent2d0b44126763f989a4cbffbffe9d0c7518158bb7 (diff)
Review comments
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/objects')
-rw-r--r--crypto/objects/obj_dat.h20
-rw-r--r--crypto/objects/obj_mac.num4
-rw-r--r--crypto/objects/objects.txt4
3 files changed, 14 insertions, 14 deletions
diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h
index c9314208a7..d852a55c5c 100644
--- a/crypto/objects/obj_dat.h
+++ b/crypto/objects/obj_dat.h
@@ -1011,8 +1011,8 @@ static const unsigned char lvalues[6744]={
0x2B,0x06,0x01,0x05,0x02,0x03,0x05, /* [6696] OBJ_pkInitKDC */
0x2B,0x06,0x01,0x04,0x01,0xDA,0x47,0x0F,0x01,/* [6703] OBJ_X25519 */
0x2B,0x06,0x01,0x04,0x01,0xDA,0x47,0x0F,0x02,/* [6712] OBJ_X448 */
-0x2B,0x06,0x01,0x04,0x01,0x8D,0x3A,0x0C,0x02,0x01,0x10,/* [6721] OBJ_blake2b */
-0x2B,0x06,0x01,0x04,0x01,0x8D,0x3A,0x0C,0x02,0x02,0x08,/* [6732] OBJ_blake2s */
+0x2B,0x06,0x01,0x04,0x01,0x8D,0x3A,0x0C,0x02,0x01,0x10,/* [6721] OBJ_blake2b512 */
+0x2B,0x06,0x01,0x04,0x01,0x8D,0x3A,0x0C,0x02,0x02,0x08,/* [6732] OBJ_blake2s256 */
};
static const ASN1_OBJECT nid_objs[NUM_NID]={
@@ -2726,8 +2726,8 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
{"AuthNULL","auth-null",NID_auth_null,0,NULL,0},
{NULL,NULL,NID_undef,0,NULL,0},
{NULL,NULL,NID_undef,0,NULL,0},
-{"BLAKE2b","blake2b",NID_blake2b,11,&(lvalues[6721]),0},
-{"BLAKE2s","blake2s",NID_blake2s,11,&(lvalues[6732]),0},
+{"BLAKE2b512","blake2b512",NID_blake2b512,11,&(lvalues[6721]),0},
+{"BLAKE2s256","blake2s256",NID_blake2s256,11,&(lvalues[6732]),0},
};
static const unsigned int sn_objs[NUM_SN]={
@@ -2776,8 +2776,8 @@ static const unsigned int sn_objs[NUM_SN]={
93, /* "BF-CFB" */
92, /* "BF-ECB" */
94, /* "BF-OFB" */
-1056, /* "BLAKE2b" */
-1057, /* "BLAKE2s" */
+1056, /* "BLAKE2b512" */
+1057, /* "BLAKE2s256" */
14, /* "C" */
751, /* "CAMELLIA-128-CBC" */
962, /* "CAMELLIA-128-CCM" */
@@ -4016,8 +4016,8 @@ static const unsigned int ln_objs[NUM_LN]={
93, /* "bf-cfb" */
92, /* "bf-ecb" */
94, /* "bf-ofb" */
-1056, /* "blake2b" */
-1057, /* "blake2s" */
+1056, /* "blake2b512" */
+1057, /* "blake2s256" */
921, /* "brainpoolP160r1" */
922, /* "brainpoolP160t1" */
923, /* "brainpoolP192r1" */
@@ -5786,7 +5786,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
955, /* OBJ_jurisdictionLocalityName 1 3 6 1 4 1 311 60 2 1 1 */
956, /* OBJ_jurisdictionStateOrProvinceName 1 3 6 1 4 1 311 60 2 1 2 */
957, /* OBJ_jurisdictionCountryName 1 3 6 1 4 1 311 60 2 1 3 */
-1056, /* OBJ_blake2b 1 3 6 1 4 1 1722 12 2 1 16 */
-1057, /* OBJ_blake2s 1 3 6 1 4 1 1722 12 2 2 8 */
+1056, /* OBJ_blake2b512 1 3 6 1 4 1 1722 12 2 1 16 */
+1057, /* OBJ_blake2s256 1 3 6 1 4 1 1722 12 2 2 8 */
};
diff --git a/crypto/objects/obj_mac.num b/crypto/objects/obj_mac.num
index dfdb61aa5d..01d53b8516 100644
--- a/crypto/objects/obj_mac.num
+++ b/crypto/objects/obj_mac.num
@@ -1053,5 +1053,5 @@ auth_srp 1052
auth_null 1053
fips_none 1054
fips_140_2 1055
-blake2b 1056
-blake2s 1057
+blake2b512 1056
+blake2s256 1057
diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt
index 24b0f42e52..ba8891dfd7 100644
--- a/crypto/objects/objects.txt
+++ b/crypto/objects/objects.txt
@@ -671,8 +671,8 @@ algorithm 29 : RSA-SHA1-2 : sha1WithRSA
1 3 36 3 2 1 : RIPEMD160 : ripemd160
1 3 36 3 3 1 2 : RSA-RIPEMD160 : ripemd160WithRSA
-1 3 6 1 4 1 1722 12 2 1 16 : BLAKE2b : blake2b
-1 3 6 1 4 1 1722 12 2 2 8 : BLAKE2s : blake2s
+1 3 6 1 4 1 1722 12 2 1 16 : BLAKE2b512 : blake2b512
+1 3 6 1 4 1 1722 12 2 2 8 : BLAKE2s256 : blake2s256
!Cname sxnet
1 3 101 1 4 1 : SXNetID : Strong Extranet ID