summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/objects')
-rw-r--r--src/lib/libcrypto/objects/obj_dat.pl4
-rw-r--r--src/lib/libcrypto/objects/obj_mac.num68
-rw-r--r--src/lib/libcrypto/objects/objects.txt108
3 files changed, 178 insertions, 2 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.pl b/src/lib/libcrypto/objects/obj_dat.pl
index 8a09a46ee6..7de2f77afd 100644
--- a/src/lib/libcrypto/objects/obj_dat.pl
+++ b/src/lib/libcrypto/objects/obj_dat.pl
@@ -2,7 +2,9 @@
2 2
3# fixes bug in floating point emulation on sparc64 when 3# fixes bug in floating point emulation on sparc64 when
4# this script produces off-by-one output on sparc64 4# this script produces off-by-one output on sparc64
5use integer; 5eval 'use integer;';
6
7print STDERR "Warning: perl module integer not found.\n" if ($@);
6 8
7sub obj_cmp 9sub obj_cmp
8 { 10 {
diff --git a/src/lib/libcrypto/objects/obj_mac.num b/src/lib/libcrypto/objects/obj_mac.num
index 47815b1e4e..e3f56bc52c 100644
--- a/src/lib/libcrypto/objects/obj_mac.num
+++ b/src/lib/libcrypto/objects/obj_mac.num
@@ -788,3 +788,71 @@ id_ct_asciiTextWithCRLF 787
788id_aes128_wrap 788 788id_aes128_wrap 788
789id_aes192_wrap 789 789id_aes192_wrap 789
790id_aes256_wrap 790 790id_aes256_wrap 790
791ecdsa_with_Recommended 791
792ecdsa_with_Specified 792
793ecdsa_with_SHA224 793
794ecdsa_with_SHA256 794
795ecdsa_with_SHA384 795
796ecdsa_with_SHA512 796
797hmacWithMD5 797
798hmacWithSHA224 798
799hmacWithSHA256 799
800hmacWithSHA384 800
801hmacWithSHA512 801
802dsa_with_SHA224 802
803dsa_with_SHA256 803
804whirlpool 804
805cryptopro 805
806cryptocom 806
807id_GostR3411_94_with_GostR3410_2001 807
808id_GostR3411_94_with_GostR3410_94 808
809id_GostR3411_94 809
810id_HMACGostR3411_94 810
811id_GostR3410_2001 811
812id_GostR3410_94 812
813id_Gost28147_89 813
814gost89_cnt 814
815id_Gost28147_89_MAC 815
816id_GostR3411_94_prf 816
817id_GostR3410_2001DH 817
818id_GostR3410_94DH 818
819id_Gost28147_89_CryptoPro_KeyMeshing 819
820id_Gost28147_89_None_KeyMeshing 820
821id_GostR3411_94_TestParamSet 821
822id_GostR3411_94_CryptoProParamSet 822
823id_Gost28147_89_TestParamSet 823
824id_Gost28147_89_CryptoPro_A_ParamSet 824
825id_Gost28147_89_CryptoPro_B_ParamSet 825
826id_Gost28147_89_CryptoPro_C_ParamSet 826
827id_Gost28147_89_CryptoPro_D_ParamSet 827
828id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet 828
829id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet 829
830id_Gost28147_89_CryptoPro_RIC_1_ParamSet 830
831id_GostR3410_94_TestParamSet 831
832id_GostR3410_94_CryptoPro_A_ParamSet 832
833id_GostR3410_94_CryptoPro_B_ParamSet 833
834id_GostR3410_94_CryptoPro_C_ParamSet 834
835id_GostR3410_94_CryptoPro_D_ParamSet 835
836id_GostR3410_94_CryptoPro_XchA_ParamSet 836
837id_GostR3410_94_CryptoPro_XchB_ParamSet 837
838id_GostR3410_94_CryptoPro_XchC_ParamSet 838
839id_GostR3410_2001_TestParamSet 839
840id_GostR3410_2001_CryptoPro_A_ParamSet 840
841id_GostR3410_2001_CryptoPro_B_ParamSet 841
842id_GostR3410_2001_CryptoPro_C_ParamSet 842
843id_GostR3410_2001_CryptoPro_XchA_ParamSet 843
844id_GostR3410_2001_CryptoPro_XchB_ParamSet 844
845id_GostR3410_94_a 845
846id_GostR3410_94_aBis 846
847id_GostR3410_94_b 847
848id_GostR3410_94_bBis 848
849id_Gost28147_89_cc 849
850id_GostR3410_94_cc 850
851id_GostR3410_2001_cc 851
852id_GostR3411_94_with_GostR3410_94_cc 852
853id_GostR3411_94_with_GostR3410_2001_cc 853
854id_GostR3410_2001_ParamSet_cc 854
855hmac 855
856LocalKeySet 856
857freshest_crl 857
858id_on_permanentIdentifier 858
diff --git a/src/lib/libcrypto/objects/objects.txt b/src/lib/libcrypto/objects/objects.txt
index 34c8d1d647..a6a811b8e7 100644
--- a/src/lib/libcrypto/objects/objects.txt
+++ b/src/lib/libcrypto/objects/objects.txt
@@ -79,6 +79,12 @@ X9-62_primeCurve 7 : prime256v1
79!Alias id-ecSigType ansi-X9-62 4 79!Alias id-ecSigType ansi-X9-62 4
80!global 80!global
81X9-62_id-ecSigType 1 : ecdsa-with-SHA1 81X9-62_id-ecSigType 1 : ecdsa-with-SHA1
82X9-62_id-ecSigType 2 : ecdsa-with-Recommended
83X9-62_id-ecSigType 3 : ecdsa-with-Specified
84ecdsa-with-Specified 1 : ecdsa-with-SHA224
85ecdsa-with-Specified 2 : ecdsa-with-SHA256
86ecdsa-with-Specified 3 : ecdsa-with-SHA384
87ecdsa-with-Specified 4 : ecdsa-with-SHA512
82 88
83# SECG curve OIDs from "SEC 2: Recommended Elliptic Curve Domain Parameters" 89# SECG curve OIDs from "SEC 2: Recommended Elliptic Curve Domain Parameters"
84# (http://www.secg.org/) 90# (http://www.secg.org/)
@@ -313,6 +319,7 @@ pkcs9 20 : : friendlyName
313pkcs9 21 : : localKeyID 319pkcs9 21 : : localKeyID
314!Cname ms-csp-name 320!Cname ms-csp-name
3151 3 6 1 4 1 311 17 1 : CSPName : Microsoft CSP Name 3211 3 6 1 4 1 311 17 1 : CSPName : Microsoft CSP Name
3221 3 6 1 4 1 311 17 2 : LocalKeySet : Microsoft Local Key set
316!Alias certTypes pkcs9 22 323!Alias certTypes pkcs9 22
317certTypes 1 : : x509Certificate 324certTypes 1 : : x509Certificate
318certTypes 2 : : sdsiCertificate 325certTypes 2 : : sdsiCertificate
@@ -348,7 +355,15 @@ rsadsi 2 2 : MD2 : md2
348rsadsi 2 4 : MD4 : md4 355rsadsi 2 4 : MD4 : md4
349rsadsi 2 5 : MD5 : md5 356rsadsi 2 5 : MD5 : md5
350 : MD5-SHA1 : md5-sha1 357 : MD5-SHA1 : md5-sha1
358rsadsi 2 6 : : hmacWithMD5
351rsadsi 2 7 : : hmacWithSHA1 359rsadsi 2 7 : : hmacWithSHA1
360
361# From RFC4231
362rsadsi 2 8 : : hmacWithSHA224
363rsadsi 2 9 : : hmacWithSHA256
364rsadsi 2 10 : : hmacWithSHA384
365rsadsi 2 11 : : hmacWithSHA512
366
352rsadsi 3 2 : RC2-CBC : rc2-cbc 367rsadsi 3 2 : RC2-CBC : rc2-cbc
353 : RC2-ECB : rc2-ecb 368 : RC2-ECB : rc2-ecb
354!Cname rc2-cfb64 369!Cname rc2-cfb64
@@ -542,6 +557,7 @@ id-cmc 24 : id-cmc-confirmCertAcceptance
542 557
543# other names 558# other names
544id-on 1 : id-on-personalData 559id-on 1 : id-on-personalData
560id-on 3 : id-on-permanentIdentifier : Permanent Identifier
545 561
546# personal data attributes 562# personal data attributes
547id-pda 1 : id-pda-dateOfBirth 563id-pda 1 : id-pda-dateOfBirth
@@ -711,6 +727,8 @@ id-ce 35 : authorityKeyIdentifier : X509v3 Authority Key Identifier
711id-ce 36 : policyConstraints : X509v3 Policy Constraints 727id-ce 36 : policyConstraints : X509v3 Policy Constraints
712!Cname ext-key-usage 728!Cname ext-key-usage
713id-ce 37 : extendedKeyUsage : X509v3 Extended Key Usage 729id-ce 37 : extendedKeyUsage : X509v3 Extended Key Usage
730!Cname freshest-crl
731id-ce 46 : freshestCRL : X509v3 Freshest CRL
714!Cname inhibit-any-policy 732!Cname inhibit-any-policy
715id-ce 54 : inhibitAnyPolicy : X509v3 Inhibit Any Policy 733id-ce 54 : inhibitAnyPolicy : X509v3 Inhibit Any Policy
716!Cname target-information 734!Cname target-information
@@ -833,6 +851,11 @@ nist_hashalgs 2 : SHA384 : sha384
833nist_hashalgs 3 : SHA512 : sha512 851nist_hashalgs 3 : SHA512 : sha512
834nist_hashalgs 4 : SHA224 : sha224 852nist_hashalgs 4 : SHA224 : sha224
835 853
854# OIDs for dsa-with-sha224 and dsa-with-sha256
855!Alias dsa_with_sha2 nistAlgorithms 3
856dsa_with_sha2 1 : dsa_with_SHA224
857dsa_with_sha2 2 : dsa_with_SHA256
858
836# Hold instruction CRL entry extension 859# Hold instruction CRL entry extension
837!Cname hold-instruction-code 860!Cname hold-instruction-code
838id-ce 23 : holdInstructionCode : Hold Instruction Code 861id-ce 23 : holdInstructionCode : Hold Instruction Code
@@ -1070,13 +1093,93 @@ rsadsi 1 1 6 : rsaOAEPEncryptionSET
1070 : Oakley-EC2N-3 : ipsec3 1093 : Oakley-EC2N-3 : ipsec3
1071 : Oakley-EC2N-4 : ipsec4 1094 : Oakley-EC2N-4 : ipsec4
1072 1095
1096iso 0 10118 3 0 55 : whirlpool
1097
1098# GOST OIDs
1099
1100member-body 643 2 2 : cryptopro
1101member-body 643 2 9 : cryptocom
1102
1103cryptopro 3 : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001
1104cryptopro 4 : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94
1105!Cname id-GostR3411-94
1106cryptopro 9 : md_gost94 : GOST R 34.11-94
1107cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94
1108!Cname id-GostR3410-2001
1109cryptopro 19 : gost2001 : GOST R 34.10-2001
1110!Cname id-GostR3410-94
1111cryptopro 20 : gost94 : GOST R 34.10-94
1112!Cname id-Gost28147-89
1113cryptopro 21 : gost89 : GOST 28147-89
1114 : gost89-cnt
1115!Cname id-Gost28147-89-MAC
1116cryptopro 22 : gost-mac : GOST 28147-89 MAC
1117!Cname id-GostR3411-94-prf
1118cryptopro 23 : prf-gostr3411-94 : GOST R 34.11-94 PRF
1119cryptopro 98 : id-GostR3410-2001DH : GOST R 34.10-2001 DH
1120cryptopro 99 : id-GostR3410-94DH : GOST R 34.10-94 DH
1121
1122cryptopro 14 1 : id-Gost28147-89-CryptoPro-KeyMeshing
1123cryptopro 14 0 : id-Gost28147-89-None-KeyMeshing
1124
1125# GOST parameter set OIDs
1126
1127cryptopro 30 0 : id-GostR3411-94-TestParamSet
1128cryptopro 30 1 : id-GostR3411-94-CryptoProParamSet
1129
1130cryptopro 31 0 : id-Gost28147-89-TestParamSet
1131cryptopro 31 1 : id-Gost28147-89-CryptoPro-A-ParamSet
1132cryptopro 31 2 : id-Gost28147-89-CryptoPro-B-ParamSet
1133cryptopro 31 3 : id-Gost28147-89-CryptoPro-C-ParamSet
1134cryptopro 31 4 : id-Gost28147-89-CryptoPro-D-ParamSet
1135cryptopro 31 5 : id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet
1136cryptopro 31 6 : id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet
1137cryptopro 31 7 : id-Gost28147-89-CryptoPro-RIC-1-ParamSet
1138
1139cryptopro 32 0 : id-GostR3410-94-TestParamSet
1140cryptopro 32 2 : id-GostR3410-94-CryptoPro-A-ParamSet
1141cryptopro 32 3 : id-GostR3410-94-CryptoPro-B-ParamSet
1142cryptopro 32 4 : id-GostR3410-94-CryptoPro-C-ParamSet
1143cryptopro 32 5 : id-GostR3410-94-CryptoPro-D-ParamSet
1144
1145cryptopro 33 1 : id-GostR3410-94-CryptoPro-XchA-ParamSet
1146cryptopro 33 2 : id-GostR3410-94-CryptoPro-XchB-ParamSet
1147cryptopro 33 3 : id-GostR3410-94-CryptoPro-XchC-ParamSet
1148
1149cryptopro 35 0 : id-GostR3410-2001-TestParamSet
1150cryptopro 35 1 : id-GostR3410-2001-CryptoPro-A-ParamSet
1151cryptopro 35 2 : id-GostR3410-2001-CryptoPro-B-ParamSet
1152cryptopro 35 3 : id-GostR3410-2001-CryptoPro-C-ParamSet
1153
1154cryptopro 36 0 : id-GostR3410-2001-CryptoPro-XchA-ParamSet
1155cryptopro 36 1 : id-GostR3410-2001-CryptoPro-XchB-ParamSet
1156
1157id-GostR3410-94 1 : id-GostR3410-94-a
1158id-GostR3410-94 2 : id-GostR3410-94-aBis
1159id-GostR3410-94 3 : id-GostR3410-94-b
1160id-GostR3410-94 4 : id-GostR3410-94-bBis
1161
1162# Cryptocom LTD GOST OIDs
1163
1164cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom ParamSet
1165!Cname id-GostR3410-94-cc
1166cryptocom 1 5 3 : gost94cc : GOST 34.10-94 Cryptocom
1167!Cname id-GostR3410-2001-cc
1168cryptocom 1 5 4 : gost2001cc : GOST 34.10-2001 Cryptocom
1169
1170cryptocom 1 3 3 : id-GostR3411-94-with-GostR3410-94-cc : GOST R 34.11-94 with GOST R 34.10-94 Cryptocom
1171cryptocom 1 3 4 : id-GostR3411-94-with-GostR3410-2001-cc : GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom
1172
1173cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom
1073 1174
1074# Definitions for Camellia cipher - CBC MODE 1175# Definitions for Camellia cipher - CBC MODE
1176
10751 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc 11771 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc
10761 2 392 200011 61 1 1 1 3 : CAMELLIA-192-CBC : camellia-192-cbc 11781 2 392 200011 61 1 1 1 3 : CAMELLIA-192-CBC : camellia-192-cbc
10771 2 392 200011 61 1 1 1 4 : CAMELLIA-256-CBC : camellia-256-cbc 11791 2 392 200011 61 1 1 1 4 : CAMELLIA-256-CBC : camellia-256-cbc
1078 1180
1079# Definitions for Camellia cipher - ECB, CFB, OFB MODE 1181# Definitions for Camellia cipher - ECB, CFB, OFB MODE
1182
1080!Alias ntt-ds 0 3 4401 5 1183!Alias ntt-ds 0 3 4401 5
1081!Alias camellia ntt-ds 3 1 9 1184!Alias camellia ntt-ds 3 1 9
1082 1185
@@ -1107,7 +1210,6 @@ camellia 44 : CAMELLIA-256-CFB : camellia-256-cfb
1107 : CAMELLIA-192-CFB8 : camellia-192-cfb8 1210 : CAMELLIA-192-CFB8 : camellia-192-cfb8
1108 : CAMELLIA-256-CFB8 : camellia-256-cfb8 1211 : CAMELLIA-256-CFB8 : camellia-256-cfb8
1109 1212
1110
1111# Definitions for SEED cipher - ECB, CBC, OFB mode 1213# Definitions for SEED cipher - ECB, CBC, OFB mode
1112 1214
1113member-body 410 200004 : KISA : kisa 1215member-body 410 200004 : KISA : kisa
@@ -1117,3 +1219,7 @@ kisa 1 4 : SEED-CBC : seed-cbc
1117kisa 1 5 : SEED-CFB : seed-cfb 1219kisa 1 5 : SEED-CFB : seed-cfb
1118!Cname seed-ofb128 1220!Cname seed-ofb128
1119kisa 1 6 : SEED-OFB : seed-ofb 1221kisa 1 6 : SEED-OFB : seed-ofb
1222
1223# There is no OID that just denotes "HMAC" oddly enough...
1224
1225 : HMAC : hmac