summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2016-11-05 20:01:54 +0000
committerjsing <>2016-11-05 20:01:54 +0000
commit3deb5afd0a0dc2544bc4b40d483329904ef852b1 (patch)
tree8ac327dc55ca92f7dc6dfa98556e5a81646175b3
parent9b44f0d3dbfa90fdde4fa8329c758570e64d8500 (diff)
downloadopenbsd-3deb5afd0a0dc2544bc4b40d483329904ef852b1.tar.gz
openbsd-3deb5afd0a0dc2544bc4b40d483329904ef852b1.tar.bz2
openbsd-3deb5afd0a0dc2544bc4b40d483329904ef852b1.zip
Add objects for X25519, X448, Ed25519 and Ed448.
ok miod@
-rw-r--r--src/lib/libcrypto/objects/obj_mac.num6
-rw-r--r--src/lib/libcrypto/objects/objects.txt9
2 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/libcrypto/objects/obj_mac.num b/src/lib/libcrypto/objects/obj_mac.num
index d3a658e59c..d839b396f2 100644
--- a/src/lib/libcrypto/objects/obj_mac.num
+++ b/src/lib/libcrypto/objects/obj_mac.num
@@ -947,3 +947,9 @@ id_tc26_gost3410_2012_256 946
947id_tc26_gost3410_2012_512 947 947id_tc26_gost3410_2012_512 947
948id_tc26_signwithdigest_gost3410_2012_256 948 948id_tc26_signwithdigest_gost3410_2012_256 948
949id_tc26_signwithdigest_gost3410_2012_512 949 949id_tc26_signwithdigest_gost3410_2012_512 949
950X25519 950
951X448 951
952Ed25519 952
953Ed448 953
954Ed25519ph 954
955Ed448ph 955
diff --git a/src/lib/libcrypto/objects/objects.txt b/src/lib/libcrypto/objects/objects.txt
index 1ce73cc984..d7b2d39e51 100644
--- a/src/lib/libcrypto/objects/objects.txt
+++ b/src/lib/libcrypto/objects/objects.txt
@@ -1313,6 +1313,7 @@ brainpool 1 14 : brainpoolP512t1
1313# ChaCha Stream Cipher 1313# ChaCha Stream Cipher
1314!Cname chacha20 1314!Cname chacha20
1315 : ChaCha : chacha 1315 : ChaCha : chacha
1316
1316 : gost89-ecb 1317 : gost89-ecb
1317 : gost89-cbc 1318 : gost89-cbc
1318 1319
@@ -1328,3 +1329,11 @@ tc26 1 1 1 : id-tc26-gost3410-2012-256 : GOST R 34.10-2012 (256 bit)
1328tc26 1 1 2 : id-tc26-gost3410-2012-512 : GOST R 34.10-2012 (512 bit) 1329tc26 1 1 2 : id-tc26-gost3410-2012-512 : GOST R 34.10-2012 (512 bit)
1329tc26 1 3 2 : id-tc26-signwithdigest-gost3410-2012-256 : GOST R 34.11-2012 with GOST R 34.10-2012 (256 bit) 1330tc26 1 3 2 : id-tc26-signwithdigest-gost3410-2012-256 : GOST R 34.11-2012 with GOST R 34.10-2012 (256 bit)
1330tc26 1 3 3 : id-tc26-signwithdigest-gost3410-2012-512 : GOST R 34.11-2012 with GOST R 34.10-2012 (512 bit) 1331tc26 1 3 3 : id-tc26-signwithdigest-gost3410-2012-512 : GOST R 34.11-2012 with GOST R 34.10-2012 (512 bit)
1332
1333# Curves from draft-ietf-curdle-pkix-02
13341 3 101 110 : X25519
13351 3 101 111 : X448
13361 3 101 112 : Ed25519
13371 3 101 113 : Ed448
13381 3 101 114 : Ed25519ph
13391 3 101 115 : Ed448ph