diff options
| author | djm <> | 2009-01-09 12:14:11 +0000 |
|---|---|---|
| committer | djm <> | 2009-01-09 12:14:11 +0000 |
| commit | a0fdc9ec41594852f67ec77dfad9cb06bacc4186 (patch) | |
| tree | c43f6b3a4d93ad2cb3dcf93275295679d895a033 /src/lib/libcrypto/objects | |
| parent | 5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80 (diff) | |
| download | openbsd-a0fdc9ec41594852f67ec77dfad9cb06bacc4186.tar.gz openbsd-a0fdc9ec41594852f67ec77dfad9cb06bacc4186.tar.bz2 openbsd-a0fdc9ec41594852f67ec77dfad9cb06bacc4186.zip | |
import openssl-0.9.8j
Diffstat (limited to 'src/lib/libcrypto/objects')
| -rw-r--r-- | src/lib/libcrypto/objects/obj_dat.pl | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/obj_mac.num | 68 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/objects.txt | 108 |
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 |
| 5 | use integer; | 5 | eval 'use integer;'; |
| 6 | |||
| 7 | print STDERR "Warning: perl module integer not found.\n" if ($@); | ||
| 6 | 8 | ||
| 7 | sub obj_cmp | 9 | sub 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 | |||
| 788 | id_aes128_wrap 788 | 788 | id_aes128_wrap 788 |
| 789 | id_aes192_wrap 789 | 789 | id_aes192_wrap 789 |
| 790 | id_aes256_wrap 790 | 790 | id_aes256_wrap 790 |
| 791 | ecdsa_with_Recommended 791 | ||
| 792 | ecdsa_with_Specified 792 | ||
| 793 | ecdsa_with_SHA224 793 | ||
| 794 | ecdsa_with_SHA256 794 | ||
| 795 | ecdsa_with_SHA384 795 | ||
| 796 | ecdsa_with_SHA512 796 | ||
| 797 | hmacWithMD5 797 | ||
| 798 | hmacWithSHA224 798 | ||
| 799 | hmacWithSHA256 799 | ||
| 800 | hmacWithSHA384 800 | ||
| 801 | hmacWithSHA512 801 | ||
| 802 | dsa_with_SHA224 802 | ||
| 803 | dsa_with_SHA256 803 | ||
| 804 | whirlpool 804 | ||
| 805 | cryptopro 805 | ||
| 806 | cryptocom 806 | ||
| 807 | id_GostR3411_94_with_GostR3410_2001 807 | ||
| 808 | id_GostR3411_94_with_GostR3410_94 808 | ||
| 809 | id_GostR3411_94 809 | ||
| 810 | id_HMACGostR3411_94 810 | ||
| 811 | id_GostR3410_2001 811 | ||
| 812 | id_GostR3410_94 812 | ||
| 813 | id_Gost28147_89 813 | ||
| 814 | gost89_cnt 814 | ||
| 815 | id_Gost28147_89_MAC 815 | ||
| 816 | id_GostR3411_94_prf 816 | ||
| 817 | id_GostR3410_2001DH 817 | ||
| 818 | id_GostR3410_94DH 818 | ||
| 819 | id_Gost28147_89_CryptoPro_KeyMeshing 819 | ||
| 820 | id_Gost28147_89_None_KeyMeshing 820 | ||
| 821 | id_GostR3411_94_TestParamSet 821 | ||
| 822 | id_GostR3411_94_CryptoProParamSet 822 | ||
| 823 | id_Gost28147_89_TestParamSet 823 | ||
| 824 | id_Gost28147_89_CryptoPro_A_ParamSet 824 | ||
| 825 | id_Gost28147_89_CryptoPro_B_ParamSet 825 | ||
| 826 | id_Gost28147_89_CryptoPro_C_ParamSet 826 | ||
| 827 | id_Gost28147_89_CryptoPro_D_ParamSet 827 | ||
| 828 | id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet 828 | ||
| 829 | id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet 829 | ||
| 830 | id_Gost28147_89_CryptoPro_RIC_1_ParamSet 830 | ||
| 831 | id_GostR3410_94_TestParamSet 831 | ||
| 832 | id_GostR3410_94_CryptoPro_A_ParamSet 832 | ||
| 833 | id_GostR3410_94_CryptoPro_B_ParamSet 833 | ||
| 834 | id_GostR3410_94_CryptoPro_C_ParamSet 834 | ||
| 835 | id_GostR3410_94_CryptoPro_D_ParamSet 835 | ||
| 836 | id_GostR3410_94_CryptoPro_XchA_ParamSet 836 | ||
| 837 | id_GostR3410_94_CryptoPro_XchB_ParamSet 837 | ||
| 838 | id_GostR3410_94_CryptoPro_XchC_ParamSet 838 | ||
| 839 | id_GostR3410_2001_TestParamSet 839 | ||
| 840 | id_GostR3410_2001_CryptoPro_A_ParamSet 840 | ||
| 841 | id_GostR3410_2001_CryptoPro_B_ParamSet 841 | ||
| 842 | id_GostR3410_2001_CryptoPro_C_ParamSet 842 | ||
| 843 | id_GostR3410_2001_CryptoPro_XchA_ParamSet 843 | ||
| 844 | id_GostR3410_2001_CryptoPro_XchB_ParamSet 844 | ||
| 845 | id_GostR3410_94_a 845 | ||
| 846 | id_GostR3410_94_aBis 846 | ||
| 847 | id_GostR3410_94_b 847 | ||
| 848 | id_GostR3410_94_bBis 848 | ||
| 849 | id_Gost28147_89_cc 849 | ||
| 850 | id_GostR3410_94_cc 850 | ||
| 851 | id_GostR3410_2001_cc 851 | ||
| 852 | id_GostR3411_94_with_GostR3410_94_cc 852 | ||
| 853 | id_GostR3411_94_with_GostR3410_2001_cc 853 | ||
| 854 | id_GostR3410_2001_ParamSet_cc 854 | ||
| 855 | hmac 855 | ||
| 856 | LocalKeySet 856 | ||
| 857 | freshest_crl 857 | ||
| 858 | id_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 |
| 81 | X9-62_id-ecSigType 1 : ecdsa-with-SHA1 | 81 | X9-62_id-ecSigType 1 : ecdsa-with-SHA1 |
| 82 | X9-62_id-ecSigType 2 : ecdsa-with-Recommended | ||
| 83 | X9-62_id-ecSigType 3 : ecdsa-with-Specified | ||
| 84 | ecdsa-with-Specified 1 : ecdsa-with-SHA224 | ||
| 85 | ecdsa-with-Specified 2 : ecdsa-with-SHA256 | ||
| 86 | ecdsa-with-Specified 3 : ecdsa-with-SHA384 | ||
| 87 | ecdsa-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 | |||
| 313 | pkcs9 21 : : localKeyID | 319 | pkcs9 21 : : localKeyID |
| 314 | !Cname ms-csp-name | 320 | !Cname ms-csp-name |
| 315 | 1 3 6 1 4 1 311 17 1 : CSPName : Microsoft CSP Name | 321 | 1 3 6 1 4 1 311 17 1 : CSPName : Microsoft CSP Name |
| 322 | 1 3 6 1 4 1 311 17 2 : LocalKeySet : Microsoft Local Key set | ||
| 316 | !Alias certTypes pkcs9 22 | 323 | !Alias certTypes pkcs9 22 |
| 317 | certTypes 1 : : x509Certificate | 324 | certTypes 1 : : x509Certificate |
| 318 | certTypes 2 : : sdsiCertificate | 325 | certTypes 2 : : sdsiCertificate |
| @@ -348,7 +355,15 @@ rsadsi 2 2 : MD2 : md2 | |||
| 348 | rsadsi 2 4 : MD4 : md4 | 355 | rsadsi 2 4 : MD4 : md4 |
| 349 | rsadsi 2 5 : MD5 : md5 | 356 | rsadsi 2 5 : MD5 : md5 |
| 350 | : MD5-SHA1 : md5-sha1 | 357 | : MD5-SHA1 : md5-sha1 |
| 358 | rsadsi 2 6 : : hmacWithMD5 | ||
| 351 | rsadsi 2 7 : : hmacWithSHA1 | 359 | rsadsi 2 7 : : hmacWithSHA1 |
| 360 | |||
| 361 | # From RFC4231 | ||
| 362 | rsadsi 2 8 : : hmacWithSHA224 | ||
| 363 | rsadsi 2 9 : : hmacWithSHA256 | ||
| 364 | rsadsi 2 10 : : hmacWithSHA384 | ||
| 365 | rsadsi 2 11 : : hmacWithSHA512 | ||
| 366 | |||
| 352 | rsadsi 3 2 : RC2-CBC : rc2-cbc | 367 | rsadsi 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 |
| 544 | id-on 1 : id-on-personalData | 559 | id-on 1 : id-on-personalData |
| 560 | id-on 3 : id-on-permanentIdentifier : Permanent Identifier | ||
| 545 | 561 | ||
| 546 | # personal data attributes | 562 | # personal data attributes |
| 547 | id-pda 1 : id-pda-dateOfBirth | 563 | id-pda 1 : id-pda-dateOfBirth |
| @@ -711,6 +727,8 @@ id-ce 35 : authorityKeyIdentifier : X509v3 Authority Key Identifier | |||
| 711 | id-ce 36 : policyConstraints : X509v3 Policy Constraints | 727 | id-ce 36 : policyConstraints : X509v3 Policy Constraints |
| 712 | !Cname ext-key-usage | 728 | !Cname ext-key-usage |
| 713 | id-ce 37 : extendedKeyUsage : X509v3 Extended Key Usage | 729 | id-ce 37 : extendedKeyUsage : X509v3 Extended Key Usage |
| 730 | !Cname freshest-crl | ||
| 731 | id-ce 46 : freshestCRL : X509v3 Freshest CRL | ||
| 714 | !Cname inhibit-any-policy | 732 | !Cname inhibit-any-policy |
| 715 | id-ce 54 : inhibitAnyPolicy : X509v3 Inhibit Any Policy | 733 | id-ce 54 : inhibitAnyPolicy : X509v3 Inhibit Any Policy |
| 716 | !Cname target-information | 734 | !Cname target-information |
| @@ -833,6 +851,11 @@ nist_hashalgs 2 : SHA384 : sha384 | |||
| 833 | nist_hashalgs 3 : SHA512 : sha512 | 851 | nist_hashalgs 3 : SHA512 : sha512 |
| 834 | nist_hashalgs 4 : SHA224 : sha224 | 852 | nist_hashalgs 4 : SHA224 : sha224 |
| 835 | 853 | ||
| 854 | # OIDs for dsa-with-sha224 and dsa-with-sha256 | ||
| 855 | !Alias dsa_with_sha2 nistAlgorithms 3 | ||
| 856 | dsa_with_sha2 1 : dsa_with_SHA224 | ||
| 857 | dsa_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 |
| 838 | id-ce 23 : holdInstructionCode : Hold Instruction Code | 861 | id-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 | ||
| 1096 | iso 0 10118 3 0 55 : whirlpool | ||
| 1097 | |||
| 1098 | # GOST OIDs | ||
| 1099 | |||
| 1100 | member-body 643 2 2 : cryptopro | ||
| 1101 | member-body 643 2 9 : cryptocom | ||
| 1102 | |||
| 1103 | cryptopro 3 : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001 | ||
| 1104 | cryptopro 4 : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94 | ||
| 1105 | !Cname id-GostR3411-94 | ||
| 1106 | cryptopro 9 : md_gost94 : GOST R 34.11-94 | ||
| 1107 | cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94 | ||
| 1108 | !Cname id-GostR3410-2001 | ||
| 1109 | cryptopro 19 : gost2001 : GOST R 34.10-2001 | ||
| 1110 | !Cname id-GostR3410-94 | ||
| 1111 | cryptopro 20 : gost94 : GOST R 34.10-94 | ||
| 1112 | !Cname id-Gost28147-89 | ||
| 1113 | cryptopro 21 : gost89 : GOST 28147-89 | ||
| 1114 | : gost89-cnt | ||
| 1115 | !Cname id-Gost28147-89-MAC | ||
| 1116 | cryptopro 22 : gost-mac : GOST 28147-89 MAC | ||
| 1117 | !Cname id-GostR3411-94-prf | ||
| 1118 | cryptopro 23 : prf-gostr3411-94 : GOST R 34.11-94 PRF | ||
| 1119 | cryptopro 98 : id-GostR3410-2001DH : GOST R 34.10-2001 DH | ||
| 1120 | cryptopro 99 : id-GostR3410-94DH : GOST R 34.10-94 DH | ||
| 1121 | |||
| 1122 | cryptopro 14 1 : id-Gost28147-89-CryptoPro-KeyMeshing | ||
| 1123 | cryptopro 14 0 : id-Gost28147-89-None-KeyMeshing | ||
| 1124 | |||
| 1125 | # GOST parameter set OIDs | ||
| 1126 | |||
| 1127 | cryptopro 30 0 : id-GostR3411-94-TestParamSet | ||
| 1128 | cryptopro 30 1 : id-GostR3411-94-CryptoProParamSet | ||
| 1129 | |||
| 1130 | cryptopro 31 0 : id-Gost28147-89-TestParamSet | ||
| 1131 | cryptopro 31 1 : id-Gost28147-89-CryptoPro-A-ParamSet | ||
| 1132 | cryptopro 31 2 : id-Gost28147-89-CryptoPro-B-ParamSet | ||
| 1133 | cryptopro 31 3 : id-Gost28147-89-CryptoPro-C-ParamSet | ||
| 1134 | cryptopro 31 4 : id-Gost28147-89-CryptoPro-D-ParamSet | ||
| 1135 | cryptopro 31 5 : id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet | ||
| 1136 | cryptopro 31 6 : id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet | ||
| 1137 | cryptopro 31 7 : id-Gost28147-89-CryptoPro-RIC-1-ParamSet | ||
| 1138 | |||
| 1139 | cryptopro 32 0 : id-GostR3410-94-TestParamSet | ||
| 1140 | cryptopro 32 2 : id-GostR3410-94-CryptoPro-A-ParamSet | ||
| 1141 | cryptopro 32 3 : id-GostR3410-94-CryptoPro-B-ParamSet | ||
| 1142 | cryptopro 32 4 : id-GostR3410-94-CryptoPro-C-ParamSet | ||
| 1143 | cryptopro 32 5 : id-GostR3410-94-CryptoPro-D-ParamSet | ||
| 1144 | |||
| 1145 | cryptopro 33 1 : id-GostR3410-94-CryptoPro-XchA-ParamSet | ||
| 1146 | cryptopro 33 2 : id-GostR3410-94-CryptoPro-XchB-ParamSet | ||
| 1147 | cryptopro 33 3 : id-GostR3410-94-CryptoPro-XchC-ParamSet | ||
| 1148 | |||
| 1149 | cryptopro 35 0 : id-GostR3410-2001-TestParamSet | ||
| 1150 | cryptopro 35 1 : id-GostR3410-2001-CryptoPro-A-ParamSet | ||
| 1151 | cryptopro 35 2 : id-GostR3410-2001-CryptoPro-B-ParamSet | ||
| 1152 | cryptopro 35 3 : id-GostR3410-2001-CryptoPro-C-ParamSet | ||
| 1153 | |||
| 1154 | cryptopro 36 0 : id-GostR3410-2001-CryptoPro-XchA-ParamSet | ||
| 1155 | cryptopro 36 1 : id-GostR3410-2001-CryptoPro-XchB-ParamSet | ||
| 1156 | |||
| 1157 | id-GostR3410-94 1 : id-GostR3410-94-a | ||
| 1158 | id-GostR3410-94 2 : id-GostR3410-94-aBis | ||
| 1159 | id-GostR3410-94 3 : id-GostR3410-94-b | ||
| 1160 | id-GostR3410-94 4 : id-GostR3410-94-bBis | ||
| 1161 | |||
| 1162 | # Cryptocom LTD GOST OIDs | ||
| 1163 | |||
| 1164 | cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom ParamSet | ||
| 1165 | !Cname id-GostR3410-94-cc | ||
| 1166 | cryptocom 1 5 3 : gost94cc : GOST 34.10-94 Cryptocom | ||
| 1167 | !Cname id-GostR3410-2001-cc | ||
| 1168 | cryptocom 1 5 4 : gost2001cc : GOST 34.10-2001 Cryptocom | ||
| 1169 | |||
| 1170 | cryptocom 1 3 3 : id-GostR3411-94-with-GostR3410-94-cc : GOST R 34.11-94 with GOST R 34.10-94 Cryptocom | ||
| 1171 | cryptocom 1 3 4 : id-GostR3411-94-with-GostR3410-2001-cc : GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom | ||
| 1172 | |||
| 1173 | cryptocom 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 | |||
| 1075 | 1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc | 1177 | 1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc |
| 1076 | 1 2 392 200011 61 1 1 1 3 : CAMELLIA-192-CBC : camellia-192-cbc | 1178 | 1 2 392 200011 61 1 1 1 3 : CAMELLIA-192-CBC : camellia-192-cbc |
| 1077 | 1 2 392 200011 61 1 1 1 4 : CAMELLIA-256-CBC : camellia-256-cbc | 1179 | 1 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 | ||
| 1113 | member-body 410 200004 : KISA : kisa | 1215 | member-body 410 200004 : KISA : kisa |
| @@ -1117,3 +1219,7 @@ kisa 1 4 : SEED-CBC : seed-cbc | |||
| 1117 | kisa 1 5 : SEED-CFB : seed-cfb | 1219 | kisa 1 5 : SEED-CFB : seed-cfb |
| 1118 | !Cname seed-ofb128 | 1220 | !Cname seed-ofb128 |
| 1119 | kisa 1 6 : SEED-OFB : seed-ofb | 1221 | kisa 1 6 : SEED-OFB : seed-ofb |
| 1222 | |||
| 1223 | # There is no OID that just denotes "HMAC" oddly enough... | ||
| 1224 | |||
| 1225 | : HMAC : hmac | ||
