diff options
| author | cvs2svn <admin@example.com> | 2025-04-14 17:32:06 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2025-04-14 17:32:06 +0000 |
| commit | b1ddde874c215cc8891531ed92876f091b7eb83e (patch) | |
| tree | edb6da6af7e865d488dc1a29309f1e1ec226e603 /src/lib/libcrypto/objects | |
| parent | f0a36529837a161734c802ae4c42e84e42347be2 (diff) | |
| download | openbsd-tb_20250414.tar.gz openbsd-tb_20250414.tar.bz2 openbsd-tb_20250414.zip | |
This commit was manufactured by cvs2git to create tag 'tb_20250414'.tb_20250414
Diffstat (limited to 'src/lib/libcrypto/objects')
| -rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 584 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/obj_dat.pl | 307 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/obj_err.c | 93 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/obj_lib.c | 135 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/obj_mac.num | 1055 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/obj_xref.c | 332 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/objects.README | 44 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/objects.h | 137 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/objects.pl | 233 | ||||
| -rw-r--r-- | src/lib/libcrypto/objects/objects.txt | 1479 |
10 files changed, 0 insertions, 4399 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c deleted file mode 100644 index 2f4012fe15..0000000000 --- a/src/lib/libcrypto/objects/obj_dat.c +++ /dev/null | |||
| @@ -1,584 +0,0 @@ | |||
| 1 | /* $OpenBSD: obj_dat.c,v 1.94 2025/02/26 10:48:25 tb Exp $ */ | ||
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
| 3 | * All rights reserved. | ||
| 4 | * | ||
| 5 | * This package is an SSL implementation written | ||
| 6 | * by Eric Young (eay@cryptsoft.com). | ||
| 7 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 8 | * | ||
| 9 | * This library is free for commercial and non-commercial use as long as | ||
| 10 | * the following conditions are aheared to. The following conditions | ||
| 11 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 13 | * included with this distribution is covered by the same copyright terms | ||
| 14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 15 | * | ||
| 16 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 17 | * the code are not to be removed. | ||
| 18 | * If this package is used in a product, Eric Young should be given attribution | ||
| 19 | * as the author of the parts of the library used. | ||
| 20 | * This can be in the form of a textual message at program startup or | ||
| 21 | * in documentation (online or textual) provided with the package. | ||
| 22 | * | ||
| 23 | * Redistribution and use in source and binary forms, with or without | ||
| 24 | * modification, are permitted provided that the following conditions | ||
| 25 | * are met: | ||
| 26 | * 1. Redistributions of source code must retain the copyright | ||
| 27 | * notice, this list of conditions and the following disclaimer. | ||
| 28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 29 | * notice, this list of conditions and the following disclaimer in the | ||
| 30 | * documentation and/or other materials provided with the distribution. | ||
| 31 | * 3. All advertising materials mentioning features or use of this software | ||
| 32 | * must display the following acknowledgement: | ||
| 33 | * "This product includes cryptographic software written by | ||
| 34 | * Eric Young (eay@cryptsoft.com)" | ||
| 35 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 36 | * being used are not cryptographic related :-). | ||
| 37 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 38 | * the apps directory (application code) you must include an acknowledgement: | ||
| 39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 40 | * | ||
| 41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 51 | * SUCH DAMAGE. | ||
| 52 | * | ||
| 53 | * The licence and distribution terms for any publically available version or | ||
| 54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 55 | * copied and put under another distribution licence | ||
| 56 | * [including the GNU Public Licence.] | ||
| 57 | */ | ||
| 58 | |||
| 59 | #include <ctype.h> | ||
| 60 | #include <limits.h> | ||
| 61 | #include <stdio.h> | ||
| 62 | #include <stdlib.h> | ||
| 63 | #include <string.h> | ||
| 64 | |||
| 65 | #include <openssl/opensslconf.h> | ||
| 66 | |||
| 67 | #include <openssl/asn1.h> | ||
| 68 | #include <openssl/bn.h> | ||
| 69 | #include <openssl/err.h> | ||
| 70 | #include <openssl/lhash.h> | ||
| 71 | #include <openssl/objects.h> | ||
| 72 | |||
| 73 | #include "asn1_local.h" | ||
| 74 | |||
| 75 | /* obj_dat.h is generated from objects.h by obj_dat.pl */ | ||
| 76 | #include "obj_dat.h" | ||
| 77 | |||
| 78 | #define ADDED_DATA 0 | ||
| 79 | #define ADDED_SNAME 1 | ||
| 80 | #define ADDED_LNAME 2 | ||
| 81 | #define ADDED_NID 3 | ||
| 82 | |||
| 83 | typedef struct added_obj_st { | ||
| 84 | int type; | ||
| 85 | ASN1_OBJECT *obj; | ||
| 86 | } ADDED_OBJ; | ||
| 87 | DECLARE_LHASH_OF(ADDED_OBJ); | ||
| 88 | |||
| 89 | static int new_nid = NUM_NID; | ||
| 90 | static LHASH_OF(ADDED_OBJ) *added = NULL; | ||
| 91 | |||
| 92 | static unsigned long | ||
| 93 | added_obj_hash(const ADDED_OBJ *ca) | ||
| 94 | { | ||
| 95 | const ASN1_OBJECT *a; | ||
| 96 | int i; | ||
| 97 | unsigned long ret = 0; | ||
| 98 | unsigned char *p; | ||
| 99 | |||
| 100 | a = ca->obj; | ||
| 101 | switch (ca->type) { | ||
| 102 | case ADDED_DATA: | ||
| 103 | ret = (unsigned long)a->length << 20L; | ||
| 104 | p = (unsigned char *)a->data; | ||
| 105 | for (i = 0; i < a->length; i++) | ||
| 106 | ret ^= p[i] << ((i * 3) % 24); | ||
| 107 | break; | ||
| 108 | case ADDED_SNAME: | ||
| 109 | ret = lh_strhash(a->sn); | ||
| 110 | break; | ||
| 111 | case ADDED_LNAME: | ||
| 112 | ret = lh_strhash(a->ln); | ||
| 113 | break; | ||
| 114 | case ADDED_NID: | ||
| 115 | ret = a->nid; | ||
| 116 | break; | ||
| 117 | default: | ||
| 118 | return 0; | ||
| 119 | } | ||
| 120 | ret &= 0x3fffffffL; | ||
| 121 | ret |= (unsigned long)ca->type << 30L; | ||
| 122 | return ret; | ||
| 123 | } | ||
| 124 | static IMPLEMENT_LHASH_HASH_FN(added_obj, ADDED_OBJ) | ||
| 125 | |||
| 126 | static int | ||
| 127 | added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb) | ||
| 128 | { | ||
| 129 | const ASN1_OBJECT *a, *b; | ||
| 130 | int cmp; | ||
| 131 | |||
| 132 | if ((cmp = ca->type - cb->type) != 0) | ||
| 133 | return cmp; | ||
| 134 | |||
| 135 | a = ca->obj; | ||
| 136 | b = cb->obj; | ||
| 137 | switch (ca->type) { | ||
| 138 | case ADDED_DATA: | ||
| 139 | return OBJ_cmp(a, b); | ||
| 140 | case ADDED_SNAME: | ||
| 141 | if (a->sn == NULL) | ||
| 142 | return -1; | ||
| 143 | if (b->sn == NULL) | ||
| 144 | return 1; | ||
| 145 | return strcmp(a->sn, b->sn); | ||
| 146 | case ADDED_LNAME: | ||
| 147 | if (a->ln == NULL) | ||
| 148 | return -1; | ||
| 149 | if (b->ln == NULL) | ||
| 150 | return 1; | ||
| 151 | return strcmp(a->ln, b->ln); | ||
| 152 | case ADDED_NID: | ||
| 153 | return a->nid - b->nid; | ||
| 154 | default: | ||
| 155 | return 0; | ||
| 156 | } | ||
| 157 | } | ||
| 158 | static IMPLEMENT_LHASH_COMP_FN(added_obj, ADDED_OBJ) | ||
| 159 | |||
| 160 | static void | ||
| 161 | cleanup1_doall(ADDED_OBJ *a) | ||
| 162 | { | ||
| 163 | a->obj->nid = 0; | ||
| 164 | a->obj->flags |= ASN1_OBJECT_FLAG_DYNAMIC | | ||
| 165 | ASN1_OBJECT_FLAG_DYNAMIC_STRINGS | | ||
| 166 | ASN1_OBJECT_FLAG_DYNAMIC_DATA; | ||
| 167 | } | ||
| 168 | |||
| 169 | static void | ||
| 170 | cleanup2_doall(ADDED_OBJ *a) | ||
| 171 | { | ||
| 172 | a->obj->nid++; | ||
| 173 | } | ||
| 174 | |||
| 175 | static void | ||
| 176 | cleanup3_doall(ADDED_OBJ *a) | ||
| 177 | { | ||
| 178 | if (--a->obj->nid == 0) | ||
| 179 | ASN1_OBJECT_free(a->obj); | ||
| 180 | free(a); | ||
| 181 | } | ||
| 182 | |||
| 183 | static IMPLEMENT_LHASH_DOALL_FN(cleanup1, ADDED_OBJ) | ||
| 184 | static IMPLEMENT_LHASH_DOALL_FN(cleanup2, ADDED_OBJ) | ||
| 185 | static IMPLEMENT_LHASH_DOALL_FN(cleanup3, ADDED_OBJ) | ||
| 186 | |||
| 187 | void | ||
| 188 | OBJ_cleanup(void) | ||
| 189 | { | ||
| 190 | if (added == NULL) | ||
| 191 | return; | ||
| 192 | |||
| 193 | lh_ADDED_OBJ_doall(added, LHASH_DOALL_FN(cleanup1)); /* zero counters */ | ||
| 194 | lh_ADDED_OBJ_doall(added, LHASH_DOALL_FN(cleanup2)); /* set counters */ | ||
| 195 | lh_ADDED_OBJ_doall(added, LHASH_DOALL_FN(cleanup3)); /* free objects */ | ||
| 196 | lh_ADDED_OBJ_free(added); | ||
| 197 | added = NULL; | ||
| 198 | } | ||
| 199 | LCRYPTO_ALIAS(OBJ_cleanup); | ||
| 200 | |||
| 201 | int | ||
| 202 | OBJ_new_nid(int num) | ||
| 203 | { | ||
| 204 | int i; | ||
| 205 | |||
| 206 | i = new_nid; | ||
| 207 | new_nid += num; | ||
| 208 | return i; | ||
| 209 | } | ||
| 210 | LCRYPTO_ALIAS(OBJ_new_nid); | ||
| 211 | |||
| 212 | static int | ||
| 213 | OBJ_add_object(const ASN1_OBJECT *obj) | ||
| 214 | { | ||
| 215 | ASN1_OBJECT *o = NULL; | ||
| 216 | ADDED_OBJ *ao[4] = {NULL, NULL, NULL, NULL}, *aop; | ||
| 217 | int i; | ||
| 218 | |||
| 219 | if (added == NULL) | ||
| 220 | added = lh_ADDED_OBJ_new(); | ||
| 221 | if (added == NULL) | ||
| 222 | goto err; | ||
| 223 | if (obj == NULL || obj->nid == NID_undef) | ||
| 224 | goto err; | ||
| 225 | if ((o = OBJ_dup(obj)) == NULL) | ||
| 226 | goto err; | ||
| 227 | if (!(ao[ADDED_NID] = malloc(sizeof(ADDED_OBJ)))) | ||
| 228 | goto err2; | ||
| 229 | if ((o->length != 0) && (obj->data != NULL)) | ||
| 230 | if (!(ao[ADDED_DATA] = malloc(sizeof(ADDED_OBJ)))) | ||
| 231 | goto err2; | ||
| 232 | if (o->sn != NULL) | ||
| 233 | if (!(ao[ADDED_SNAME] = malloc(sizeof(ADDED_OBJ)))) | ||
| 234 | goto err2; | ||
| 235 | if (o->ln != NULL) | ||
| 236 | if (!(ao[ADDED_LNAME] = malloc(sizeof(ADDED_OBJ)))) | ||
| 237 | goto err2; | ||
| 238 | |||
| 239 | for (i = ADDED_DATA; i <= ADDED_NID; i++) { | ||
| 240 | if (ao[i] != NULL) { | ||
| 241 | ao[i]->type = i; | ||
| 242 | ao[i]->obj = o; | ||
| 243 | aop = lh_ADDED_OBJ_insert(added, ao[i]); | ||
| 244 | /* memory leak, but should not normally matter */ | ||
| 245 | free(aop); | ||
| 246 | } | ||
| 247 | } | ||
| 248 | o->flags &= ~(ASN1_OBJECT_FLAG_DYNAMIC | | ||
| 249 | ASN1_OBJECT_FLAG_DYNAMIC_STRINGS | | ||
| 250 | ASN1_OBJECT_FLAG_DYNAMIC_DATA); | ||
| 251 | |||
| 252 | return o->nid; | ||
| 253 | |||
| 254 | err2: | ||
| 255 | OBJerror(ERR_R_MALLOC_FAILURE); | ||
| 256 | err: | ||
| 257 | for (i = ADDED_DATA; i <= ADDED_NID; i++) | ||
| 258 | free(ao[i]); | ||
| 259 | ASN1_OBJECT_free(o); | ||
| 260 | return NID_undef; | ||
| 261 | } | ||
| 262 | |||
| 263 | ASN1_OBJECT * | ||
| 264 | OBJ_nid2obj(int nid) | ||
| 265 | { | ||
| 266 | if (nid >= 0 && nid < NUM_NID) { | ||
| 267 | if (nid == NID_undef || nid_objs[nid].nid != NID_undef) | ||
| 268 | return (ASN1_OBJECT *)&nid_objs[nid]; | ||
| 269 | |||
| 270 | goto unknown; | ||
| 271 | } | ||
| 272 | |||
| 273 | /* XXX - locking. */ | ||
| 274 | if (added != NULL) { | ||
| 275 | ASN1_OBJECT aobj = { | ||
| 276 | .nid = nid, | ||
| 277 | }; | ||
| 278 | ADDED_OBJ needle = { | ||
| 279 | .type = ADDED_NID, | ||
| 280 | .obj = &aobj, | ||
| 281 | }; | ||
| 282 | ADDED_OBJ *found; | ||
| 283 | |||
| 284 | if ((found = lh_ADDED_OBJ_retrieve(added, &needle)) != NULL) | ||
| 285 | return found->obj; | ||
| 286 | } | ||
| 287 | |||
| 288 | unknown: | ||
| 289 | OBJerror(OBJ_R_UNKNOWN_NID); | ||
| 290 | |||
| 291 | return NULL; | ||
| 292 | } | ||
| 293 | LCRYPTO_ALIAS(OBJ_nid2obj); | ||
| 294 | |||
| 295 | const char * | ||
| 296 | OBJ_nid2sn(int nid) | ||
| 297 | { | ||
| 298 | ASN1_OBJECT *aobj; | ||
| 299 | |||
| 300 | if ((aobj = OBJ_nid2obj(nid)) == NULL) | ||
| 301 | return NULL; | ||
| 302 | |||
| 303 | return aobj->sn; | ||
| 304 | } | ||
| 305 | LCRYPTO_ALIAS(OBJ_nid2sn); | ||
| 306 | |||
| 307 | const char * | ||
| 308 | OBJ_nid2ln(int nid) | ||
| 309 | { | ||
| 310 | ASN1_OBJECT *aobj; | ||
| 311 | |||
| 312 | if ((aobj = OBJ_nid2obj(nid)) == NULL) | ||
| 313 | return NULL; | ||
| 314 | |||
| 315 | return aobj->ln; | ||
| 316 | } | ||
| 317 | LCRYPTO_ALIAS(OBJ_nid2ln); | ||
| 318 | |||
| 319 | static int | ||
| 320 | obj_objs_cmp(const void *aobj, const void *b) | ||
| 321 | { | ||
| 322 | const unsigned int *nid = b; | ||
| 323 | |||
| 324 | OPENSSL_assert(*nid < NUM_NID); | ||
| 325 | |||
| 326 | return OBJ_cmp(aobj, &nid_objs[*nid]); | ||
| 327 | } | ||
| 328 | |||
| 329 | int | ||
| 330 | OBJ_obj2nid(const ASN1_OBJECT *aobj) | ||
| 331 | { | ||
| 332 | const unsigned int *nid; | ||
| 333 | |||
| 334 | if (aobj == NULL || aobj->length == 0) | ||
| 335 | return NID_undef; | ||
| 336 | |||
| 337 | if (aobj->nid != NID_undef) | ||
| 338 | return aobj->nid; | ||
| 339 | |||
| 340 | /* XXX - locking. OpenSSL 3 moved this after built-in object lookup. */ | ||
| 341 | if (added != NULL) { | ||
| 342 | ADDED_OBJ needle = { | ||
| 343 | .type = ADDED_DATA, | ||
| 344 | .obj = (ASN1_OBJECT *)aobj, | ||
| 345 | }; | ||
| 346 | ADDED_OBJ *found; | ||
| 347 | |||
| 348 | if ((found = lh_ADDED_OBJ_retrieve(added, &needle)) != NULL) | ||
| 349 | return found->obj->nid; | ||
| 350 | } | ||
| 351 | |||
| 352 | /* obj_objs holds built-in obj NIDs in ascending OBJ_cmp() order. */ | ||
| 353 | nid = bsearch(aobj, obj_objs, NUM_OBJ, sizeof(unsigned int), obj_objs_cmp); | ||
| 354 | if (nid != NULL) | ||
| 355 | return *nid; | ||
| 356 | |||
| 357 | return NID_undef; | ||
| 358 | } | ||
| 359 | LCRYPTO_ALIAS(OBJ_obj2nid); | ||
| 360 | |||
| 361 | static int | ||
| 362 | sn_objs_cmp(const void *sn, const void *b) | ||
| 363 | { | ||
| 364 | const unsigned int *nid = b; | ||
| 365 | |||
| 366 | OPENSSL_assert(*nid < NUM_NID); | ||
| 367 | |||
| 368 | return strcmp(sn, nid_objs[*nid].sn); | ||
| 369 | } | ||
| 370 | |||
| 371 | int | ||
| 372 | OBJ_sn2nid(const char *sn) | ||
| 373 | { | ||
| 374 | const unsigned int *nid; | ||
| 375 | |||
| 376 | /* XXX - locking. OpenSSL 3 moved this after built-in object lookup. */ | ||
| 377 | if (added != NULL) { | ||
| 378 | ASN1_OBJECT aobj = { | ||
| 379 | .sn = sn, | ||
| 380 | }; | ||
| 381 | ADDED_OBJ needle = { | ||
| 382 | .type = ADDED_SNAME, | ||
| 383 | .obj = &aobj, | ||
| 384 | }; | ||
| 385 | ADDED_OBJ *found; | ||
| 386 | |||
| 387 | if ((found = lh_ADDED_OBJ_retrieve(added, &needle)) != NULL) | ||
| 388 | return found->obj->nid; | ||
| 389 | } | ||
| 390 | |||
| 391 | /* sn_objs holds NIDs in ascending alphabetical order of SN. */ | ||
| 392 | nid = bsearch(sn, sn_objs, NUM_SN, sizeof(unsigned int), sn_objs_cmp); | ||
| 393 | if (nid != NULL) | ||
| 394 | return *nid; | ||
| 395 | |||
| 396 | return NID_undef; | ||
| 397 | } | ||
| 398 | LCRYPTO_ALIAS(OBJ_sn2nid); | ||
| 399 | |||
| 400 | static int | ||
| 401 | ln_objs_cmp(const void *ln, const void *b) | ||
| 402 | { | ||
| 403 | const unsigned int *nid = b; | ||
| 404 | |||
| 405 | OPENSSL_assert(*nid < NUM_NID); | ||
| 406 | |||
| 407 | return strcmp(ln, nid_objs[*nid].ln); | ||
| 408 | } | ||
| 409 | |||
| 410 | int | ||
| 411 | OBJ_ln2nid(const char *ln) | ||
| 412 | { | ||
| 413 | const unsigned int *nid; | ||
| 414 | |||
| 415 | /* XXX - locking. OpenSSL 3 moved this after built-in object lookup. */ | ||
| 416 | if (added != NULL) { | ||
| 417 | ASN1_OBJECT aobj = { | ||
| 418 | .ln = ln, | ||
| 419 | }; | ||
| 420 | ADDED_OBJ needle = { | ||
| 421 | .type = ADDED_LNAME, | ||
| 422 | .obj = &aobj, | ||
| 423 | }; | ||
| 424 | ADDED_OBJ *found; | ||
| 425 | |||
| 426 | if ((found = lh_ADDED_OBJ_retrieve(added, &needle)) != NULL) | ||
| 427 | return found->obj->nid; | ||
| 428 | } | ||
| 429 | |||
| 430 | /* ln_objs holds NIDs in ascending alphabetical order of LN. */ | ||
| 431 | nid = bsearch(ln, ln_objs, NUM_LN, sizeof(unsigned int), ln_objs_cmp); | ||
| 432 | if (nid != NULL) | ||
| 433 | return *nid; | ||
| 434 | |||
| 435 | return NID_undef; | ||
| 436 | } | ||
| 437 | LCRYPTO_ALIAS(OBJ_ln2nid); | ||
| 438 | |||
| 439 | /* Convert an object name into an ASN1_OBJECT | ||
| 440 | * if "noname" is not set then search for short and long names first. | ||
| 441 | * This will convert the "dotted" form into an object: unlike OBJ_txt2nid | ||
| 442 | * it can be used with any objects, not just registered ones. | ||
| 443 | */ | ||
| 444 | |||
| 445 | ASN1_OBJECT * | ||
| 446 | OBJ_txt2obj(const char *s, int no_name) | ||
| 447 | { | ||
| 448 | int nid; | ||
| 449 | |||
| 450 | if (!no_name) { | ||
| 451 | if ((nid = OBJ_sn2nid(s)) != NID_undef || | ||
| 452 | (nid = OBJ_ln2nid(s)) != NID_undef) | ||
| 453 | return OBJ_nid2obj(nid); | ||
| 454 | } | ||
| 455 | |||
| 456 | return t2i_ASN1_OBJECT_internal(s); | ||
| 457 | } | ||
| 458 | LCRYPTO_ALIAS(OBJ_txt2obj); | ||
| 459 | |||
| 460 | int | ||
| 461 | OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *aobj, int no_name) | ||
| 462 | { | ||
| 463 | return i2t_ASN1_OBJECT_internal(aobj, buf, buf_len, no_name); | ||
| 464 | } | ||
| 465 | LCRYPTO_ALIAS(OBJ_obj2txt); | ||
| 466 | |||
| 467 | int | ||
| 468 | OBJ_txt2nid(const char *s) | ||
| 469 | { | ||
| 470 | ASN1_OBJECT *obj; | ||
| 471 | int nid; | ||
| 472 | |||
| 473 | obj = OBJ_txt2obj(s, 0); | ||
| 474 | nid = OBJ_obj2nid(obj); | ||
| 475 | ASN1_OBJECT_free(obj); | ||
| 476 | return nid; | ||
| 477 | } | ||
| 478 | LCRYPTO_ALIAS(OBJ_txt2nid); | ||
| 479 | |||
| 480 | int | ||
| 481 | OBJ_create_objects(BIO *in) | ||
| 482 | { | ||
| 483 | char buf[512]; | ||
| 484 | int i, num = 0; | ||
| 485 | char *o, *s, *l = NULL; | ||
| 486 | |||
| 487 | for (;;) { | ||
| 488 | s = o = NULL; | ||
| 489 | i = BIO_gets(in, buf, 512); | ||
| 490 | if (i <= 0) | ||
| 491 | return num; | ||
| 492 | buf[i - 1] = '\0'; | ||
| 493 | if (!isalnum((unsigned char)buf[0])) | ||
| 494 | return num; | ||
| 495 | o = s=buf; | ||
| 496 | while (isdigit((unsigned char)*s) || (*s == '.')) | ||
| 497 | s++; | ||
| 498 | if (*s != '\0') { | ||
| 499 | *(s++) = '\0'; | ||
| 500 | while (isspace((unsigned char)*s)) | ||
| 501 | s++; | ||
| 502 | if (*s == '\0') | ||
| 503 | s = NULL; | ||
| 504 | else { | ||
| 505 | l = s; | ||
| 506 | while ((*l != '\0') && | ||
| 507 | !isspace((unsigned char)*l)) | ||
| 508 | l++; | ||
| 509 | if (*l != '\0') { | ||
| 510 | *(l++) = '\0'; | ||
| 511 | while (isspace((unsigned char)*l)) | ||
| 512 | l++; | ||
| 513 | if (*l == '\0') | ||
| 514 | l = NULL; | ||
| 515 | } else | ||
| 516 | l = NULL; | ||
| 517 | } | ||
| 518 | } else | ||
| 519 | s = NULL; | ||
| 520 | if ((o == NULL) || (*o == '\0')) | ||
| 521 | return num; | ||
| 522 | if (!OBJ_create(o, s, l)) | ||
| 523 | return num; | ||
| 524 | num++; | ||
| 525 | } | ||
| 526 | /* return(num); */ | ||
| 527 | } | ||
| 528 | LCRYPTO_ALIAS(OBJ_create_objects); | ||
| 529 | |||
| 530 | int | ||
| 531 | OBJ_create(const char *oid, const char *sn, const char *ln) | ||
| 532 | { | ||
| 533 | ASN1_OBJECT *aobj = NULL; | ||
| 534 | unsigned char *buf = NULL; | ||
| 535 | int len, nid; | ||
| 536 | int ret = 0; | ||
| 537 | |||
| 538 | if ((len = a2d_ASN1_OBJECT(NULL, 0, oid, -1)) <= 0) | ||
| 539 | goto err; | ||
| 540 | |||
| 541 | if ((buf = calloc(1, len)) == NULL) { | ||
| 542 | OBJerror(ERR_R_MALLOC_FAILURE); | ||
| 543 | goto err; | ||
| 544 | } | ||
| 545 | |||
| 546 | if ((len = a2d_ASN1_OBJECT(buf, len, oid, -1)) == 0) | ||
| 547 | goto err; | ||
| 548 | |||
| 549 | nid = OBJ_new_nid(1); | ||
| 550 | if ((aobj = ASN1_OBJECT_create(nid, buf, len, sn, ln)) == NULL) | ||
| 551 | goto err; | ||
| 552 | |||
| 553 | ret = OBJ_add_object(aobj); | ||
| 554 | |||
| 555 | err: | ||
| 556 | ASN1_OBJECT_free(aobj); | ||
| 557 | free(buf); | ||
| 558 | |||
| 559 | return ret; | ||
| 560 | } | ||
| 561 | LCRYPTO_ALIAS(OBJ_create); | ||
| 562 | |||
| 563 | size_t | ||
| 564 | OBJ_length(const ASN1_OBJECT *obj) | ||
| 565 | { | ||
| 566 | if (obj == NULL) | ||
| 567 | return 0; | ||
| 568 | |||
| 569 | if (obj->length < 0) | ||
| 570 | return 0; | ||
| 571 | |||
| 572 | return obj->length; | ||
| 573 | } | ||
| 574 | LCRYPTO_ALIAS(OBJ_length); | ||
| 575 | |||
| 576 | const unsigned char * | ||
| 577 | OBJ_get0_data(const ASN1_OBJECT *obj) | ||
| 578 | { | ||
| 579 | if (obj == NULL) | ||
| 580 | return NULL; | ||
| 581 | |||
| 582 | return obj->data; | ||
| 583 | } | ||
| 584 | LCRYPTO_ALIAS(OBJ_get0_data); | ||
diff --git a/src/lib/libcrypto/objects/obj_dat.pl b/src/lib/libcrypto/objects/obj_dat.pl deleted file mode 100644 index 86bcefb97a..0000000000 --- a/src/lib/libcrypto/objects/obj_dat.pl +++ /dev/null | |||
| @@ -1,307 +0,0 @@ | |||
| 1 | #!/usr/local/bin/perl | ||
| 2 | |||
| 3 | # fixes bug in floating point emulation on sparc64 when | ||
| 4 | # this script produces off-by-one output on sparc64 | ||
| 5 | use integer; | ||
| 6 | |||
| 7 | sub obj_cmp | ||
| 8 | { | ||
| 9 | local(@a,@b,$_,$r); | ||
| 10 | |||
| 11 | $A=$obj_len{$obj{$nid{$a}}}; | ||
| 12 | $B=$obj_len{$obj{$nid{$b}}}; | ||
| 13 | |||
| 14 | $r=($A-$B); | ||
| 15 | return($r) if $r != 0; | ||
| 16 | |||
| 17 | $A=$obj_der{$obj{$nid{$a}}}; | ||
| 18 | $B=$obj_der{$obj{$nid{$b}}}; | ||
| 19 | |||
| 20 | return($A cmp $B); | ||
| 21 | } | ||
| 22 | |||
| 23 | sub expand_obj | ||
| 24 | { | ||
| 25 | local(*v)=@_; | ||
| 26 | local($k,$d); | ||
| 27 | local($i); | ||
| 28 | |||
| 29 | do { | ||
| 30 | $i=0; | ||
| 31 | foreach $k (keys %v) | ||
| 32 | { | ||
| 33 | if (($v{$k} =~ s/(OBJ_[^,]+),/$v{$1},/)) | ||
| 34 | { $i++; } | ||
| 35 | } | ||
| 36 | } while($i); | ||
| 37 | foreach $k (keys %v) | ||
| 38 | { | ||
| 39 | @a=split(/,/,$v{$k}); | ||
| 40 | $objn{$k}=$#a+1; | ||
| 41 | } | ||
| 42 | return(%objn); | ||
| 43 | } | ||
| 44 | |||
| 45 | open (IN,"$ARGV[0]") || die "Can't open input file $ARGV[0]"; | ||
| 46 | open (OUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]"; | ||
| 47 | |||
| 48 | while (<IN>) | ||
| 49 | { | ||
| 50 | next unless /^\#define\s+(\S+)\s+(.*)$/; | ||
| 51 | $v=$1; | ||
| 52 | $d=$2; | ||
| 53 | $d =~ s/^\"//; | ||
| 54 | $d =~ s/\"$//; | ||
| 55 | if ($v =~ /^SN_(.*)$/) | ||
| 56 | { | ||
| 57 | if(defined $snames{$d}) | ||
| 58 | { | ||
| 59 | print "WARNING: Duplicate short name \"$d\"\n"; | ||
| 60 | } | ||
| 61 | else | ||
| 62 | { $snames{$d} = "X"; } | ||
| 63 | $sn{$1}=$d; | ||
| 64 | } | ||
| 65 | elsif ($v =~ /^LN_(.*)$/) | ||
| 66 | { | ||
| 67 | if(defined $lnames{$d}) | ||
| 68 | { | ||
| 69 | print "WARNING: Duplicate long name \"$d\"\n"; | ||
| 70 | } | ||
| 71 | else | ||
| 72 | { $lnames{$d} = "X"; } | ||
| 73 | $ln{$1}=$d; | ||
| 74 | } | ||
| 75 | elsif ($v =~ /^NID_(.*)$/) | ||
| 76 | { $nid{$d}=$1; } | ||
| 77 | elsif ($v =~ /^OBJ_(.*)$/) | ||
| 78 | { | ||
| 79 | $obj{$1}=$v; | ||
| 80 | $objd{$v}=$d; | ||
| 81 | } | ||
| 82 | } | ||
| 83 | close IN; | ||
| 84 | |||
| 85 | %ob=&expand_obj(*objd); | ||
| 86 | |||
| 87 | @a=sort { $a <=> $b } keys %nid; | ||
| 88 | $n=$a[$#a]+1; | ||
| 89 | |||
| 90 | @lvalues=(); | ||
| 91 | $lvalues=0; | ||
| 92 | |||
| 93 | for ($i=0; $i<$n; $i++) | ||
| 94 | { | ||
| 95 | if (!defined($nid{$i})) | ||
| 96 | { | ||
| 97 | push(@out,"{NULL,NULL,NID_undef,0,NULL,0},\n"); | ||
| 98 | } | ||
| 99 | else | ||
| 100 | { | ||
| 101 | $sn=defined($sn{$nid{$i}})?"$sn{$nid{$i}}":"NULL"; | ||
| 102 | $ln=defined($ln{$nid{$i}})?"$ln{$nid{$i}}":"NULL"; | ||
| 103 | |||
| 104 | if ($sn eq "NULL") { | ||
| 105 | $sn=$ln; | ||
| 106 | $sn{$nid{$i}} = $ln; | ||
| 107 | } | ||
| 108 | |||
| 109 | if ($ln eq "NULL") { | ||
| 110 | $ln=$sn; | ||
| 111 | $ln{$nid{$i}} = $sn; | ||
| 112 | } | ||
| 113 | |||
| 114 | $out ="{"; | ||
| 115 | $out.="\"$sn\""; | ||
| 116 | $out.=","."\"$ln\""; | ||
| 117 | $out.=",NID_$nid{$i},"; | ||
| 118 | if (defined($obj{$nid{$i}}) && $objd{$obj{$nid{$i}}} =~ /,/) | ||
| 119 | { | ||
| 120 | $v=$objd{$obj{$nid{$i}}}; | ||
| 121 | $v =~ s/L//g; | ||
| 122 | $v =~ s/,/ /g; | ||
| 123 | $r=&der_it($v); | ||
| 124 | $z=""; | ||
| 125 | $length=0; | ||
| 126 | foreach (unpack("C*",$r)) | ||
| 127 | { | ||
| 128 | $z.=sprintf("0x%02X,",$_); | ||
| 129 | $length++; | ||
| 130 | } | ||
| 131 | $obj_der{$obj{$nid{$i}}}=$z; | ||
| 132 | $obj_len{$obj{$nid{$i}}}=$length; | ||
| 133 | |||
| 134 | push(@lvalues,sprintf("%-45s/* [%3d] %s */\n", | ||
| 135 | $z,$lvalues,$obj{$nid{$i}})); | ||
| 136 | $out.="$length,&(lvalues[$lvalues]),0"; | ||
| 137 | $lvalues+=$length; | ||
| 138 | } | ||
| 139 | else | ||
| 140 | { | ||
| 141 | $out.="0,NULL,0"; | ||
| 142 | } | ||
| 143 | $out.="},\n"; | ||
| 144 | push(@out,$out); | ||
| 145 | } | ||
| 146 | } | ||
| 147 | |||
| 148 | @a=grep(defined($sn{$nid{$_}}),0 .. $n); | ||
| 149 | foreach (sort { $sn{$nid{$a}} cmp $sn{$nid{$b}} } @a) | ||
| 150 | { | ||
| 151 | push(@sn,sprintf("%2d,\t/* \"$sn{$nid{$_}}\" */\n",$_)); | ||
| 152 | } | ||
| 153 | |||
| 154 | @a=grep(defined($ln{$nid{$_}}),0 .. $n); | ||
| 155 | foreach (sort { $ln{$nid{$a}} cmp $ln{$nid{$b}} } @a) | ||
| 156 | { | ||
| 157 | push(@ln,sprintf("%2d,\t/* \"$ln{$nid{$_}}\" */\n",$_)); | ||
| 158 | } | ||
| 159 | |||
| 160 | @a=grep(defined($obj{$nid{$_}}),0 .. $n); | ||
| 161 | foreach (sort obj_cmp @a) | ||
| 162 | { | ||
| 163 | $m=$obj{$nid{$_}}; | ||
| 164 | $v=$objd{$m}; | ||
| 165 | $v =~ s/L//g; | ||
| 166 | $v =~ s/,/ /g; | ||
| 167 | push(@ob,sprintf("%2d,\t/* %-32s %s */\n",$_,$m,$v)); | ||
| 168 | } | ||
| 169 | |||
| 170 | print OUT <<'EOF'; | ||
| 171 | /* crypto/objects/obj_dat.h */ | ||
| 172 | |||
| 173 | /* THIS FILE IS GENERATED FROM objects.h by obj_dat.pl via the | ||
| 174 | * following command: | ||
| 175 | * perl obj_dat.pl obj_mac.h obj_dat.h | ||
| 176 | */ | ||
| 177 | |||
| 178 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | ||
| 179 | * All rights reserved. | ||
| 180 | * | ||
| 181 | * This package is an SSL implementation written | ||
| 182 | * by Eric Young (eay@cryptsoft.com). | ||
| 183 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 184 | * | ||
| 185 | * This library is free for commercial and non-commercial use as long as | ||
| 186 | * the following conditions are aheared to. The following conditions | ||
| 187 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 188 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 189 | * included with this distribution is covered by the same copyright terms | ||
| 190 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 191 | * | ||
| 192 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 193 | * the code are not to be removed. | ||
| 194 | * If this package is used in a product, Eric Young should be given attribution | ||
| 195 | * as the author of the parts of the library used. | ||
| 196 | * This can be in the form of a textual message at program startup or | ||
| 197 | * in documentation (online or textual) provided with the package. | ||
| 198 | * | ||
| 199 | * Redistribution and use in source and binary forms, with or without | ||
| 200 | * modification, are permitted provided that the following conditions | ||
| 201 | * are met: | ||
| 202 | * 1. Redistributions of source code must retain the copyright | ||
| 203 | * notice, this list of conditions and the following disclaimer. | ||
| 204 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 205 | * notice, this list of conditions and the following disclaimer in the | ||
| 206 | * documentation and/or other materials provided with the distribution. | ||
| 207 | * 3. All advertising materials mentioning features or use of this software | ||
| 208 | * must display the following acknowledgement: | ||
| 209 | * "This product includes cryptographic software written by | ||
| 210 | * Eric Young (eay@cryptsoft.com)" | ||
| 211 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 212 | * being used are not cryptographic related :-). | ||
| 213 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 214 | * the apps directory (application code) you must include an acknowledgement: | ||
| 215 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 216 | * | ||
| 217 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 218 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 219 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 220 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 221 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 222 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 223 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 224 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 225 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 226 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 227 | * SUCH DAMAGE. | ||
| 228 | * | ||
| 229 | * The licence and distribution terms for any publically available version or | ||
| 230 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 231 | * copied and put under another distribution licence | ||
| 232 | * [including the GNU Public Licence.] | ||
| 233 | */ | ||
| 234 | |||
| 235 | EOF | ||
| 236 | |||
| 237 | printf OUT "#define NUM_NID %d\n",$n; | ||
| 238 | printf OUT "#define NUM_SN %d\n",$#sn+1; | ||
| 239 | printf OUT "#define NUM_LN %d\n",$#ln+1; | ||
| 240 | printf OUT "#define NUM_OBJ %d\n\n",$#ob+1; | ||
| 241 | |||
| 242 | printf OUT "static const unsigned char lvalues[%d]={\n",$lvalues+1; | ||
| 243 | print OUT @lvalues; | ||
| 244 | print OUT "};\n\n"; | ||
| 245 | |||
| 246 | printf OUT "static const ASN1_OBJECT nid_objs[NUM_NID]={\n"; | ||
| 247 | foreach (@out) | ||
| 248 | { | ||
| 249 | if (length($_) > 75) | ||
| 250 | { | ||
| 251 | $out=""; | ||
| 252 | foreach (split(/,/)) | ||
| 253 | { | ||
| 254 | $t=$out.$_.","; | ||
| 255 | if (length($t) > 70) | ||
| 256 | { | ||
| 257 | print OUT "$out\n"; | ||
| 258 | $t="\t$_,"; | ||
| 259 | } | ||
| 260 | $out=$t; | ||
| 261 | } | ||
| 262 | chop $out; | ||
| 263 | print OUT "$out"; | ||
| 264 | } | ||
| 265 | else | ||
| 266 | { print OUT $_; } | ||
| 267 | } | ||
| 268 | print OUT "};\n\n"; | ||
| 269 | |||
| 270 | printf OUT "static const unsigned int sn_objs[NUM_SN]={\n"; | ||
| 271 | print OUT @sn; | ||
| 272 | print OUT "};\n\n"; | ||
| 273 | |||
| 274 | printf OUT "static const unsigned int ln_objs[NUM_LN]={\n"; | ||
| 275 | print OUT @ln; | ||
| 276 | print OUT "};\n\n"; | ||
| 277 | |||
| 278 | printf OUT "static const unsigned int obj_objs[NUM_OBJ]={\n"; | ||
| 279 | print OUT @ob; | ||
| 280 | print OUT "};\n\n"; | ||
| 281 | |||
| 282 | close OUT; | ||
| 283 | |||
| 284 | sub der_it | ||
| 285 | { | ||
| 286 | local($v)=@_; | ||
| 287 | local(@a,$i,$ret,@r); | ||
| 288 | |||
| 289 | @a=split(/\s+/,$v); | ||
| 290 | $ret.=pack("C*",$a[0]*40+$a[1]); | ||
| 291 | shift @a; | ||
| 292 | shift @a; | ||
| 293 | foreach (@a) | ||
| 294 | { | ||
| 295 | @r=(); | ||
| 296 | $t=0; | ||
| 297 | while ($_ >= 128) | ||
| 298 | { | ||
| 299 | $x=$_%128; | ||
| 300 | $_/=128; | ||
| 301 | push(@r,((($t++)?0x80:0)|$x)); | ||
| 302 | } | ||
| 303 | push(@r,((($t++)?0x80:0)|$_)); | ||
| 304 | $ret.=pack("C*",reverse(@r)); | ||
| 305 | } | ||
| 306 | return($ret); | ||
| 307 | } | ||
diff --git a/src/lib/libcrypto/objects/obj_err.c b/src/lib/libcrypto/objects/obj_err.c deleted file mode 100644 index 514fb0d4f0..0000000000 --- a/src/lib/libcrypto/objects/obj_err.c +++ /dev/null | |||
| @@ -1,93 +0,0 @@ | |||
| 1 | /* $OpenBSD: obj_err.c,v 1.15 2024/06/24 06:43:22 tb Exp $ */ | ||
| 2 | /* ==================================================================== | ||
| 3 | * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved. | ||
| 4 | * | ||
| 5 | * Redistribution and use in source and binary forms, with or without | ||
| 6 | * modification, are permitted provided that the following conditions | ||
| 7 | * are met: | ||
| 8 | * | ||
| 9 | * 1. Redistributions of source code must retain the above copyright | ||
| 10 | * notice, this list of conditions and the following disclaimer. | ||
| 11 | * | ||
| 12 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 13 | * notice, this list of conditions and the following disclaimer in | ||
| 14 | * the documentation and/or other materials provided with the | ||
| 15 | * distribution. | ||
| 16 | * | ||
| 17 | * 3. All advertising materials mentioning features or use of this | ||
| 18 | * software must display the following acknowledgment: | ||
| 19 | * "This product includes software developed by the OpenSSL Project | ||
| 20 | * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" | ||
| 21 | * | ||
| 22 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 23 | * endorse or promote products derived from this software without | ||
| 24 | * prior written permission. For written permission, please contact | ||
| 25 | * openssl-core@OpenSSL.org. | ||
| 26 | * | ||
| 27 | * 5. Products derived from this software may not be called "OpenSSL" | ||
| 28 | * nor may "OpenSSL" appear in their names without prior written | ||
| 29 | * permission of the OpenSSL Project. | ||
| 30 | * | ||
| 31 | * 6. Redistributions of any form whatsoever must retain the following | ||
| 32 | * acknowledgment: | ||
| 33 | * "This product includes software developed by the OpenSSL Project | ||
| 34 | * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" | ||
| 35 | * | ||
| 36 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 37 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 38 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 39 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 40 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 41 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 42 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 43 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 44 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 45 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 46 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 47 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 48 | * ==================================================================== | ||
| 49 | * | ||
| 50 | * This product includes cryptographic software written by Eric Young | ||
| 51 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
| 52 | * Hudson (tjh@cryptsoft.com). | ||
| 53 | * | ||
| 54 | */ | ||
| 55 | |||
| 56 | #include <stdio.h> | ||
| 57 | |||
| 58 | #include <openssl/opensslconf.h> | ||
| 59 | |||
| 60 | #include <openssl/err.h> | ||
| 61 | #include <openssl/objects.h> | ||
| 62 | |||
| 63 | #include "err_local.h" | ||
| 64 | |||
| 65 | #ifndef OPENSSL_NO_ERR | ||
| 66 | |||
| 67 | #define ERR_FUNC(func) ERR_PACK(ERR_LIB_OBJ,func,0) | ||
| 68 | #define ERR_REASON(reason) ERR_PACK(ERR_LIB_OBJ,0,reason) | ||
| 69 | |||
| 70 | static const ERR_STRING_DATA OBJ_str_functs[] = { | ||
| 71 | {ERR_FUNC(0xfff), "CRYPTO_internal"}, | ||
| 72 | {0, NULL} | ||
| 73 | }; | ||
| 74 | |||
| 75 | static const ERR_STRING_DATA OBJ_str_reasons[] = { | ||
| 76 | {ERR_REASON(OBJ_R_MALLOC_FAILURE) , "malloc failure"}, | ||
| 77 | {ERR_REASON(OBJ_R_UNKNOWN_NID) , "unknown nid"}, | ||
| 78 | {0, NULL} | ||
| 79 | }; | ||
| 80 | |||
| 81 | #endif | ||
| 82 | |||
| 83 | void | ||
| 84 | ERR_load_OBJ_strings(void) | ||
| 85 | { | ||
| 86 | #ifndef OPENSSL_NO_ERR | ||
| 87 | if (ERR_func_error_string(OBJ_str_functs[0].error) == NULL) { | ||
| 88 | ERR_load_const_strings(OBJ_str_functs); | ||
| 89 | ERR_load_const_strings(OBJ_str_reasons); | ||
| 90 | } | ||
| 91 | #endif | ||
| 92 | } | ||
| 93 | LCRYPTO_ALIAS(ERR_load_OBJ_strings); | ||
diff --git a/src/lib/libcrypto/objects/obj_lib.c b/src/lib/libcrypto/objects/obj_lib.c deleted file mode 100644 index 45062dbd4c..0000000000 --- a/src/lib/libcrypto/objects/obj_lib.c +++ /dev/null | |||
| @@ -1,135 +0,0 @@ | |||
| 1 | /* $OpenBSD: obj_lib.c,v 1.19 2023/08/17 09:13:01 tb Exp $ */ | ||
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
| 3 | * All rights reserved. | ||
| 4 | * | ||
| 5 | * This package is an SSL implementation written | ||
| 6 | * by Eric Young (eay@cryptsoft.com). | ||
| 7 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 8 | * | ||
| 9 | * This library is free for commercial and non-commercial use as long as | ||
| 10 | * the following conditions are aheared to. The following conditions | ||
| 11 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 13 | * included with this distribution is covered by the same copyright terms | ||
| 14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 15 | * | ||
| 16 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 17 | * the code are not to be removed. | ||
| 18 | * If this package is used in a product, Eric Young should be given attribution | ||
| 19 | * as the author of the parts of the library used. | ||
| 20 | * This can be in the form of a textual message at program startup or | ||
| 21 | * in documentation (online or textual) provided with the package. | ||
| 22 | * | ||
| 23 | * Redistribution and use in source and binary forms, with or without | ||
| 24 | * modification, are permitted provided that the following conditions | ||
| 25 | * are met: | ||
| 26 | * 1. Redistributions of source code must retain the copyright | ||
| 27 | * notice, this list of conditions and the following disclaimer. | ||
| 28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 29 | * notice, this list of conditions and the following disclaimer in the | ||
| 30 | * documentation and/or other materials provided with the distribution. | ||
| 31 | * 3. All advertising materials mentioning features or use of this software | ||
| 32 | * must display the following acknowledgement: | ||
| 33 | * "This product includes cryptographic software written by | ||
| 34 | * Eric Young (eay@cryptsoft.com)" | ||
| 35 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 36 | * being used are not cryptographic related :-). | ||
| 37 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 38 | * the apps directory (application code) you must include an acknowledgement: | ||
| 39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 40 | * | ||
| 41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 51 | * SUCH DAMAGE. | ||
| 52 | * | ||
| 53 | * The licence and distribution terms for any publically available version or | ||
| 54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 55 | * copied and put under another distribution licence | ||
| 56 | * [including the GNU Public Licence.] | ||
| 57 | */ | ||
| 58 | |||
| 59 | #include <stdio.h> | ||
| 60 | #include <string.h> | ||
| 61 | |||
| 62 | #include <openssl/err.h> | ||
| 63 | #include <openssl/buffer.h> | ||
| 64 | #include <openssl/lhash.h> | ||
| 65 | #include <openssl/objects.h> | ||
| 66 | |||
| 67 | #include "asn1_local.h" | ||
| 68 | |||
| 69 | ASN1_OBJECT * | ||
| 70 | OBJ_dup(const ASN1_OBJECT *o) | ||
| 71 | { | ||
| 72 | ASN1_OBJECT *r; | ||
| 73 | char *ln = NULL, *sn = NULL; | ||
| 74 | unsigned char *data = NULL; | ||
| 75 | |||
| 76 | if (o == NULL) | ||
| 77 | return (NULL); | ||
| 78 | if (!(o->flags & ASN1_OBJECT_FLAG_DYNAMIC)) | ||
| 79 | return((ASN1_OBJECT *)o); /* XXX: ugh! Why? What kind of | ||
| 80 | duplication is this??? */ | ||
| 81 | |||
| 82 | r = ASN1_OBJECT_new(); | ||
| 83 | if (r == NULL) { | ||
| 84 | OBJerror(ERR_R_ASN1_LIB); | ||
| 85 | return (NULL); | ||
| 86 | } | ||
| 87 | data = malloc(o->length); | ||
| 88 | if (data == NULL) | ||
| 89 | goto err; | ||
| 90 | if (o->data != NULL) | ||
| 91 | memcpy(data, o->data, o->length); | ||
| 92 | /* once data attached to object it remains const */ | ||
| 93 | r->data = data; | ||
| 94 | r->length = o->length; | ||
| 95 | r->nid = o->nid; | ||
| 96 | r->ln = r->sn = NULL; | ||
| 97 | if (o->ln != NULL) { | ||
| 98 | ln = strdup(o->ln); | ||
| 99 | if (ln == NULL) | ||
| 100 | goto err; | ||
| 101 | r->ln = ln; | ||
| 102 | } | ||
| 103 | |||
| 104 | if (o->sn != NULL) { | ||
| 105 | sn = strdup(o->sn); | ||
| 106 | if (sn == NULL) | ||
| 107 | goto err; | ||
| 108 | r->sn = sn; | ||
| 109 | } | ||
| 110 | r->flags = o->flags | (ASN1_OBJECT_FLAG_DYNAMIC | | ||
| 111 | ASN1_OBJECT_FLAG_DYNAMIC_STRINGS | ASN1_OBJECT_FLAG_DYNAMIC_DATA); | ||
| 112 | return (r); | ||
| 113 | |||
| 114 | err: | ||
| 115 | OBJerror(ERR_R_MALLOC_FAILURE); | ||
| 116 | free(ln); | ||
| 117 | free(sn); | ||
| 118 | free(data); | ||
| 119 | free(r); | ||
| 120 | return (NULL); | ||
| 121 | } | ||
| 122 | LCRYPTO_ALIAS(OBJ_dup); | ||
| 123 | |||
| 124 | int | ||
| 125 | OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) | ||
| 126 | { | ||
| 127 | int cmp; | ||
| 128 | |||
| 129 | if ((cmp = a->length - b->length) != 0) | ||
| 130 | return cmp; | ||
| 131 | if (a->length == 0) | ||
| 132 | return 0; | ||
| 133 | return memcmp(a->data, b->data, a->length); | ||
| 134 | } | ||
| 135 | LCRYPTO_ALIAS(OBJ_cmp); | ||
diff --git a/src/lib/libcrypto/objects/obj_mac.num b/src/lib/libcrypto/objects/obj_mac.num deleted file mode 100644 index 728bf02400..0000000000 --- a/src/lib/libcrypto/objects/obj_mac.num +++ /dev/null | |||
| @@ -1,1055 +0,0 @@ | |||
| 1 | undef 0 | ||
| 2 | rsadsi 1 | ||
| 3 | pkcs 2 | ||
| 4 | md2 3 | ||
| 5 | md5 4 | ||
| 6 | rc4 5 | ||
| 7 | rsaEncryption 6 | ||
| 8 | md2WithRSAEncryption 7 | ||
| 9 | md5WithRSAEncryption 8 | ||
| 10 | pbeWithMD2AndDES_CBC 9 | ||
| 11 | pbeWithMD5AndDES_CBC 10 | ||
| 12 | X500 11 | ||
| 13 | X509 12 | ||
| 14 | commonName 13 | ||
| 15 | countryName 14 | ||
| 16 | localityName 15 | ||
| 17 | stateOrProvinceName 16 | ||
| 18 | organizationName 17 | ||
| 19 | organizationalUnitName 18 | ||
| 20 | rsa 19 | ||
| 21 | pkcs7 20 | ||
| 22 | pkcs7_data 21 | ||
| 23 | pkcs7_signed 22 | ||
| 24 | pkcs7_enveloped 23 | ||
| 25 | pkcs7_signedAndEnveloped 24 | ||
| 26 | pkcs7_digest 25 | ||
| 27 | pkcs7_encrypted 26 | ||
| 28 | pkcs3 27 | ||
| 29 | dhKeyAgreement 28 | ||
| 30 | des_ecb 29 | ||
| 31 | des_cfb64 30 | ||
| 32 | des_cbc 31 | ||
| 33 | des_ede_ecb 32 | ||
| 34 | des_ede3_ecb 33 | ||
| 35 | idea_cbc 34 | ||
| 36 | idea_cfb64 35 | ||
| 37 | idea_ecb 36 | ||
| 38 | rc2_cbc 37 | ||
| 39 | rc2_ecb 38 | ||
| 40 | rc2_cfb64 39 | ||
| 41 | rc2_ofb64 40 | ||
| 42 | sha 41 | ||
| 43 | shaWithRSAEncryption 42 | ||
| 44 | des_ede_cbc 43 | ||
| 45 | des_ede3_cbc 44 | ||
| 46 | des_ofb64 45 | ||
| 47 | idea_ofb64 46 | ||
| 48 | pkcs9 47 | ||
| 49 | pkcs9_emailAddress 48 | ||
| 50 | pkcs9_unstructuredName 49 | ||
| 51 | pkcs9_contentType 50 | ||
| 52 | pkcs9_messageDigest 51 | ||
| 53 | pkcs9_signingTime 52 | ||
| 54 | pkcs9_countersignature 53 | ||
| 55 | pkcs9_challengePassword 54 | ||
| 56 | pkcs9_unstructuredAddress 55 | ||
| 57 | pkcs9_extCertAttributes 56 | ||
| 58 | netscape 57 | ||
| 59 | netscape_cert_extension 58 | ||
| 60 | netscape_data_type 59 | ||
| 61 | des_ede_cfb64 60 | ||
| 62 | des_ede3_cfb64 61 | ||
| 63 | des_ede_ofb64 62 | ||
| 64 | des_ede3_ofb64 63 | ||
| 65 | sha1 64 | ||
| 66 | sha1WithRSAEncryption 65 | ||
| 67 | dsaWithSHA 66 | ||
| 68 | dsa_2 67 | ||
| 69 | pbeWithSHA1AndRC2_CBC 68 | ||
| 70 | id_pbkdf2 69 | ||
| 71 | dsaWithSHA1_2 70 | ||
| 72 | netscape_cert_type 71 | ||
| 73 | netscape_base_url 72 | ||
| 74 | netscape_revocation_url 73 | ||
| 75 | netscape_ca_revocation_url 74 | ||
| 76 | netscape_renewal_url 75 | ||
| 77 | netscape_ca_policy_url 76 | ||
| 78 | netscape_ssl_server_name 77 | ||
| 79 | netscape_comment 78 | ||
| 80 | netscape_cert_sequence 79 | ||
| 81 | desx_cbc 80 | ||
| 82 | id_ce 81 | ||
| 83 | subject_key_identifier 82 | ||
| 84 | key_usage 83 | ||
| 85 | private_key_usage_period 84 | ||
| 86 | subject_alt_name 85 | ||
| 87 | issuer_alt_name 86 | ||
| 88 | basic_constraints 87 | ||
| 89 | crl_number 88 | ||
| 90 | certificate_policies 89 | ||
| 91 | authority_key_identifier 90 | ||
| 92 | bf_cbc 91 | ||
| 93 | bf_ecb 92 | ||
| 94 | bf_cfb64 93 | ||
| 95 | bf_ofb64 94 | ||
| 96 | mdc2 95 | ||
| 97 | mdc2WithRSA 96 | ||
| 98 | rc4_40 97 | ||
| 99 | rc2_40_cbc 98 | ||
| 100 | givenName 99 | ||
| 101 | surname 100 | ||
| 102 | initials 101 | ||
| 103 | uniqueIdentifier 102 | ||
| 104 | crl_distribution_points 103 | ||
| 105 | md5WithRSA 104 | ||
| 106 | serialNumber 105 | ||
| 107 | title 106 | ||
| 108 | description 107 | ||
| 109 | cast5_cbc 108 | ||
| 110 | cast5_ecb 109 | ||
| 111 | cast5_cfb64 110 | ||
| 112 | cast5_ofb64 111 | ||
| 113 | pbeWithMD5AndCast5_CBC 112 | ||
| 114 | dsaWithSHA1 113 | ||
| 115 | md5_sha1 114 | ||
| 116 | sha1WithRSA 115 | ||
| 117 | dsa 116 | ||
| 118 | ripemd160 117 | ||
| 119 | ripemd160WithRSA 119 | ||
| 120 | rc5_cbc 120 | ||
| 121 | rc5_ecb 121 | ||
| 122 | rc5_cfb64 122 | ||
| 123 | rc5_ofb64 123 | ||
| 124 | rle_compression 124 | ||
| 125 | zlib_compression 125 | ||
| 126 | ext_key_usage 126 | ||
| 127 | id_pkix 127 | ||
| 128 | id_kp 128 | ||
| 129 | server_auth 129 | ||
| 130 | client_auth 130 | ||
| 131 | code_sign 131 | ||
| 132 | email_protect 132 | ||
| 133 | time_stamp 133 | ||
| 134 | ms_code_ind 134 | ||
| 135 | ms_code_com 135 | ||
| 136 | ms_ctl_sign 136 | ||
| 137 | ms_sgc 137 | ||
| 138 | ms_efs 138 | ||
| 139 | ns_sgc 139 | ||
| 140 | delta_crl 140 | ||
| 141 | crl_reason 141 | ||
| 142 | invalidity_date 142 | ||
| 143 | sxnet 143 | ||
| 144 | pbe_WithSHA1And128BitRC4 144 | ||
| 145 | pbe_WithSHA1And40BitRC4 145 | ||
| 146 | pbe_WithSHA1And3_Key_TripleDES_CBC 146 | ||
| 147 | pbe_WithSHA1And2_Key_TripleDES_CBC 147 | ||
| 148 | pbe_WithSHA1And128BitRC2_CBC 148 | ||
| 149 | pbe_WithSHA1And40BitRC2_CBC 149 | ||
| 150 | keyBag 150 | ||
| 151 | pkcs8ShroudedKeyBag 151 | ||
| 152 | certBag 152 | ||
| 153 | crlBag 153 | ||
| 154 | secretBag 154 | ||
| 155 | safeContentsBag 155 | ||
| 156 | friendlyName 156 | ||
| 157 | localKeyID 157 | ||
| 158 | x509Certificate 158 | ||
| 159 | sdsiCertificate 159 | ||
| 160 | x509Crl 160 | ||
| 161 | pbes2 161 | ||
| 162 | pbmac1 162 | ||
| 163 | hmacWithSHA1 163 | ||
| 164 | id_qt_cps 164 | ||
| 165 | id_qt_unotice 165 | ||
| 166 | rc2_64_cbc 166 | ||
| 167 | SMIMECapabilities 167 | ||
| 168 | pbeWithMD2AndRC2_CBC 168 | ||
| 169 | pbeWithMD5AndRC2_CBC 169 | ||
| 170 | pbeWithSHA1AndDES_CBC 170 | ||
| 171 | ms_ext_req 171 | ||
| 172 | ext_req 172 | ||
| 173 | name 173 | ||
| 174 | dnQualifier 174 | ||
| 175 | id_pe 175 | ||
| 176 | id_ad 176 | ||
| 177 | info_access 177 | ||
| 178 | ad_OCSP 178 | ||
| 179 | ad_ca_issuers 179 | ||
| 180 | OCSP_sign 180 | ||
| 181 | iso 181 | ||
| 182 | member_body 182 | ||
| 183 | ISO_US 183 | ||
| 184 | X9_57 184 | ||
| 185 | X9cm 185 | ||
| 186 | pkcs1 186 | ||
| 187 | pkcs5 187 | ||
| 188 | SMIME 188 | ||
| 189 | id_smime_mod 189 | ||
| 190 | id_smime_ct 190 | ||
| 191 | id_smime_aa 191 | ||
| 192 | id_smime_alg 192 | ||
| 193 | id_smime_cd 193 | ||
| 194 | id_smime_spq 194 | ||
| 195 | id_smime_cti 195 | ||
| 196 | id_smime_mod_cms 196 | ||
| 197 | id_smime_mod_ess 197 | ||
| 198 | id_smime_mod_oid 198 | ||
| 199 | id_smime_mod_msg_v3 199 | ||
| 200 | id_smime_mod_ets_eSignature_88 200 | ||
| 201 | id_smime_mod_ets_eSignature_97 201 | ||
| 202 | id_smime_mod_ets_eSigPolicy_88 202 | ||
| 203 | id_smime_mod_ets_eSigPolicy_97 203 | ||
| 204 | id_smime_ct_receipt 204 | ||
| 205 | id_smime_ct_authData 205 | ||
| 206 | id_smime_ct_publishCert 206 | ||
| 207 | id_smime_ct_TSTInfo 207 | ||
| 208 | id_smime_ct_TDTInfo 208 | ||
| 209 | id_smime_ct_contentInfo 209 | ||
| 210 | id_smime_ct_DVCSRequestData 210 | ||
| 211 | id_smime_ct_DVCSResponseData 211 | ||
| 212 | id_smime_aa_receiptRequest 212 | ||
| 213 | id_smime_aa_securityLabel 213 | ||
| 214 | id_smime_aa_mlExpandHistory 214 | ||
| 215 | id_smime_aa_contentHint 215 | ||
| 216 | id_smime_aa_msgSigDigest 216 | ||
| 217 | id_smime_aa_encapContentType 217 | ||
| 218 | id_smime_aa_contentIdentifier 218 | ||
| 219 | id_smime_aa_macValue 219 | ||
| 220 | id_smime_aa_equivalentLabels 220 | ||
| 221 | id_smime_aa_contentReference 221 | ||
| 222 | id_smime_aa_encrypKeyPref 222 | ||
| 223 | id_smime_aa_signingCertificate 223 | ||
| 224 | id_smime_aa_smimeEncryptCerts 224 | ||
| 225 | id_smime_aa_timeStampToken 225 | ||
| 226 | id_smime_aa_ets_sigPolicyId 226 | ||
| 227 | id_smime_aa_ets_commitmentType 227 | ||
| 228 | id_smime_aa_ets_signerLocation 228 | ||
| 229 | id_smime_aa_ets_signerAttr 229 | ||
| 230 | id_smime_aa_ets_otherSigCert 230 | ||
| 231 | id_smime_aa_ets_contentTimestamp 231 | ||
| 232 | id_smime_aa_ets_CertificateRefs 232 | ||
| 233 | id_smime_aa_ets_RevocationRefs 233 | ||
| 234 | id_smime_aa_ets_certValues 234 | ||
| 235 | id_smime_aa_ets_revocationValues 235 | ||
| 236 | id_smime_aa_ets_escTimeStamp 236 | ||
| 237 | id_smime_aa_ets_certCRLTimestamp 237 | ||
| 238 | id_smime_aa_ets_archiveTimeStamp 238 | ||
| 239 | id_smime_aa_signatureType 239 | ||
| 240 | id_smime_aa_dvcs_dvc 240 | ||
| 241 | id_smime_alg_ESDHwith3DES 241 | ||
| 242 | id_smime_alg_ESDHwithRC2 242 | ||
| 243 | id_smime_alg_3DESwrap 243 | ||
| 244 | id_smime_alg_RC2wrap 244 | ||
| 245 | id_smime_alg_ESDH 245 | ||
| 246 | id_smime_alg_CMS3DESwrap 246 | ||
| 247 | id_smime_alg_CMSRC2wrap 247 | ||
| 248 | id_smime_cd_ldap 248 | ||
| 249 | id_smime_spq_ets_sqt_uri 249 | ||
| 250 | id_smime_spq_ets_sqt_unotice 250 | ||
| 251 | id_smime_cti_ets_proofOfOrigin 251 | ||
| 252 | id_smime_cti_ets_proofOfReceipt 252 | ||
| 253 | id_smime_cti_ets_proofOfDelivery 253 | ||
| 254 | id_smime_cti_ets_proofOfSender 254 | ||
| 255 | id_smime_cti_ets_proofOfApproval 255 | ||
| 256 | id_smime_cti_ets_proofOfCreation 256 | ||
| 257 | md4 257 | ||
| 258 | id_pkix_mod 258 | ||
| 259 | id_qt 259 | ||
| 260 | id_it 260 | ||
| 261 | id_pkip 261 | ||
| 262 | id_alg 262 | ||
| 263 | id_cmc 263 | ||
| 264 | id_on 264 | ||
| 265 | id_pda 265 | ||
| 266 | id_aca 266 | ||
| 267 | id_qcs 267 | ||
| 268 | id_cct 268 | ||
| 269 | id_pkix1_explicit_88 269 | ||
| 270 | id_pkix1_implicit_88 270 | ||
| 271 | id_pkix1_explicit_93 271 | ||
| 272 | id_pkix1_implicit_93 272 | ||
| 273 | id_mod_crmf 273 | ||
| 274 | id_mod_cmc 274 | ||
| 275 | id_mod_kea_profile_88 275 | ||
| 276 | id_mod_kea_profile_93 276 | ||
| 277 | id_mod_cmp 277 | ||
| 278 | id_mod_qualified_cert_88 278 | ||
| 279 | id_mod_qualified_cert_93 279 | ||
| 280 | id_mod_attribute_cert 280 | ||
| 281 | id_mod_timestamp_protocol 281 | ||
| 282 | id_mod_ocsp 282 | ||
| 283 | id_mod_dvcs 283 | ||
| 284 | id_mod_cmp2000 284 | ||
| 285 | biometricInfo 285 | ||
| 286 | qcStatements 286 | ||
| 287 | ac_auditEntity 287 | ||
| 288 | ac_targeting 288 | ||
| 289 | aaControls 289 | ||
| 290 | sbgp_ipAddrBlock 290 | ||
| 291 | sbgp_autonomousSysNum 291 | ||
| 292 | sbgp_routerIdentifier 292 | ||
| 293 | textNotice 293 | ||
| 294 | ipsecEndSystem 294 | ||
| 295 | ipsecTunnel 295 | ||
| 296 | ipsecUser 296 | ||
| 297 | dvcs 297 | ||
| 298 | id_it_caProtEncCert 298 | ||
| 299 | id_it_signKeyPairTypes 299 | ||
| 300 | id_it_encKeyPairTypes 300 | ||
| 301 | id_it_preferredSymmAlg 301 | ||
| 302 | id_it_caKeyUpdateInfo 302 | ||
| 303 | id_it_currentCRL 303 | ||
| 304 | id_it_unsupportedOIDs 304 | ||
| 305 | id_it_subscriptionRequest 305 | ||
| 306 | id_it_subscriptionResponse 306 | ||
| 307 | id_it_keyPairParamReq 307 | ||
| 308 | id_it_keyPairParamRep 308 | ||
| 309 | id_it_revPassphrase 309 | ||
| 310 | id_it_implicitConfirm 310 | ||
| 311 | id_it_confirmWaitTime 311 | ||
| 312 | id_it_origPKIMessage 312 | ||
| 313 | id_regCtrl 313 | ||
| 314 | id_regInfo 314 | ||
| 315 | id_regCtrl_regToken 315 | ||
| 316 | id_regCtrl_authenticator 316 | ||
| 317 | id_regCtrl_pkiPublicationInfo 317 | ||
| 318 | id_regCtrl_pkiArchiveOptions 318 | ||
| 319 | id_regCtrl_oldCertID 319 | ||
| 320 | id_regCtrl_protocolEncrKey 320 | ||
| 321 | id_regInfo_utf8Pairs 321 | ||
| 322 | id_regInfo_certReq 322 | ||
| 323 | id_alg_des40 323 | ||
| 324 | id_alg_noSignature 324 | ||
| 325 | id_alg_dh_sig_hmac_sha1 325 | ||
| 326 | id_alg_dh_pop 326 | ||
| 327 | id_cmc_statusInfo 327 | ||
| 328 | id_cmc_identification 328 | ||
| 329 | id_cmc_identityProof 329 | ||
| 330 | id_cmc_dataReturn 330 | ||
| 331 | id_cmc_transactionId 331 | ||
| 332 | id_cmc_senderNonce 332 | ||
| 333 | id_cmc_recipientNonce 333 | ||
| 334 | id_cmc_addExtensions 334 | ||
| 335 | id_cmc_encryptedPOP 335 | ||
| 336 | id_cmc_decryptedPOP 336 | ||
| 337 | id_cmc_lraPOPWitness 337 | ||
| 338 | id_cmc_getCert 338 | ||
| 339 | id_cmc_getCRL 339 | ||
| 340 | id_cmc_revokeRequest 340 | ||
| 341 | id_cmc_regInfo 341 | ||
| 342 | id_cmc_responseInfo 342 | ||
| 343 | id_cmc_queryPending 343 | ||
| 344 | id_cmc_popLinkRandom 344 | ||
| 345 | id_cmc_popLinkWitness 345 | ||
| 346 | id_cmc_confirmCertAcceptance 346 | ||
| 347 | id_on_personalData 347 | ||
| 348 | id_pda_dateOfBirth 348 | ||
| 349 | id_pda_placeOfBirth 349 | ||
| 350 | id_pda_pseudonym 350 | ||
| 351 | id_pda_gender 351 | ||
| 352 | id_pda_countryOfCitizenship 352 | ||
| 353 | id_pda_countryOfResidence 353 | ||
| 354 | id_aca_authenticationInfo 354 | ||
| 355 | id_aca_accessIdentity 355 | ||
| 356 | id_aca_chargingIdentity 356 | ||
| 357 | id_aca_group 357 | ||
| 358 | id_aca_role 358 | ||
| 359 | id_qcs_pkixQCSyntax_v1 359 | ||
| 360 | id_cct_crs 360 | ||
| 361 | id_cct_PKIData 361 | ||
| 362 | id_cct_PKIResponse 362 | ||
| 363 | ad_timeStamping 363 | ||
| 364 | ad_dvcs 364 | ||
| 365 | id_pkix_OCSP_basic 365 | ||
| 366 | id_pkix_OCSP_Nonce 366 | ||
| 367 | id_pkix_OCSP_CrlID 367 | ||
| 368 | id_pkix_OCSP_acceptableResponses 368 | ||
| 369 | id_pkix_OCSP_noCheck 369 | ||
| 370 | id_pkix_OCSP_archiveCutoff 370 | ||
| 371 | id_pkix_OCSP_serviceLocator 371 | ||
| 372 | id_pkix_OCSP_extendedStatus 372 | ||
| 373 | id_pkix_OCSP_valid 373 | ||
| 374 | id_pkix_OCSP_path 374 | ||
| 375 | id_pkix_OCSP_trustRoot 375 | ||
| 376 | algorithm 376 | ||
| 377 | rsaSignature 377 | ||
| 378 | X500algorithms 378 | ||
| 379 | org 379 | ||
| 380 | dod 380 | ||
| 381 | iana 381 | ||
| 382 | Directory 382 | ||
| 383 | Management 383 | ||
| 384 | Experimental 384 | ||
| 385 | Private 385 | ||
| 386 | Security 386 | ||
| 387 | SNMPv2 387 | ||
| 388 | Mail 388 | ||
| 389 | Enterprises 389 | ||
| 390 | dcObject 390 | ||
| 391 | domainComponent 391 | ||
| 392 | Domain 392 | ||
| 393 | joint_iso_ccitt 393 | ||
| 394 | selected_attribute_types 394 | ||
| 395 | clearance 395 | ||
| 396 | md4WithRSAEncryption 396 | ||
| 397 | ac_proxying 397 | ||
| 398 | sinfo_access 398 | ||
| 399 | id_aca_encAttrs 399 | ||
| 400 | role 400 | ||
| 401 | policy_constraints 401 | ||
| 402 | target_information 402 | ||
| 403 | no_rev_avail 403 | ||
| 404 | ccitt 404 | ||
| 405 | ansi_X9_62 405 | ||
| 406 | X9_62_prime_field 406 | ||
| 407 | X9_62_characteristic_two_field 407 | ||
| 408 | X9_62_id_ecPublicKey 408 | ||
| 409 | X9_62_prime192v1 409 | ||
| 410 | X9_62_prime192v2 410 | ||
| 411 | X9_62_prime192v3 411 | ||
| 412 | X9_62_prime239v1 412 | ||
| 413 | X9_62_prime239v2 413 | ||
| 414 | X9_62_prime239v3 414 | ||
| 415 | X9_62_prime256v1 415 | ||
| 416 | ecdsa_with_SHA1 416 | ||
| 417 | ms_csp_name 417 | ||
| 418 | aes_128_ecb 418 | ||
| 419 | aes_128_cbc 419 | ||
| 420 | aes_128_ofb128 420 | ||
| 421 | aes_128_cfb128 421 | ||
| 422 | aes_192_ecb 422 | ||
| 423 | aes_192_cbc 423 | ||
| 424 | aes_192_ofb128 424 | ||
| 425 | aes_192_cfb128 425 | ||
| 426 | aes_256_ecb 426 | ||
| 427 | aes_256_cbc 427 | ||
| 428 | aes_256_ofb128 428 | ||
| 429 | aes_256_cfb128 429 | ||
| 430 | hold_instruction_code 430 | ||
| 431 | hold_instruction_none 431 | ||
| 432 | hold_instruction_call_issuer 432 | ||
| 433 | hold_instruction_reject 433 | ||
| 434 | data 434 | ||
| 435 | pss 435 | ||
| 436 | ucl 436 | ||
| 437 | pilot 437 | ||
| 438 | pilotAttributeType 438 | ||
| 439 | pilotAttributeSyntax 439 | ||
| 440 | pilotObjectClass 440 | ||
| 441 | pilotGroups 441 | ||
| 442 | iA5StringSyntax 442 | ||
| 443 | caseIgnoreIA5StringSyntax 443 | ||
| 444 | pilotObject 444 | ||
| 445 | pilotPerson 445 | ||
| 446 | account 446 | ||
| 447 | document 447 | ||
| 448 | room 448 | ||
| 449 | documentSeries 449 | ||
| 450 | rFC822localPart 450 | ||
| 451 | dNSDomain 451 | ||
| 452 | domainRelatedObject 452 | ||
| 453 | friendlyCountry 453 | ||
| 454 | simpleSecurityObject 454 | ||
| 455 | pilotOrganization 455 | ||
| 456 | pilotDSA 456 | ||
| 457 | qualityLabelledData 457 | ||
| 458 | userId 458 | ||
| 459 | textEncodedORAddress 459 | ||
| 460 | rfc822Mailbox 460 | ||
| 461 | info 461 | ||
| 462 | favouriteDrink 462 | ||
| 463 | roomNumber 463 | ||
| 464 | photo 464 | ||
| 465 | userClass 465 | ||
| 466 | host 466 | ||
| 467 | manager 467 | ||
| 468 | documentIdentifier 468 | ||
| 469 | documentTitle 469 | ||
| 470 | documentVersion 470 | ||
| 471 | documentAuthor 471 | ||
| 472 | documentLocation 472 | ||
| 473 | homeTelephoneNumber 473 | ||
| 474 | secretary 474 | ||
| 475 | otherMailbox 475 | ||
| 476 | lastModifiedTime 476 | ||
| 477 | lastModifiedBy 477 | ||
| 478 | aRecord 478 | ||
| 479 | pilotAttributeType27 479 | ||
| 480 | mXRecord 480 | ||
| 481 | nSRecord 481 | ||
| 482 | sOARecord 482 | ||
| 483 | cNAMERecord 483 | ||
| 484 | associatedDomain 484 | ||
| 485 | associatedName 485 | ||
| 486 | homePostalAddress 486 | ||
| 487 | personalTitle 487 | ||
| 488 | mobileTelephoneNumber 488 | ||
| 489 | pagerTelephoneNumber 489 | ||
| 490 | friendlyCountryName 490 | ||
| 491 | organizationalStatus 491 | ||
| 492 | janetMailbox 492 | ||
| 493 | mailPreferenceOption 493 | ||
| 494 | buildingName 494 | ||
| 495 | dSAQuality 495 | ||
| 496 | singleLevelQuality 496 | ||
| 497 | subtreeMinimumQuality 497 | ||
| 498 | subtreeMaximumQuality 498 | ||
| 499 | personalSignature 499 | ||
| 500 | dITRedirect 500 | ||
| 501 | audio 501 | ||
| 502 | documentPublisher 502 | ||
| 503 | x500UniqueIdentifier 503 | ||
| 504 | mime_mhs 504 | ||
| 505 | mime_mhs_headings 505 | ||
| 506 | mime_mhs_bodies 506 | ||
| 507 | id_hex_partial_message 507 | ||
| 508 | id_hex_multipart_message 508 | ||
| 509 | generationQualifier 509 | ||
| 510 | pseudonym 510 | ||
| 511 | InternationalRA 511 | ||
| 512 | id_set 512 | ||
| 513 | set_ctype 513 | ||
| 514 | set_msgExt 514 | ||
| 515 | set_attr 515 | ||
| 516 | set_policy 516 | ||
| 517 | set_certExt 517 | ||
| 518 | set_brand 518 | ||
| 519 | setct_PANData 519 | ||
| 520 | setct_PANToken 520 | ||
| 521 | setct_PANOnly 521 | ||
| 522 | setct_OIData 522 | ||
| 523 | setct_PI 523 | ||
| 524 | setct_PIData 524 | ||
| 525 | setct_PIDataUnsigned 525 | ||
| 526 | setct_HODInput 526 | ||
| 527 | setct_AuthResBaggage 527 | ||
| 528 | setct_AuthRevReqBaggage 528 | ||
| 529 | setct_AuthRevResBaggage 529 | ||
| 530 | setct_CapTokenSeq 530 | ||
| 531 | setct_PInitResData 531 | ||
| 532 | setct_PI_TBS 532 | ||
| 533 | setct_PResData 533 | ||
| 534 | setct_AuthReqTBS 534 | ||
| 535 | setct_AuthResTBS 535 | ||
| 536 | setct_AuthResTBSX 536 | ||
| 537 | setct_AuthTokenTBS 537 | ||
| 538 | setct_CapTokenData 538 | ||
| 539 | setct_CapTokenTBS 539 | ||
| 540 | setct_AcqCardCodeMsg 540 | ||
| 541 | setct_AuthRevReqTBS 541 | ||
| 542 | setct_AuthRevResData 542 | ||
| 543 | setct_AuthRevResTBS 543 | ||
| 544 | setct_CapReqTBS 544 | ||
| 545 | setct_CapReqTBSX 545 | ||
| 546 | setct_CapResData 546 | ||
| 547 | setct_CapRevReqTBS 547 | ||
| 548 | setct_CapRevReqTBSX 548 | ||
| 549 | setct_CapRevResData 549 | ||
| 550 | setct_CredReqTBS 550 | ||
| 551 | setct_CredReqTBSX 551 | ||
| 552 | setct_CredResData 552 | ||
| 553 | setct_CredRevReqTBS 553 | ||
| 554 | setct_CredRevReqTBSX 554 | ||
| 555 | setct_CredRevResData 555 | ||
| 556 | setct_PCertReqData 556 | ||
| 557 | setct_PCertResTBS 557 | ||
| 558 | setct_BatchAdminReqData 558 | ||
| 559 | setct_BatchAdminResData 559 | ||
| 560 | setct_CardCInitResTBS 560 | ||
| 561 | setct_MeAqCInitResTBS 561 | ||
| 562 | setct_RegFormResTBS 562 | ||
| 563 | setct_CertReqData 563 | ||
| 564 | setct_CertReqTBS 564 | ||
| 565 | setct_CertResData 565 | ||
| 566 | setct_CertInqReqTBS 566 | ||
| 567 | setct_ErrorTBS 567 | ||
| 568 | setct_PIDualSignedTBE 568 | ||
| 569 | setct_PIUnsignedTBE 569 | ||
| 570 | setct_AuthReqTBE 570 | ||
| 571 | setct_AuthResTBE 571 | ||
| 572 | setct_AuthResTBEX 572 | ||
| 573 | setct_AuthTokenTBE 573 | ||
| 574 | setct_CapTokenTBE 574 | ||
| 575 | setct_CapTokenTBEX 575 | ||
| 576 | setct_AcqCardCodeMsgTBE 576 | ||
| 577 | setct_AuthRevReqTBE 577 | ||
| 578 | setct_AuthRevResTBE 578 | ||
| 579 | setct_AuthRevResTBEB 579 | ||
| 580 | setct_CapReqTBE 580 | ||
| 581 | setct_CapReqTBEX 581 | ||
| 582 | setct_CapResTBE 582 | ||
| 583 | setct_CapRevReqTBE 583 | ||
| 584 | setct_CapRevReqTBEX 584 | ||
| 585 | setct_CapRevResTBE 585 | ||
| 586 | setct_CredReqTBE 586 | ||
| 587 | setct_CredReqTBEX 587 | ||
| 588 | setct_CredResTBE 588 | ||
| 589 | setct_CredRevReqTBE 589 | ||
| 590 | setct_CredRevReqTBEX 590 | ||
| 591 | setct_CredRevResTBE 591 | ||
| 592 | setct_BatchAdminReqTBE 592 | ||
| 593 | setct_BatchAdminResTBE 593 | ||
| 594 | setct_RegFormReqTBE 594 | ||
| 595 | setct_CertReqTBE 595 | ||
| 596 | setct_CertReqTBEX 596 | ||
| 597 | setct_CertResTBE 597 | ||
| 598 | setct_CRLNotificationTBS 598 | ||
| 599 | setct_CRLNotificationResTBS 599 | ||
| 600 | setct_BCIDistributionTBS 600 | ||
| 601 | setext_genCrypt 601 | ||
| 602 | setext_miAuth 602 | ||
| 603 | setext_pinSecure 603 | ||
| 604 | setext_pinAny 604 | ||
| 605 | setext_track2 605 | ||
| 606 | setext_cv 606 | ||
| 607 | set_policy_root 607 | ||
| 608 | setCext_hashedRoot 608 | ||
| 609 | setCext_certType 609 | ||
| 610 | setCext_merchData 610 | ||
| 611 | setCext_cCertRequired 611 | ||
| 612 | setCext_tunneling 612 | ||
| 613 | setCext_setExt 613 | ||
| 614 | setCext_setQualf 614 | ||
| 615 | setCext_PGWYcapabilities 615 | ||
| 616 | setCext_TokenIdentifier 616 | ||
| 617 | setCext_Track2Data 617 | ||
| 618 | setCext_TokenType 618 | ||
| 619 | setCext_IssuerCapabilities 619 | ||
| 620 | setAttr_Cert 620 | ||
| 621 | setAttr_PGWYcap 621 | ||
| 622 | setAttr_TokenType 622 | ||
| 623 | setAttr_IssCap 623 | ||
| 624 | set_rootKeyThumb 624 | ||
| 625 | set_addPolicy 625 | ||
| 626 | setAttr_Token_EMV 626 | ||
| 627 | setAttr_Token_B0Prime 627 | ||
| 628 | setAttr_IssCap_CVM 628 | ||
| 629 | setAttr_IssCap_T2 629 | ||
| 630 | setAttr_IssCap_Sig 630 | ||
| 631 | setAttr_GenCryptgrm 631 | ||
| 632 | setAttr_T2Enc 632 | ||
| 633 | setAttr_T2cleartxt 633 | ||
| 634 | setAttr_TokICCsig 634 | ||
| 635 | setAttr_SecDevSig 635 | ||
| 636 | set_brand_IATA_ATA 636 | ||
| 637 | set_brand_Diners 637 | ||
| 638 | set_brand_AmericanExpress 638 | ||
| 639 | set_brand_JCB 639 | ||
| 640 | set_brand_Visa 640 | ||
| 641 | set_brand_MasterCard 641 | ||
| 642 | set_brand_Novus 642 | ||
| 643 | des_cdmf 643 | ||
| 644 | rsaOAEPEncryptionSET 644 | ||
| 645 | itu_t 645 | ||
| 646 | joint_iso_itu_t 646 | ||
| 647 | international_organizations 647 | ||
| 648 | ms_smartcard_login 648 | ||
| 649 | ms_upn 649 | ||
| 650 | aes_128_cfb1 650 | ||
| 651 | aes_192_cfb1 651 | ||
| 652 | aes_256_cfb1 652 | ||
| 653 | aes_128_cfb8 653 | ||
| 654 | aes_192_cfb8 654 | ||
| 655 | aes_256_cfb8 655 | ||
| 656 | des_cfb1 656 | ||
| 657 | des_cfb8 657 | ||
| 658 | des_ede3_cfb1 658 | ||
| 659 | des_ede3_cfb8 659 | ||
| 660 | streetAddress 660 | ||
| 661 | postalCode 661 | ||
| 662 | id_ppl 662 | ||
| 663 | proxyCertInfo 663 | ||
| 664 | id_ppl_anyLanguage 664 | ||
| 665 | id_ppl_inheritAll 665 | ||
| 666 | name_constraints 666 | ||
| 667 | Independent 667 | ||
| 668 | sha256WithRSAEncryption 668 | ||
| 669 | sha384WithRSAEncryption 669 | ||
| 670 | sha512WithRSAEncryption 670 | ||
| 671 | sha224WithRSAEncryption 671 | ||
| 672 | sha256 672 | ||
| 673 | sha384 673 | ||
| 674 | sha512 674 | ||
| 675 | sha224 675 | ||
| 676 | identified_organization 676 | ||
| 677 | certicom_arc 677 | ||
| 678 | wap 678 | ||
| 679 | wap_wsg 679 | ||
| 680 | X9_62_id_characteristic_two_basis 680 | ||
| 681 | X9_62_onBasis 681 | ||
| 682 | X9_62_tpBasis 682 | ||
| 683 | X9_62_ppBasis 683 | ||
| 684 | X9_62_c2pnb163v1 684 | ||
| 685 | X9_62_c2pnb163v2 685 | ||
| 686 | X9_62_c2pnb163v3 686 | ||
| 687 | X9_62_c2pnb176v1 687 | ||
| 688 | X9_62_c2tnb191v1 688 | ||
| 689 | X9_62_c2tnb191v2 689 | ||
| 690 | X9_62_c2tnb191v3 690 | ||
| 691 | X9_62_c2onb191v4 691 | ||
| 692 | X9_62_c2onb191v5 692 | ||
| 693 | X9_62_c2pnb208w1 693 | ||
| 694 | X9_62_c2tnb239v1 694 | ||
| 695 | X9_62_c2tnb239v2 695 | ||
| 696 | X9_62_c2tnb239v3 696 | ||
| 697 | X9_62_c2onb239v4 697 | ||
| 698 | X9_62_c2onb239v5 698 | ||
| 699 | X9_62_c2pnb272w1 699 | ||
| 700 | X9_62_c2pnb304w1 700 | ||
| 701 | X9_62_c2tnb359v1 701 | ||
| 702 | X9_62_c2pnb368w1 702 | ||
| 703 | X9_62_c2tnb431r1 703 | ||
| 704 | secp112r1 704 | ||
| 705 | secp112r2 705 | ||
| 706 | secp128r1 706 | ||
| 707 | secp128r2 707 | ||
| 708 | secp160k1 708 | ||
| 709 | secp160r1 709 | ||
| 710 | secp160r2 710 | ||
| 711 | secp192k1 711 | ||
| 712 | secp224k1 712 | ||
| 713 | secp224r1 713 | ||
| 714 | secp256k1 714 | ||
| 715 | secp384r1 715 | ||
| 716 | secp521r1 716 | ||
| 717 | sect113r1 717 | ||
| 718 | sect113r2 718 | ||
| 719 | sect131r1 719 | ||
| 720 | sect131r2 720 | ||
| 721 | sect163k1 721 | ||
| 722 | sect163r1 722 | ||
| 723 | sect163r2 723 | ||
| 724 | sect193r1 724 | ||
| 725 | sect193r2 725 | ||
| 726 | sect233k1 726 | ||
| 727 | sect233r1 727 | ||
| 728 | sect239k1 728 | ||
| 729 | sect283k1 729 | ||
| 730 | sect283r1 730 | ||
| 731 | sect409k1 731 | ||
| 732 | sect409r1 732 | ||
| 733 | sect571k1 733 | ||
| 734 | sect571r1 734 | ||
| 735 | wap_wsg_idm_ecid_wtls1 735 | ||
| 736 | wap_wsg_idm_ecid_wtls3 736 | ||
| 737 | wap_wsg_idm_ecid_wtls4 737 | ||
| 738 | wap_wsg_idm_ecid_wtls5 738 | ||
| 739 | wap_wsg_idm_ecid_wtls6 739 | ||
| 740 | wap_wsg_idm_ecid_wtls7 740 | ||
| 741 | wap_wsg_idm_ecid_wtls8 741 | ||
| 742 | wap_wsg_idm_ecid_wtls9 742 | ||
| 743 | wap_wsg_idm_ecid_wtls10 743 | ||
| 744 | wap_wsg_idm_ecid_wtls11 744 | ||
| 745 | wap_wsg_idm_ecid_wtls12 745 | ||
| 746 | any_policy 746 | ||
| 747 | policy_mappings 747 | ||
| 748 | inhibit_any_policy 748 | ||
| 749 | ipsec3 749 | ||
| 750 | ipsec4 750 | ||
| 751 | camellia_128_cbc 751 | ||
| 752 | camellia_192_cbc 752 | ||
| 753 | camellia_256_cbc 753 | ||
| 754 | camellia_128_ecb 754 | ||
| 755 | camellia_192_ecb 755 | ||
| 756 | camellia_256_ecb 756 | ||
| 757 | camellia_128_cfb128 757 | ||
| 758 | camellia_192_cfb128 758 | ||
| 759 | camellia_256_cfb128 759 | ||
| 760 | camellia_128_cfb1 760 | ||
| 761 | camellia_192_cfb1 761 | ||
| 762 | camellia_256_cfb1 762 | ||
| 763 | camellia_128_cfb8 763 | ||
| 764 | camellia_192_cfb8 764 | ||
| 765 | camellia_256_cfb8 765 | ||
| 766 | camellia_128_ofb128 766 | ||
| 767 | camellia_192_ofb128 767 | ||
| 768 | camellia_256_ofb128 768 | ||
| 769 | subject_directory_attributes 769 | ||
| 770 | issuing_distribution_point 770 | ||
| 771 | certificate_issuer 771 | ||
| 772 | korea 772 | ||
| 773 | kisa 773 | ||
| 774 | kftc 774 | ||
| 775 | npki_alg 775 | ||
| 776 | seed_ecb 776 | ||
| 777 | seed_cbc 777 | ||
| 778 | seed_ofb128 778 | ||
| 779 | seed_cfb128 779 | ||
| 780 | hmac_md5 780 | ||
| 781 | hmac_sha1 781 | ||
| 782 | id_PasswordBasedMAC 782 | ||
| 783 | id_DHBasedMac 783 | ||
| 784 | id_it_suppLangTags 784 | ||
| 785 | caRepository 785 | ||
| 786 | id_smime_ct_compressedData 786 | ||
| 787 | id_ct_asciiTextWithCRLF 787 | ||
| 788 | id_aes128_wrap 788 | ||
| 789 | id_aes192_wrap 789 | ||
| 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 | ||
| 859 | searchGuide 859 | ||
| 860 | businessCategory 860 | ||
| 861 | postalAddress 861 | ||
| 862 | postOfficeBox 862 | ||
| 863 | physicalDeliveryOfficeName 863 | ||
| 864 | telephoneNumber 864 | ||
| 865 | telexNumber 865 | ||
| 866 | teletexTerminalIdentifier 866 | ||
| 867 | facsimileTelephoneNumber 867 | ||
| 868 | x121Address 868 | ||
| 869 | internationaliSDNNumber 869 | ||
| 870 | registeredAddress 870 | ||
| 871 | destinationIndicator 871 | ||
| 872 | preferredDeliveryMethod 872 | ||
| 873 | presentationAddress 873 | ||
| 874 | supportedApplicationContext 874 | ||
| 875 | member 875 | ||
| 876 | owner 876 | ||
| 877 | roleOccupant 877 | ||
| 878 | seeAlso 878 | ||
| 879 | userPassword 879 | ||
| 880 | userCertificate 880 | ||
| 881 | cACertificate 881 | ||
| 882 | authorityRevocationList 882 | ||
| 883 | certificateRevocationList 883 | ||
| 884 | crossCertificatePair 884 | ||
| 885 | enhancedSearchGuide 885 | ||
| 886 | protocolInformation 886 | ||
| 887 | distinguishedName 887 | ||
| 888 | uniqueMember 888 | ||
| 889 | houseIdentifier 889 | ||
| 890 | supportedAlgorithms 890 | ||
| 891 | deltaRevocationList 891 | ||
| 892 | dmdName 892 | ||
| 893 | id_alg_PWRI_KEK 893 | ||
| 894 | cmac 894 | ||
| 895 | aes_128_gcm 895 | ||
| 896 | aes_128_ccm 896 | ||
| 897 | id_aes128_wrap_pad 897 | ||
| 898 | aes_192_gcm 898 | ||
| 899 | aes_192_ccm 899 | ||
| 900 | id_aes192_wrap_pad 900 | ||
| 901 | aes_256_gcm 901 | ||
| 902 | aes_256_ccm 902 | ||
| 903 | id_aes256_wrap_pad 903 | ||
| 904 | aes_128_ctr 904 | ||
| 905 | aes_192_ctr 905 | ||
| 906 | aes_256_ctr 906 | ||
| 907 | id_camellia128_wrap 907 | ||
| 908 | id_camellia192_wrap 908 | ||
| 909 | id_camellia256_wrap 909 | ||
| 910 | anyExtendedKeyUsage 910 | ||
| 911 | mgf1 911 | ||
| 912 | rsassaPss 912 | ||
| 913 | aes_128_xts 913 | ||
| 914 | aes_256_xts 914 | ||
| 915 | rc4_hmac_md5 915 | ||
| 916 | aes_128_cbc_hmac_sha1 916 | ||
| 917 | aes_192_cbc_hmac_sha1 917 | ||
| 918 | aes_256_cbc_hmac_sha1 918 | ||
| 919 | rsaesOaep 919 | ||
| 920 | teletrust 920 | ||
| 921 | brainpool 921 | ||
| 922 | brainpoolP160r1 922 | ||
| 923 | brainpoolP160t1 923 | ||
| 924 | brainpoolP192r1 924 | ||
| 925 | brainpoolP192t1 925 | ||
| 926 | brainpoolP224r1 926 | ||
| 927 | brainpoolP224t1 927 | ||
| 928 | brainpoolP256r1 928 | ||
| 929 | brainpoolP256t1 929 | ||
| 930 | brainpoolP320r1 930 | ||
| 931 | brainpoolP320t1 931 | ||
| 932 | brainpoolP384r1 932 | ||
| 933 | brainpoolP384t1 933 | ||
| 934 | brainpoolP512r1 934 | ||
| 935 | brainpoolP512t1 935 | ||
| 936 | FRP256v1 936 | ||
| 937 | chacha20 937 | ||
| 938 | gost89_ecb 938 | ||
| 939 | gost89_cbc 939 | ||
| 940 | tc26 940 | ||
| 941 | id_tc26_gost3411_2012_256 941 | ||
| 942 | id_tc26_gost3411_2012_512 942 | ||
| 943 | id_tc26_gost_3410_12_512_paramSetA 943 | ||
| 944 | id_tc26_gost_3410_12_512_paramSetB 944 | ||
| 945 | id_tc26_gost_28147_param_Z 945 | ||
| 946 | id_tc26_gost3410_2012_256 946 | ||
| 947 | id_tc26_gost3410_2012_512 947 | ||
| 948 | id_tc26_signwithdigest_gost3410_2012_256 948 | ||
| 949 | id_tc26_signwithdigest_gost3410_2012_512 949 | ||
| 950 | X25519 950 | ||
| 951 | X448 951 | ||
| 952 | Ed25519 952 | ||
| 953 | Ed448 953 | ||
| 954 | Ed25519ph 954 | ||
| 955 | Ed448ph 955 | ||
| 956 | jurisdictionLocalityName 956 | ||
| 957 | jurisdictionStateOrProvinceName 957 | ||
| 958 | jurisdictionCountryName 958 | ||
| 959 | kx_rsa 959 | ||
| 960 | kx_ecdhe 960 | ||
| 961 | kx_dhe 961 | ||
| 962 | kx_gost 962 | ||
| 963 | auth_rsa 963 | ||
| 964 | auth_ecdsa 964 | ||
| 965 | auth_gost01 965 | ||
| 966 | auth_null 966 | ||
| 967 | chacha20_poly1305 967 | ||
| 968 | sm3 968 | ||
| 969 | sm3WithRSAEncryption 969 | ||
| 970 | ISO_CN 970 | ||
| 971 | oscca 971 | ||
| 972 | sm_scheme 972 | ||
| 973 | sm4_ecb 973 | ||
| 974 | sm4_cbc 974 | ||
| 975 | sm4_ofb128 975 | ||
| 976 | sm4_cfb128 976 | ||
| 977 | sm4_cfb1 977 | ||
| 978 | sm4_cfb8 978 | ||
| 979 | sm4_ctr 979 | ||
| 980 | dhSinglePass_stdDH_sha1kdf_scheme 980 | ||
| 981 | dhSinglePass_stdDH_sha224kdf_scheme 981 | ||
| 982 | dhSinglePass_stdDH_sha256kdf_scheme 982 | ||
| 983 | dhSinglePass_stdDH_sha384kdf_scheme 983 | ||
| 984 | dhSinglePass_stdDH_sha512kdf_scheme 984 | ||
| 985 | dhSinglePass_cofactorDH_sha1kdf_scheme 985 | ||
| 986 | dhSinglePass_cofactorDH_sha224kdf_scheme 986 | ||
| 987 | dhSinglePass_cofactorDH_sha256kdf_scheme 987 | ||
| 988 | dhSinglePass_cofactorDH_sha384kdf_scheme 988 | ||
| 989 | dhSinglePass_cofactorDH_sha512kdf_scheme 989 | ||
| 990 | dh_std_kdf 990 | ||
| 991 | dh_cofactor_kdf 991 | ||
| 992 | pSpecified 992 | ||
| 993 | id_tc26_gost_3410_12_256_paramSetA 993 | ||
| 994 | id_tc26_gost_3410_12_256_paramSetB 994 | ||
| 995 | id_tc26_gost_3410_12_256_paramSetC 995 | ||
| 996 | id_tc26_gost_3410_12_256_paramSetD 996 | ||
| 997 | id_tc26_gost_3410_12_512_paramSetTest 997 | ||
| 998 | id_tc26_gost_3410_12_512_paramSetC 998 | ||
| 999 | id_tc26_hmac_gost_3411_12_256 999 | ||
| 1000 | id_tc26_hmac_gost_3411_12_512 1000 | ||
| 1001 | id_ct_routeOriginAuthz 1001 | ||
| 1002 | id_ct_rpkiManifest 1002 | ||
| 1003 | id_ct_rpkiGhostbusters 1003 | ||
| 1004 | id_ct_resourceTaggedAttest 1004 | ||
| 1005 | id_cp 1005 | ||
| 1006 | sbgp_ipAddrBlockv2 1006 | ||
| 1007 | sbgp_autonomousSysNumv2 1007 | ||
| 1008 | ipAddr_asNumber 1008 | ||
| 1009 | ipAddr_asNumberv2 1009 | ||
| 1010 | rpkiManifest 1010 | ||
| 1011 | signedObject 1011 | ||
| 1012 | rpkiNotify 1012 | ||
| 1013 | id_ct_geofeedCSVwithCRLF 1013 | ||
| 1014 | id_ct_signedChecklist 1014 | ||
| 1015 | id_kp_bgpsec_router 1015 | ||
| 1016 | tlsfeature 1016 | ||
| 1017 | id_ct_ASPA 1017 | ||
| 1018 | ct_precert_scts 1018 | ||
| 1019 | ct_precert_poison 1019 | ||
| 1020 | ct_precert_signer 1020 | ||
| 1021 | ct_cert_scts 1021 | ||
| 1022 | hkdf 1022 | ||
| 1023 | id_smime_aa_signingCertificateV2 1023 | ||
| 1024 | id_ct_signedTAL 1024 | ||
| 1025 | sha512_224WithRSAEncryption 1025 | ||
| 1026 | sha512_256WithRSAEncryption 1026 | ||
| 1027 | hmacWithSHA512_224 1027 | ||
| 1028 | hmacWithSHA512_256 1028 | ||
| 1029 | sha512_224 1029 | ||
| 1030 | sha512_256 1030 | ||
| 1031 | sha3_224 1031 | ||
| 1032 | sha3_256 1032 | ||
| 1033 | sha3_384 1033 | ||
| 1034 | sha3_512 1034 | ||
| 1035 | hmac_sha3_224 1035 | ||
| 1036 | hmac_sha3_256 1036 | ||
| 1037 | hmac_sha3_384 1037 | ||
| 1038 | hmac_sha3_512 1038 | ||
| 1039 | dsa_with_SHA384 1039 | ||
| 1040 | dsa_with_SHA512 1040 | ||
| 1041 | dsa_with_SHA3_224 1041 | ||
| 1042 | dsa_with_SHA3_256 1042 | ||
| 1043 | dsa_with_SHA3_384 1043 | ||
| 1044 | dsa_with_SHA3_512 1044 | ||
| 1045 | ecdsa_with_SHA3_224 1045 | ||
| 1046 | ecdsa_with_SHA3_256 1046 | ||
| 1047 | ecdsa_with_SHA3_384 1047 | ||
| 1048 | ecdsa_with_SHA3_512 1048 | ||
| 1049 | RSA_SHA3_224 1049 | ||
| 1050 | RSA_SHA3_256 1050 | ||
| 1051 | RSA_SHA3_384 1051 | ||
| 1052 | RSA_SHA3_512 1052 | ||
| 1053 | acmeIdentifier 1053 | ||
| 1054 | id_ct_rpkiSignedPrefixList 1054 | ||
| 1055 | tls1_prf 1055 | ||
diff --git a/src/lib/libcrypto/objects/obj_xref.c b/src/lib/libcrypto/objects/obj_xref.c deleted file mode 100644 index 04611d68e3..0000000000 --- a/src/lib/libcrypto/objects/obj_xref.c +++ /dev/null | |||
| @@ -1,332 +0,0 @@ | |||
| 1 | /* $OpenBSD: obj_xref.c,v 1.15 2024/08/28 06:53:24 tb Exp $ */ | ||
| 2 | |||
| 3 | /* | ||
| 4 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | ||
| 5 | * | ||
| 6 | * Permission to use, copy, modify, and distribute this software for any | ||
| 7 | * purpose with or without fee is hereby granted, provided that the above | ||
| 8 | * copyright notice and this permission notice appear in all copies. | ||
| 9 | * | ||
| 10 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 11 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 12 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 13 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 14 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 15 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include <openssl/objects.h> | ||
| 20 | |||
| 21 | /* | ||
| 22 | * Map between signature nids and pairs of (hash, pkey) nids. If the hash nid | ||
| 23 | * is NID_undef, this indicates to ASN1_item_{sign,verify}() that the pkey's | ||
| 24 | * ASN.1 method needs to handle algorithm identifiers and part of the message | ||
| 25 | * digest. | ||
| 26 | */ | ||
| 27 | |||
| 28 | static const struct { | ||
| 29 | int sign_nid; | ||
| 30 | int hash_nid; | ||
| 31 | int pkey_nid; | ||
| 32 | } nid_triple[] = { | ||
| 33 | { | ||
| 34 | .sign_nid = NID_md2WithRSAEncryption, | ||
| 35 | .hash_nid = NID_md2, | ||
| 36 | .pkey_nid = NID_rsaEncryption, | ||
| 37 | }, | ||
| 38 | { | ||
| 39 | .sign_nid = NID_md5WithRSAEncryption, | ||
| 40 | .hash_nid = NID_md5, | ||
| 41 | .pkey_nid = NID_rsaEncryption, | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | .sign_nid = NID_shaWithRSAEncryption, | ||
| 45 | .hash_nid = NID_sha, | ||
| 46 | .pkey_nid = NID_rsaEncryption, | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | .sign_nid = NID_sha1WithRSAEncryption, | ||
| 50 | .hash_nid = NID_sha1, | ||
| 51 | .pkey_nid = NID_rsaEncryption, | ||
| 52 | }, | ||
| 53 | { | ||
| 54 | .sign_nid = NID_dsaWithSHA, | ||
| 55 | .hash_nid = NID_sha, | ||
| 56 | .pkey_nid = NID_dsa, | ||
| 57 | }, | ||
| 58 | { | ||
| 59 | .sign_nid = NID_dsaWithSHA1_2, | ||
| 60 | .hash_nid = NID_sha1, | ||
| 61 | .pkey_nid = NID_dsa_2, | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | .sign_nid = NID_mdc2WithRSA, | ||
| 65 | .hash_nid = NID_mdc2, | ||
| 66 | .pkey_nid = NID_rsaEncryption, | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | .sign_nid = NID_md5WithRSA, | ||
| 70 | .hash_nid = NID_md5, | ||
| 71 | .pkey_nid = NID_rsa, | ||
| 72 | }, | ||
| 73 | { | ||
| 74 | .sign_nid = NID_dsaWithSHA1, | ||
| 75 | .hash_nid = NID_sha1, | ||
| 76 | .pkey_nid = NID_dsa, | ||
| 77 | }, | ||
| 78 | { | ||
| 79 | .sign_nid = NID_sha1WithRSA, | ||
| 80 | .hash_nid = NID_sha1, | ||
| 81 | .pkey_nid = NID_rsa, | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | .sign_nid = NID_ripemd160WithRSA, | ||
| 85 | .hash_nid = NID_ripemd160, | ||
| 86 | .pkey_nid = NID_rsaEncryption, | ||
| 87 | }, | ||
| 88 | { | ||
| 89 | .sign_nid = NID_md4WithRSAEncryption, | ||
| 90 | .hash_nid = NID_md4, | ||
| 91 | .pkey_nid = NID_rsaEncryption, | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | .sign_nid = NID_ecdsa_with_SHA1, | ||
| 95 | .hash_nid = NID_sha1, | ||
| 96 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 97 | }, | ||
| 98 | { | ||
| 99 | .sign_nid = NID_sha256WithRSAEncryption, | ||
| 100 | .hash_nid = NID_sha256, | ||
| 101 | .pkey_nid = NID_rsaEncryption, | ||
| 102 | }, | ||
| 103 | { | ||
| 104 | .sign_nid = NID_sha384WithRSAEncryption, | ||
| 105 | .hash_nid = NID_sha384, | ||
| 106 | .pkey_nid = NID_rsaEncryption, | ||
| 107 | }, | ||
| 108 | { | ||
| 109 | .sign_nid = NID_sha512WithRSAEncryption, | ||
| 110 | .hash_nid = NID_sha512, | ||
| 111 | .pkey_nid = NID_rsaEncryption, | ||
| 112 | }, | ||
| 113 | { | ||
| 114 | .sign_nid = NID_sha224WithRSAEncryption, | ||
| 115 | .hash_nid = NID_sha224, | ||
| 116 | .pkey_nid = NID_rsaEncryption, | ||
| 117 | }, | ||
| 118 | { | ||
| 119 | .sign_nid = NID_ecdsa_with_Recommended, | ||
| 120 | .hash_nid = NID_undef, | ||
| 121 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 122 | }, | ||
| 123 | { | ||
| 124 | .sign_nid = NID_ecdsa_with_Specified, | ||
| 125 | .hash_nid = NID_undef, | ||
| 126 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 127 | }, | ||
| 128 | { | ||
| 129 | .sign_nid = NID_ecdsa_with_SHA224, | ||
| 130 | .hash_nid = NID_sha224, | ||
| 131 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 132 | }, | ||
| 133 | { | ||
| 134 | .sign_nid = NID_ecdsa_with_SHA256, | ||
| 135 | .hash_nid = NID_sha256, | ||
| 136 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 137 | }, | ||
| 138 | { | ||
| 139 | .sign_nid = NID_ecdsa_with_SHA384, | ||
| 140 | .hash_nid = NID_sha384, | ||
| 141 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 142 | }, | ||
| 143 | { | ||
| 144 | .sign_nid = NID_ecdsa_with_SHA512, | ||
| 145 | .hash_nid = NID_sha512, | ||
| 146 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 147 | }, | ||
| 148 | { | ||
| 149 | .sign_nid = NID_dsa_with_SHA224, | ||
| 150 | .hash_nid = NID_sha224, | ||
| 151 | .pkey_nid = NID_dsa, | ||
| 152 | }, | ||
| 153 | { | ||
| 154 | .sign_nid = NID_dsa_with_SHA256, | ||
| 155 | .hash_nid = NID_sha256, | ||
| 156 | .pkey_nid = NID_dsa, | ||
| 157 | }, | ||
| 158 | { | ||
| 159 | .sign_nid = NID_id_GostR3411_94_with_GostR3410_2001, | ||
| 160 | .hash_nid = NID_id_GostR3411_94, | ||
| 161 | .pkey_nid = NID_id_GostR3410_2001, | ||
| 162 | }, | ||
| 163 | { | ||
| 164 | .sign_nid = NID_id_GostR3411_94_with_GostR3410_94, | ||
| 165 | .hash_nid = NID_id_GostR3411_94, | ||
| 166 | .pkey_nid = NID_id_GostR3410_94, | ||
| 167 | }, | ||
| 168 | { | ||
| 169 | .sign_nid = NID_id_GostR3411_94_with_GostR3410_94_cc, | ||
| 170 | .hash_nid = NID_id_GostR3411_94, | ||
| 171 | .pkey_nid = NID_id_GostR3410_94_cc, | ||
| 172 | }, | ||
| 173 | { | ||
| 174 | .sign_nid = NID_id_GostR3411_94_with_GostR3410_2001_cc, | ||
| 175 | .hash_nid = NID_id_GostR3411_94, | ||
| 176 | .pkey_nid = NID_id_GostR3410_2001_cc, | ||
| 177 | }, | ||
| 178 | { | ||
| 179 | .sign_nid = NID_rsassaPss, | ||
| 180 | .hash_nid = NID_undef, | ||
| 181 | .pkey_nid = NID_rsassaPss, | ||
| 182 | }, | ||
| 183 | { | ||
| 184 | .sign_nid = NID_id_tc26_signwithdigest_gost3410_2012_256, | ||
| 185 | .hash_nid = NID_id_tc26_gost3411_2012_256, | ||
| 186 | .pkey_nid = NID_id_GostR3410_2001, | ||
| 187 | }, | ||
| 188 | { | ||
| 189 | .sign_nid = NID_id_tc26_signwithdigest_gost3410_2012_512, | ||
| 190 | .hash_nid = NID_id_tc26_gost3411_2012_512, | ||
| 191 | .pkey_nid = NID_id_GostR3410_2001, | ||
| 192 | }, | ||
| 193 | { | ||
| 194 | .sign_nid = NID_Ed25519, | ||
| 195 | .hash_nid = NID_undef, | ||
| 196 | .pkey_nid = NID_Ed25519, | ||
| 197 | }, | ||
| 198 | { | ||
| 199 | .sign_nid = NID_dhSinglePass_stdDH_sha1kdf_scheme, | ||
| 200 | .hash_nid = NID_sha1, | ||
| 201 | .pkey_nid = NID_dh_std_kdf, | ||
| 202 | }, | ||
| 203 | { | ||
| 204 | .sign_nid = NID_dhSinglePass_stdDH_sha224kdf_scheme, | ||
| 205 | .hash_nid = NID_sha224, | ||
| 206 | .pkey_nid = NID_dh_std_kdf, | ||
| 207 | }, | ||
| 208 | { | ||
| 209 | .sign_nid = NID_dhSinglePass_stdDH_sha256kdf_scheme, | ||
| 210 | .hash_nid = NID_sha256, | ||
| 211 | .pkey_nid = NID_dh_std_kdf, | ||
| 212 | }, | ||
| 213 | { | ||
| 214 | .sign_nid = NID_dhSinglePass_stdDH_sha384kdf_scheme, | ||
| 215 | .hash_nid = NID_sha384, | ||
| 216 | .pkey_nid = NID_dh_std_kdf, | ||
| 217 | }, | ||
| 218 | { | ||
| 219 | .sign_nid = NID_dhSinglePass_stdDH_sha512kdf_scheme, | ||
| 220 | .hash_nid = NID_sha512, | ||
| 221 | .pkey_nid = NID_dh_std_kdf, | ||
| 222 | }, | ||
| 223 | { | ||
| 224 | .sign_nid = NID_dhSinglePass_cofactorDH_sha1kdf_scheme, | ||
| 225 | .hash_nid = NID_sha1, | ||
| 226 | .pkey_nid = NID_dh_cofactor_kdf, | ||
| 227 | }, | ||
| 228 | { | ||
| 229 | .sign_nid = NID_dhSinglePass_cofactorDH_sha224kdf_scheme, | ||
| 230 | .hash_nid = NID_sha224, | ||
| 231 | .pkey_nid = NID_dh_cofactor_kdf, | ||
| 232 | }, | ||
| 233 | { | ||
| 234 | .sign_nid = NID_dhSinglePass_cofactorDH_sha256kdf_scheme, | ||
| 235 | .hash_nid = NID_sha256, | ||
| 236 | .pkey_nid = NID_dh_cofactor_kdf, | ||
| 237 | }, | ||
| 238 | { | ||
| 239 | .sign_nid = NID_dhSinglePass_cofactorDH_sha384kdf_scheme, | ||
| 240 | .hash_nid = NID_sha384, | ||
| 241 | .pkey_nid = NID_dh_cofactor_kdf, | ||
| 242 | }, | ||
| 243 | { | ||
| 244 | .sign_nid = NID_dhSinglePass_cofactorDH_sha512kdf_scheme, | ||
| 245 | .hash_nid = NID_sha512, | ||
| 246 | .pkey_nid = NID_dh_cofactor_kdf, | ||
| 247 | }, | ||
| 248 | { | ||
| 249 | .sign_nid = NID_RSA_SHA3_224, | ||
| 250 | .hash_nid = NID_sha3_224, | ||
| 251 | .pkey_nid = NID_rsaEncryption, | ||
| 252 | }, | ||
| 253 | { | ||
| 254 | .sign_nid = NID_RSA_SHA3_256, | ||
| 255 | .hash_nid = NID_sha3_256, | ||
| 256 | .pkey_nid = NID_rsaEncryption, | ||
| 257 | }, | ||
| 258 | { | ||
| 259 | .sign_nid = NID_RSA_SHA3_384, | ||
| 260 | .hash_nid = NID_sha3_384, | ||
| 261 | .pkey_nid = NID_rsaEncryption, | ||
| 262 | }, | ||
| 263 | { | ||
| 264 | .sign_nid = NID_RSA_SHA3_512, | ||
| 265 | .hash_nid = NID_sha3_512, | ||
| 266 | .pkey_nid = NID_rsaEncryption, | ||
| 267 | }, | ||
| 268 | { | ||
| 269 | .sign_nid = NID_ecdsa_with_SHA3_224, | ||
| 270 | .hash_nid = NID_sha3_224, | ||
| 271 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 272 | }, | ||
| 273 | { | ||
| 274 | .sign_nid = NID_ecdsa_with_SHA3_256, | ||
| 275 | .hash_nid = NID_sha3_256, | ||
| 276 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 277 | }, | ||
| 278 | { | ||
| 279 | .sign_nid = NID_ecdsa_with_SHA3_384, | ||
| 280 | .hash_nid = NID_sha3_384, | ||
| 281 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 282 | }, | ||
| 283 | { | ||
| 284 | .sign_nid = NID_ecdsa_with_SHA3_512, | ||
| 285 | .hash_nid = NID_sha3_512, | ||
| 286 | .pkey_nid = NID_X9_62_id_ecPublicKey, | ||
| 287 | }, | ||
| 288 | }; | ||
| 289 | |||
| 290 | #define N_NID_TRIPLES (sizeof(nid_triple) / sizeof(nid_triple[0])) | ||
| 291 | |||
| 292 | int | ||
| 293 | OBJ_find_sigid_algs(int sign_nid, int *hash_nid, int *pkey_nid) | ||
| 294 | { | ||
| 295 | size_t i; | ||
| 296 | |||
| 297 | for (i = 0; i < N_NID_TRIPLES; i++) { | ||
| 298 | if (sign_nid != nid_triple[i].sign_nid) | ||
| 299 | continue; | ||
| 300 | |||
| 301 | if (hash_nid != NULL) | ||
| 302 | *hash_nid = nid_triple[i].hash_nid; | ||
| 303 | if (pkey_nid != NULL) | ||
| 304 | *pkey_nid = nid_triple[i].pkey_nid; | ||
| 305 | |||
| 306 | return 1; | ||
| 307 | } | ||
| 308 | |||
| 309 | return 0; | ||
| 310 | } | ||
| 311 | LCRYPTO_ALIAS(OBJ_find_sigid_algs); | ||
| 312 | |||
| 313 | int | ||
| 314 | OBJ_find_sigid_by_algs(int *sign_nid, int hash_nid, int pkey_nid) | ||
| 315 | { | ||
| 316 | size_t i; | ||
| 317 | |||
| 318 | for (i = 0; i < N_NID_TRIPLES; i++) { | ||
| 319 | if (hash_nid != nid_triple[i].hash_nid) | ||
| 320 | continue; | ||
| 321 | if (pkey_nid != nid_triple[i].pkey_nid) | ||
| 322 | continue; | ||
| 323 | |||
| 324 | if (sign_nid != NULL) | ||
| 325 | *sign_nid = nid_triple[i].sign_nid; | ||
| 326 | |||
| 327 | return 1; | ||
| 328 | } | ||
| 329 | |||
| 330 | return 0; | ||
| 331 | } | ||
| 332 | LCRYPTO_ALIAS(OBJ_find_sigid_by_algs); | ||
diff --git a/src/lib/libcrypto/objects/objects.README b/src/lib/libcrypto/objects/objects.README deleted file mode 100644 index c49e93d679..0000000000 --- a/src/lib/libcrypto/objects/objects.README +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | objects.txt syntax | ||
| 2 | ------------------ | ||
| 3 | |||
| 4 | To cover all the naming hacks that were previously in objects.h, we needed some | ||
| 5 | kind of hacks in objects.txt. | ||
| 6 | |||
| 7 | The basic syntax for adding an object is as follows: | ||
| 8 | |||
| 9 | 1 2 3 4 : shortName : Long Name | ||
| 10 | |||
| 11 | If the long name doesn't contain spaces, or no short name | ||
| 12 | exists, the long name is used as basis for the base name | ||
| 13 | in C. Otherwise, the short name is used. | ||
| 14 | |||
| 15 | The base name (let's call it 'base') will then be used to | ||
| 16 | create the C macros SN_base, LN_base, NID_base and OBJ_base. | ||
| 17 | |||
| 18 | Note that if the base name contains spaces, dashes or periods, | ||
| 19 | those will be converted to underscore. | ||
| 20 | |||
| 21 | Then there are some extra commands: | ||
| 22 | |||
| 23 | !Alias foo 1 2 3 4 | ||
| 24 | |||
| 25 | This just makes a name foo for an OID. The C macro | ||
| 26 | OBJ_foo will be created as a result. | ||
| 27 | |||
| 28 | !Cname foo | ||
| 29 | |||
| 30 | This makes sure that the name foo will be used as base name | ||
| 31 | in C. | ||
| 32 | |||
| 33 | !module foo | ||
| 34 | 1 2 3 4 : shortName : Long Name | ||
| 35 | !global | ||
| 36 | |||
| 37 | The !module command was meant to define a kind of modularity. | ||
| 38 | What it does is to make sure the module name is prepended | ||
| 39 | to the base name. !global turns this off. This construction | ||
| 40 | is not recursive. | ||
| 41 | |||
| 42 | Lines starting with # are treated as comments, as well as any line starting | ||
| 43 | with ! and not matching the commands above. | ||
| 44 | |||
diff --git a/src/lib/libcrypto/objects/objects.h b/src/lib/libcrypto/objects/objects.h deleted file mode 100644 index 1a8490bd1a..0000000000 --- a/src/lib/libcrypto/objects/objects.h +++ /dev/null | |||
| @@ -1,137 +0,0 @@ | |||
| 1 | /* $OpenBSD: objects.h,v 1.29 2024/03/02 09:51:36 tb Exp $ */ | ||
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | ||
| 3 | * All rights reserved. | ||
| 4 | * | ||
| 5 | * This package is an SSL implementation written | ||
| 6 | * by Eric Young (eay@cryptsoft.com). | ||
| 7 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 8 | * | ||
| 9 | * This library is free for commercial and non-commercial use as long as | ||
| 10 | * the following conditions are aheared to. The following conditions | ||
| 11 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 13 | * included with this distribution is covered by the same copyright terms | ||
| 14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 15 | * | ||
| 16 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 17 | * the code are not to be removed. | ||
| 18 | * If this package is used in a product, Eric Young should be given attribution | ||
| 19 | * as the author of the parts of the library used. | ||
| 20 | * This can be in the form of a textual message at program startup or | ||
| 21 | * in documentation (online or textual) provided with the package. | ||
| 22 | * | ||
| 23 | * Redistribution and use in source and binary forms, with or without | ||
| 24 | * modification, are permitted provided that the following conditions | ||
| 25 | * are met: | ||
| 26 | * 1. Redistributions of source code must retain the copyright | ||
| 27 | * notice, this list of conditions and the following disclaimer. | ||
| 28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 29 | * notice, this list of conditions and the following disclaimer in the | ||
| 30 | * documentation and/or other materials provided with the distribution. | ||
| 31 | * 3. All advertising materials mentioning features or use of this software | ||
| 32 | * must display the following acknowledgement: | ||
| 33 | * "This product includes cryptographic software written by | ||
| 34 | * Eric Young (eay@cryptsoft.com)" | ||
| 35 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 36 | * being used are not cryptographic related :-). | ||
| 37 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 38 | * the apps directory (application code) you must include an acknowledgement: | ||
| 39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 40 | * | ||
| 41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 51 | * SUCH DAMAGE. | ||
| 52 | * | ||
| 53 | * The licence and distribution terms for any publically available version or | ||
| 54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 55 | * copied and put under another distribution licence | ||
| 56 | * [including the GNU Public Licence.] | ||
| 57 | */ | ||
| 58 | |||
| 59 | #ifndef HEADER_OBJECTS_H | ||
| 60 | #define HEADER_OBJECTS_H | ||
| 61 | |||
| 62 | #include <openssl/obj_mac.h> | ||
| 63 | |||
| 64 | #define SN_ED25519 SN_Ed25519 | ||
| 65 | #define NID_ED25519 NID_Ed25519 | ||
| 66 | #define OBJ_ED25519 OBJ_Ed25519 | ||
| 67 | |||
| 68 | #include <openssl/bio.h> | ||
| 69 | #include <openssl/asn1.h> | ||
| 70 | |||
| 71 | #define OBJ_NAME_TYPE_UNDEF 0x00 | ||
| 72 | #define OBJ_NAME_TYPE_MD_METH 0x01 | ||
| 73 | #define OBJ_NAME_TYPE_CIPHER_METH 0x02 | ||
| 74 | #define OBJ_NAME_TYPE_NUM 0x03 | ||
| 75 | |||
| 76 | #define OBJ_NAME_ALIAS 0x8000 | ||
| 77 | |||
| 78 | #ifdef __cplusplus | ||
| 79 | extern "C" { | ||
| 80 | #endif | ||
| 81 | |||
| 82 | typedef struct obj_name_st { | ||
| 83 | int type; | ||
| 84 | int alias; | ||
| 85 | const char *name; | ||
| 86 | const void *data; | ||
| 87 | } OBJ_NAME; | ||
| 88 | |||
| 89 | void OBJ_NAME_do_all(int type, void (*fn)(const OBJ_NAME *, void *arg), | ||
| 90 | void *arg); | ||
| 91 | void OBJ_NAME_do_all_sorted(int type, void (*fn)(const OBJ_NAME *, void *arg), | ||
| 92 | void *arg); | ||
| 93 | |||
| 94 | ASN1_OBJECT * OBJ_dup(const ASN1_OBJECT *o); | ||
| 95 | ASN1_OBJECT * OBJ_nid2obj(int n); | ||
| 96 | const char * OBJ_nid2ln(int n); | ||
| 97 | const char * OBJ_nid2sn(int n); | ||
| 98 | int OBJ_obj2nid(const ASN1_OBJECT *o); | ||
| 99 | ASN1_OBJECT * OBJ_txt2obj(const char *s, int no_name); | ||
| 100 | int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); | ||
| 101 | int OBJ_txt2nid(const char *s); | ||
| 102 | int OBJ_ln2nid(const char *s); | ||
| 103 | int OBJ_sn2nid(const char *s); | ||
| 104 | int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); | ||
| 105 | |||
| 106 | int OBJ_new_nid(int num); | ||
| 107 | int OBJ_create(const char *oid, const char *sn, const char *ln); | ||
| 108 | void OBJ_cleanup(void); | ||
| 109 | int OBJ_create_objects(BIO *in); | ||
| 110 | |||
| 111 | size_t OBJ_length(const ASN1_OBJECT *obj); | ||
| 112 | const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj); | ||
| 113 | |||
| 114 | int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid); | ||
| 115 | int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); | ||
| 116 | |||
| 117 | void ERR_load_OBJ_strings(void); | ||
| 118 | |||
| 119 | /* Error codes for the OBJ functions. */ | ||
| 120 | |||
| 121 | /* Function codes. */ | ||
| 122 | #define OBJ_F_OBJ_ADD_OBJECT 105 | ||
| 123 | #define OBJ_F_OBJ_CREATE 100 | ||
| 124 | #define OBJ_F_OBJ_DUP 101 | ||
| 125 | #define OBJ_F_OBJ_NAME_NEW_INDEX 106 | ||
| 126 | #define OBJ_F_OBJ_NID2LN 102 | ||
| 127 | #define OBJ_F_OBJ_NID2OBJ 103 | ||
| 128 | #define OBJ_F_OBJ_NID2SN 104 | ||
| 129 | |||
| 130 | /* Reason codes. */ | ||
| 131 | #define OBJ_R_MALLOC_FAILURE 100 | ||
| 132 | #define OBJ_R_UNKNOWN_NID 101 | ||
| 133 | |||
| 134 | #ifdef __cplusplus | ||
| 135 | } | ||
| 136 | #endif | ||
| 137 | #endif | ||
diff --git a/src/lib/libcrypto/objects/objects.pl b/src/lib/libcrypto/objects/objects.pl deleted file mode 100644 index d2bf659d88..0000000000 --- a/src/lib/libcrypto/objects/objects.pl +++ /dev/null | |||
| @@ -1,233 +0,0 @@ | |||
| 1 | #!/usr/local/bin/perl | ||
| 2 | |||
| 3 | open (NUMIN,"$ARGV[1]") || die "Can't open number file $ARGV[1]"; | ||
| 4 | $max_nid=0; | ||
| 5 | $o=0; | ||
| 6 | while(<NUMIN>) | ||
| 7 | { | ||
| 8 | chop; | ||
| 9 | $o++; | ||
| 10 | s/#.*$//; | ||
| 11 | next if /^\s*$/; | ||
| 12 | $_ = 'X'.$_; | ||
| 13 | ($Cname,$mynum) = split; | ||
| 14 | $Cname =~ s/^X//; | ||
| 15 | if (defined($nidn{$mynum})) | ||
| 16 | { die "$ARGV[1]:$o:There's already an object with NID ",$mynum," on line ",$order{$mynum},"\n"; } | ||
| 17 | if (defined($nid{$Cname})) | ||
| 18 | { die "$ARGV[1]:$o:There's already an object with name ",$Cname," on line ",$order{$nid{$Cname}},"\n"; } | ||
| 19 | $nid{$Cname} = $mynum; | ||
| 20 | $nidn{$mynum} = $Cname; | ||
| 21 | $order{$mynum} = $o; | ||
| 22 | $max_nid = $mynum if $mynum > $max_nid; | ||
| 23 | } | ||
| 24 | close NUMIN; | ||
| 25 | |||
| 26 | open (IN,"$ARGV[0]") || die "Can't open input file $ARGV[0]"; | ||
| 27 | $Cname=""; | ||
| 28 | $o=0; | ||
| 29 | while (<IN>) | ||
| 30 | { | ||
| 31 | chop; | ||
| 32 | $o++; | ||
| 33 | if (/^!module\s+(.*)$/) | ||
| 34 | { | ||
| 35 | $module = $1."-"; | ||
| 36 | $module =~ s/\./_/g; | ||
| 37 | $module =~ s/-/_/g; | ||
| 38 | } | ||
| 39 | if (/^!global$/) | ||
| 40 | { $module = ""; } | ||
| 41 | if (/^!Cname\s+(.*)$/) | ||
| 42 | { $Cname = $1; } | ||
| 43 | if (/^!Alias\s+(.+?)\s+(.*)$/) | ||
| 44 | { | ||
| 45 | $Cname = $module.$1; | ||
| 46 | $myoid = $2; | ||
| 47 | $myoid = &process_oid($myoid); | ||
| 48 | $Cname =~ s/-/_/g; | ||
| 49 | $ordern{$o} = $Cname; | ||
| 50 | $order{$Cname} = $o; | ||
| 51 | $obj{$Cname} = $myoid; | ||
| 52 | $_ = ""; | ||
| 53 | $Cname = ""; | ||
| 54 | } | ||
| 55 | s/!.*$//; | ||
| 56 | s/#.*$//; | ||
| 57 | next if /^\s*$/; | ||
| 58 | ($myoid,$mysn,$myln) = split ':'; | ||
| 59 | $mysn =~ s/^\s*//; | ||
| 60 | $mysn =~ s/\s*$//; | ||
| 61 | $myln =~ s/^\s*//; | ||
| 62 | $myln =~ s/\s*$//; | ||
| 63 | $myoid =~ s/^\s*//; | ||
| 64 | $myoid =~ s/\s*$//; | ||
| 65 | if ($myoid ne "") | ||
| 66 | { | ||
| 67 | $myoid = &process_oid($myoid); | ||
| 68 | } | ||
| 69 | |||
| 70 | if ($Cname eq "" && !($myln =~ / /)) | ||
| 71 | { | ||
| 72 | $Cname = $myln; | ||
| 73 | $Cname =~ s/\./_/g; | ||
| 74 | $Cname =~ s/-/_/g; | ||
| 75 | if ($Cname ne "" && defined($ln{$module.$Cname})) | ||
| 76 | { die "objects.txt:$o:There's already an object with long name ",$ln{$module.$Cname}," on line ",$order{$module.$Cname},"\n"; } | ||
| 77 | } | ||
| 78 | if ($Cname eq "") | ||
| 79 | { | ||
| 80 | $Cname = $mysn; | ||
| 81 | $Cname =~ s/-/_/g; | ||
| 82 | if ($Cname ne "" && defined($sn{$module.$Cname})) | ||
| 83 | { die "objects.txt:$o:There's already an object with short name ",$sn{$module.$Cname}," on line ",$order{$module.$Cname},"\n"; } | ||
| 84 | } | ||
| 85 | if ($Cname eq "") | ||
| 86 | { | ||
| 87 | $Cname = $myln; | ||
| 88 | $Cname =~ s/-/_/g; | ||
| 89 | $Cname =~ s/\./_/g; | ||
| 90 | $Cname =~ s/ /_/g; | ||
| 91 | if ($Cname ne "" && defined($ln{$module.$Cname})) | ||
| 92 | { die "objects.txt:$o:There's already an object with long name ",$ln{$module.$Cname}," on line ",$order{$module.$Cname},"\n"; } | ||
| 93 | } | ||
| 94 | $Cname =~ s/\./_/g; | ||
| 95 | $Cname =~ s/-/_/g; | ||
| 96 | $Cname = $module.$Cname; | ||
| 97 | $ordern{$o} = $Cname; | ||
| 98 | $order{$Cname} = $o; | ||
| 99 | $sn{$Cname} = $mysn; | ||
| 100 | $ln{$Cname} = $myln; | ||
| 101 | $obj{$Cname} = $myoid; | ||
| 102 | if (!defined($nid{$Cname})) | ||
| 103 | { | ||
| 104 | $max_nid++; | ||
| 105 | $nid{$Cname} = $max_nid; | ||
| 106 | $nidn{$max_nid} = $Cname; | ||
| 107 | print STDERR "Added OID $Cname\n"; | ||
| 108 | } | ||
| 109 | $Cname=""; | ||
| 110 | } | ||
| 111 | close IN; | ||
| 112 | |||
| 113 | #XXX don't modify input files | ||
| 114 | #open (NUMOUT,">$ARGV[1]") || die "Can't open output file $ARGV[1]"; | ||
| 115 | #foreach (sort { $a <=> $b } keys %nidn) | ||
| 116 | # { | ||
| 117 | # print NUMOUT $nidn{$_},"\t\t",$_,"\n"; | ||
| 118 | # } | ||
| 119 | #close NUMOUT; | ||
| 120 | |||
| 121 | open (OUT,">$ARGV[2]") || die "Can't open output file $ARGV[2]"; | ||
| 122 | print OUT <<'EOF'; | ||
| 123 | /* crypto/objects/obj_mac.h */ | ||
| 124 | |||
| 125 | /* THIS FILE IS GENERATED FROM objects.txt by objects.pl via the | ||
| 126 | * following command: | ||
| 127 | * perl objects.pl objects.txt obj_mac.num obj_mac.h | ||
| 128 | */ | ||
| 129 | |||
| 130 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | ||
| 131 | * All rights reserved. | ||
| 132 | * | ||
| 133 | * This package is an SSL implementation written | ||
| 134 | * by Eric Young (eay@cryptsoft.com). | ||
| 135 | * The implementation was written so as to conform with Netscapes SSL. | ||
| 136 | * | ||
| 137 | * This library is free for commercial and non-commercial use as long as | ||
| 138 | * the following conditions are aheared to. The following conditions | ||
| 139 | * apply to all code found in this distribution, be it the RC4, RSA, | ||
| 140 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 141 | * included with this distribution is covered by the same copyright terms | ||
| 142 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 143 | * | ||
| 144 | * Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 145 | * the code are not to be removed. | ||
| 146 | * If this package is used in a product, Eric Young should be given attribution | ||
| 147 | * as the author of the parts of the library used. | ||
| 148 | * This can be in the form of a textual message at program startup or | ||
| 149 | * in documentation (online or textual) provided with the package. | ||
| 150 | * | ||
| 151 | * Redistribution and use in source and binary forms, with or without | ||
| 152 | * modification, are permitted provided that the following conditions | ||
| 153 | * are met: | ||
| 154 | * 1. Redistributions of source code must retain the copyright | ||
| 155 | * notice, this list of conditions and the following disclaimer. | ||
| 156 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 157 | * notice, this list of conditions and the following disclaimer in the | ||
| 158 | * documentation and/or other materials provided with the distribution. | ||
| 159 | * 3. All advertising materials mentioning features or use of this software | ||
| 160 | * must display the following acknowledgement: | ||
| 161 | * "This product includes cryptographic software written by | ||
| 162 | * Eric Young (eay@cryptsoft.com)" | ||
| 163 | * The word 'cryptographic' can be left out if the rouines from the library | ||
| 164 | * being used are not cryptographic related :-). | ||
| 165 | * 4. If you include any Windows specific code (or a derivative thereof) from | ||
| 166 | * the apps directory (application code) you must include an acknowledgement: | ||
| 167 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | ||
| 168 | * | ||
| 169 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 170 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 171 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 172 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 173 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 174 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 175 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 176 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 177 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 178 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 179 | * SUCH DAMAGE. | ||
| 180 | * | ||
| 181 | * The licence and distribution terms for any publically available version or | ||
| 182 | * derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 183 | * copied and put under another distribution licence | ||
| 184 | * [including the GNU Public Licence.] | ||
| 185 | */ | ||
| 186 | |||
| 187 | #define SN_undef "UNDEF" | ||
| 188 | #define LN_undef "undefined" | ||
| 189 | #define NID_undef 0 | ||
| 190 | #define OBJ_undef 0L | ||
| 191 | |||
| 192 | EOF | ||
| 193 | |||
| 194 | foreach (sort { $a <=> $b } keys %ordern) | ||
| 195 | { | ||
| 196 | $Cname=$ordern{$_}; | ||
| 197 | print OUT "#define SN_",$Cname,"\t\t\"",$sn{$Cname},"\"\n" if $sn{$Cname} ne ""; | ||
| 198 | print OUT "#define LN_",$Cname,"\t\t\"",$ln{$Cname},"\"\n" if $ln{$Cname} ne ""; | ||
| 199 | print OUT "#define NID_",$Cname,"\t\t",$nid{$Cname},"\n" if $nid{$Cname} ne ""; | ||
| 200 | print OUT "#define OBJ_",$Cname,"\t\t",$obj{$Cname},"\n" if $obj{$Cname} ne ""; | ||
| 201 | print OUT "\n"; | ||
| 202 | } | ||
| 203 | |||
| 204 | close OUT; | ||
| 205 | |||
| 206 | sub process_oid | ||
| 207 | { | ||
| 208 | local($oid)=@_; | ||
| 209 | local(@a,$oid_pref); | ||
| 210 | |||
| 211 | @a = split(/\s+/,$myoid); | ||
| 212 | $pref_oid = ""; | ||
| 213 | $pref_sep = ""; | ||
| 214 | if (!($a[0] =~ /^[0-9]+$/)) | ||
| 215 | { | ||
| 216 | $a[0] =~ s/-/_/g; | ||
| 217 | if (!defined($obj{$a[0]})) | ||
| 218 | { die "$ARGV[0]:$o:Undefined identifier ",$a[0],"\n"; } | ||
| 219 | $pref_oid = "OBJ_" . $a[0]; | ||
| 220 | $pref_sep = ","; | ||
| 221 | shift @a; | ||
| 222 | } | ||
| 223 | $oids = join('L,',@a) . "L"; | ||
| 224 | if ($oids ne "L") | ||
| 225 | { | ||
| 226 | $oids = $pref_oid . $pref_sep . $oids; | ||
| 227 | } | ||
| 228 | else | ||
| 229 | { | ||
| 230 | $oids = $pref_oid; | ||
| 231 | } | ||
| 232 | return($oids); | ||
| 233 | } | ||
diff --git a/src/lib/libcrypto/objects/objects.txt b/src/lib/libcrypto/objects/objects.txt deleted file mode 100644 index 4d5a52efcf..0000000000 --- a/src/lib/libcrypto/objects/objects.txt +++ /dev/null | |||
| @@ -1,1479 +0,0 @@ | |||
| 1 | # CCITT was renamed to ITU-T quite some time ago | ||
| 2 | 0 : ITU-T : itu-t | ||
| 3 | !Alias ccitt itu-t | ||
| 4 | |||
| 5 | 1 : ISO : iso | ||
| 6 | |||
| 7 | 2 : JOINT-ISO-ITU-T : joint-iso-itu-t | ||
| 8 | !Alias joint-iso-ccitt joint-iso-itu-t | ||
| 9 | |||
| 10 | iso 2 : member-body : ISO Member Body | ||
| 11 | |||
| 12 | iso 3 : identified-organization | ||
| 13 | |||
| 14 | # HMAC OIDs | ||
| 15 | identified-organization 6 1 5 5 8 1 1 : HMAC-MD5 : hmac-md5 | ||
| 16 | identified-organization 6 1 5 5 8 1 2 : HMAC-SHA1 : hmac-sha1 | ||
| 17 | |||
| 18 | identified-organization 132 : certicom-arc | ||
| 19 | |||
| 20 | joint-iso-itu-t 23 : international-organizations : International Organizations | ||
| 21 | |||
| 22 | international-organizations 43 : wap | ||
| 23 | wap 1 : wap-wsg | ||
| 24 | |||
| 25 | joint-iso-itu-t 5 1 5 : selected-attribute-types : Selected Attribute Types | ||
| 26 | |||
| 27 | selected-attribute-types 55 : clearance | ||
| 28 | |||
| 29 | member-body 840 : ISO-US : ISO US Member Body | ||
| 30 | ISO-US 10040 : X9-57 : X9.57 | ||
| 31 | X9-57 4 : X9cm : X9.57 CM ? | ||
| 32 | |||
| 33 | !Cname dsa | ||
| 34 | X9cm 1 : DSA : dsaEncryption | ||
| 35 | X9cm 3 : DSA-SHA1 : dsaWithSHA1 | ||
| 36 | |||
| 37 | |||
| 38 | ISO-US 10045 : ansi-X9-62 : ANSI X9.62 | ||
| 39 | !module X9-62 | ||
| 40 | !Alias id-fieldType ansi-X9-62 1 | ||
| 41 | X9-62_id-fieldType 1 : prime-field | ||
| 42 | X9-62_id-fieldType 2 : characteristic-two-field | ||
| 43 | X9-62_characteristic-two-field 3 : id-characteristic-two-basis | ||
| 44 | X9-62_id-characteristic-two-basis 1 : onBasis | ||
| 45 | X9-62_id-characteristic-two-basis 2 : tpBasis | ||
| 46 | X9-62_id-characteristic-two-basis 3 : ppBasis | ||
| 47 | !Alias id-publicKeyType ansi-X9-62 2 | ||
| 48 | X9-62_id-publicKeyType 1 : id-ecPublicKey | ||
| 49 | !Alias ellipticCurve ansi-X9-62 3 | ||
| 50 | !Alias c-TwoCurve X9-62_ellipticCurve 0 | ||
| 51 | X9-62_c-TwoCurve 1 : c2pnb163v1 | ||
| 52 | X9-62_c-TwoCurve 2 : c2pnb163v2 | ||
| 53 | X9-62_c-TwoCurve 3 : c2pnb163v3 | ||
| 54 | X9-62_c-TwoCurve 4 : c2pnb176v1 | ||
| 55 | X9-62_c-TwoCurve 5 : c2tnb191v1 | ||
| 56 | X9-62_c-TwoCurve 6 : c2tnb191v2 | ||
| 57 | X9-62_c-TwoCurve 7 : c2tnb191v3 | ||
| 58 | X9-62_c-TwoCurve 8 : c2onb191v4 | ||
| 59 | X9-62_c-TwoCurve 9 : c2onb191v5 | ||
| 60 | X9-62_c-TwoCurve 10 : c2pnb208w1 | ||
| 61 | X9-62_c-TwoCurve 11 : c2tnb239v1 | ||
| 62 | X9-62_c-TwoCurve 12 : c2tnb239v2 | ||
| 63 | X9-62_c-TwoCurve 13 : c2tnb239v3 | ||
| 64 | X9-62_c-TwoCurve 14 : c2onb239v4 | ||
| 65 | X9-62_c-TwoCurve 15 : c2onb239v5 | ||
| 66 | X9-62_c-TwoCurve 16 : c2pnb272w1 | ||
| 67 | X9-62_c-TwoCurve 17 : c2pnb304w1 | ||
| 68 | X9-62_c-TwoCurve 18 : c2tnb359v1 | ||
| 69 | X9-62_c-TwoCurve 19 : c2pnb368w1 | ||
| 70 | X9-62_c-TwoCurve 20 : c2tnb431r1 | ||
| 71 | !Alias primeCurve X9-62_ellipticCurve 1 | ||
| 72 | X9-62_primeCurve 1 : prime192v1 | ||
| 73 | X9-62_primeCurve 2 : prime192v2 | ||
| 74 | X9-62_primeCurve 3 : prime192v3 | ||
| 75 | X9-62_primeCurve 4 : prime239v1 | ||
| 76 | X9-62_primeCurve 5 : prime239v2 | ||
| 77 | X9-62_primeCurve 6 : prime239v3 | ||
| 78 | X9-62_primeCurve 7 : prime256v1 | ||
| 79 | !Alias id-ecSigType ansi-X9-62 4 | ||
| 80 | !global | ||
| 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 | ||
| 88 | |||
| 89 | # SECG curve OIDs from "SEC 2: Recommended Elliptic Curve Domain Parameters" | ||
| 90 | # (http://www.secg.org/) | ||
| 91 | !Alias secg_ellipticCurve certicom-arc 0 | ||
| 92 | # SECG prime curves OIDs | ||
| 93 | secg-ellipticCurve 6 : secp112r1 | ||
| 94 | secg-ellipticCurve 7 : secp112r2 | ||
| 95 | secg-ellipticCurve 28 : secp128r1 | ||
| 96 | secg-ellipticCurve 29 : secp128r2 | ||
| 97 | secg-ellipticCurve 9 : secp160k1 | ||
| 98 | secg-ellipticCurve 8 : secp160r1 | ||
| 99 | secg-ellipticCurve 30 : secp160r2 | ||
| 100 | secg-ellipticCurve 31 : secp192k1 | ||
| 101 | # NOTE: the curve secp192r1 is the same as prime192v1 defined above | ||
| 102 | # and is therefore omitted | ||
| 103 | secg-ellipticCurve 32 : secp224k1 | ||
| 104 | secg-ellipticCurve 33 : secp224r1 | ||
| 105 | secg-ellipticCurve 10 : secp256k1 | ||
| 106 | # NOTE: the curve secp256r1 is the same as prime256v1 defined above | ||
| 107 | # and is therefore omitted | ||
| 108 | secg-ellipticCurve 34 : secp384r1 | ||
| 109 | secg-ellipticCurve 35 : secp521r1 | ||
| 110 | # SECG characteristic two curves OIDs | ||
| 111 | secg-ellipticCurve 4 : sect113r1 | ||
| 112 | secg-ellipticCurve 5 : sect113r2 | ||
| 113 | secg-ellipticCurve 22 : sect131r1 | ||
| 114 | secg-ellipticCurve 23 : sect131r2 | ||
| 115 | secg-ellipticCurve 1 : sect163k1 | ||
| 116 | secg-ellipticCurve 2 : sect163r1 | ||
| 117 | secg-ellipticCurve 15 : sect163r2 | ||
| 118 | secg-ellipticCurve 24 : sect193r1 | ||
| 119 | secg-ellipticCurve 25 : sect193r2 | ||
| 120 | secg-ellipticCurve 26 : sect233k1 | ||
| 121 | secg-ellipticCurve 27 : sect233r1 | ||
| 122 | secg-ellipticCurve 3 : sect239k1 | ||
| 123 | secg-ellipticCurve 16 : sect283k1 | ||
| 124 | secg-ellipticCurve 17 : sect283r1 | ||
| 125 | secg-ellipticCurve 36 : sect409k1 | ||
| 126 | secg-ellipticCurve 37 : sect409r1 | ||
| 127 | secg-ellipticCurve 38 : sect571k1 | ||
| 128 | secg-ellipticCurve 39 : sect571r1 | ||
| 129 | |||
| 130 | # WAP/TLS curve OIDs (http://www.wapforum.org/) | ||
| 131 | !Alias wap-wsg-idm-ecid wap-wsg 4 | ||
| 132 | wap-wsg-idm-ecid 1 : wap-wsg-idm-ecid-wtls1 | ||
| 133 | wap-wsg-idm-ecid 3 : wap-wsg-idm-ecid-wtls3 | ||
| 134 | wap-wsg-idm-ecid 4 : wap-wsg-idm-ecid-wtls4 | ||
| 135 | wap-wsg-idm-ecid 5 : wap-wsg-idm-ecid-wtls5 | ||
| 136 | wap-wsg-idm-ecid 6 : wap-wsg-idm-ecid-wtls6 | ||
| 137 | wap-wsg-idm-ecid 7 : wap-wsg-idm-ecid-wtls7 | ||
| 138 | wap-wsg-idm-ecid 8 : wap-wsg-idm-ecid-wtls8 | ||
| 139 | wap-wsg-idm-ecid 9 : wap-wsg-idm-ecid-wtls9 | ||
| 140 | wap-wsg-idm-ecid 10 : wap-wsg-idm-ecid-wtls10 | ||
| 141 | wap-wsg-idm-ecid 11 : wap-wsg-idm-ecid-wtls11 | ||
| 142 | wap-wsg-idm-ecid 12 : wap-wsg-idm-ecid-wtls12 | ||
| 143 | |||
| 144 | |||
| 145 | ISO-US 113533 7 66 10 : CAST5-CBC : cast5-cbc | ||
| 146 | : CAST5-ECB : cast5-ecb | ||
| 147 | !Cname cast5-cfb64 | ||
| 148 | : CAST5-CFB : cast5-cfb | ||
| 149 | !Cname cast5-ofb64 | ||
| 150 | : CAST5-OFB : cast5-ofb | ||
| 151 | !Cname pbeWithMD5AndCast5-CBC | ||
| 152 | ISO-US 113533 7 66 12 : : pbeWithMD5AndCast5CBC | ||
| 153 | |||
| 154 | # Macs for CMP and CRMF | ||
| 155 | ISO-US 113533 7 66 13 : id-PasswordBasedMAC : password based MAC | ||
| 156 | ISO-US 113533 7 66 30 : id-DHBasedMac : Diffie-Hellman based MAC | ||
| 157 | |||
| 158 | ISO-US 113549 : rsadsi : RSA Data Security, Inc. | ||
| 159 | |||
| 160 | rsadsi 1 : pkcs : RSA Data Security, Inc. PKCS | ||
| 161 | |||
| 162 | pkcs 1 : pkcs1 | ||
| 163 | pkcs1 1 : : rsaEncryption | ||
| 164 | pkcs1 2 : RSA-MD2 : md2WithRSAEncryption | ||
| 165 | pkcs1 3 : RSA-MD4 : md4WithRSAEncryption | ||
| 166 | pkcs1 4 : RSA-MD5 : md5WithRSAEncryption | ||
| 167 | pkcs1 5 : RSA-SHA1 : sha1WithRSAEncryption | ||
| 168 | # According to PKCS #1 version 2.1 | ||
| 169 | pkcs1 7 : RSAES-OAEP : rsaesOaep | ||
| 170 | pkcs1 8 : MGF1 : mgf1 | ||
| 171 | pkcs1 9 : PSPECIFIED : pSpecified | ||
| 172 | pkcs1 10 : RSASSA-PSS : rsassaPss | ||
| 173 | |||
| 174 | pkcs1 11 : RSA-SHA256 : sha256WithRSAEncryption | ||
| 175 | pkcs1 12 : RSA-SHA384 : sha384WithRSAEncryption | ||
| 176 | pkcs1 13 : RSA-SHA512 : sha512WithRSAEncryption | ||
| 177 | pkcs1 14 : RSA-SHA224 : sha224WithRSAEncryption | ||
| 178 | pkcs1 15 : RSA-SHA512/224 : sha512-224WithRSAEncryption | ||
| 179 | pkcs1 16 : RSA-SHA512/256 : sha512-256WithRSAEncryption | ||
| 180 | |||
| 181 | pkcs 3 : pkcs3 | ||
| 182 | pkcs3 1 : : dhKeyAgreement | ||
| 183 | |||
| 184 | pkcs 5 : pkcs5 | ||
| 185 | pkcs5 1 : PBE-MD2-DES : pbeWithMD2AndDES-CBC | ||
| 186 | pkcs5 3 : PBE-MD5-DES : pbeWithMD5AndDES-CBC | ||
| 187 | pkcs5 4 : PBE-MD2-RC2-64 : pbeWithMD2AndRC2-CBC | ||
| 188 | pkcs5 6 : PBE-MD5-RC2-64 : pbeWithMD5AndRC2-CBC | ||
| 189 | pkcs5 10 : PBE-SHA1-DES : pbeWithSHA1AndDES-CBC | ||
| 190 | pkcs5 11 : PBE-SHA1-RC2-64 : pbeWithSHA1AndRC2-CBC | ||
| 191 | !Cname id_pbkdf2 | ||
| 192 | pkcs5 12 : : PBKDF2 | ||
| 193 | !Cname pbes2 | ||
| 194 | pkcs5 13 : : PBES2 | ||
| 195 | !Cname pbmac1 | ||
| 196 | pkcs5 14 : : PBMAC1 | ||
| 197 | |||
| 198 | pkcs 7 : pkcs7 | ||
| 199 | pkcs7 1 : : pkcs7-data | ||
| 200 | !Cname pkcs7-signed | ||
| 201 | pkcs7 2 : : pkcs7-signedData | ||
| 202 | !Cname pkcs7-enveloped | ||
| 203 | pkcs7 3 : : pkcs7-envelopedData | ||
| 204 | !Cname pkcs7-signedAndEnveloped | ||
| 205 | pkcs7 4 : : pkcs7-signedAndEnvelopedData | ||
| 206 | !Cname pkcs7-digest | ||
| 207 | pkcs7 5 : : pkcs7-digestData | ||
| 208 | !Cname pkcs7-encrypted | ||
| 209 | pkcs7 6 : : pkcs7-encryptedData | ||
| 210 | |||
| 211 | pkcs 9 : pkcs9 | ||
| 212 | !module pkcs9 | ||
| 213 | pkcs9 1 : : emailAddress | ||
| 214 | pkcs9 2 : : unstructuredName | ||
| 215 | pkcs9 3 : : contentType | ||
| 216 | pkcs9 4 : : messageDigest | ||
| 217 | pkcs9 5 : : signingTime | ||
| 218 | pkcs9 6 : : countersignature | ||
| 219 | pkcs9 7 : : challengePassword | ||
| 220 | pkcs9 8 : : unstructuredAddress | ||
| 221 | !Cname extCertAttributes | ||
| 222 | pkcs9 9 : : extendedCertificateAttributes | ||
| 223 | !global | ||
| 224 | |||
| 225 | !Cname ext-req | ||
| 226 | pkcs9 14 : extReq : Extension Request | ||
| 227 | |||
| 228 | !Cname SMIMECapabilities | ||
| 229 | pkcs9 15 : SMIME-CAPS : S/MIME Capabilities | ||
| 230 | |||
| 231 | # S/MIME | ||
| 232 | !Cname SMIME | ||
| 233 | pkcs9 16 : SMIME : S/MIME | ||
| 234 | SMIME 0 : id-smime-mod | ||
| 235 | SMIME 1 : id-smime-ct | ||
| 236 | SMIME 2 : id-smime-aa | ||
| 237 | SMIME 3 : id-smime-alg | ||
| 238 | SMIME 4 : id-smime-cd | ||
| 239 | SMIME 5 : id-smime-spq | ||
| 240 | SMIME 6 : id-smime-cti | ||
| 241 | |||
| 242 | # S/MIME Modules | ||
| 243 | id-smime-mod 1 : id-smime-mod-cms | ||
| 244 | id-smime-mod 2 : id-smime-mod-ess | ||
| 245 | id-smime-mod 3 : id-smime-mod-oid | ||
| 246 | id-smime-mod 4 : id-smime-mod-msg-v3 | ||
| 247 | id-smime-mod 5 : id-smime-mod-ets-eSignature-88 | ||
| 248 | id-smime-mod 6 : id-smime-mod-ets-eSignature-97 | ||
| 249 | id-smime-mod 7 : id-smime-mod-ets-eSigPolicy-88 | ||
| 250 | id-smime-mod 8 : id-smime-mod-ets-eSigPolicy-97 | ||
| 251 | |||
| 252 | # S/MIME Content Types | ||
| 253 | id-smime-ct 1 : id-smime-ct-receipt | ||
| 254 | id-smime-ct 2 : id-smime-ct-authData | ||
| 255 | id-smime-ct 3 : id-smime-ct-publishCert | ||
| 256 | id-smime-ct 4 : id-smime-ct-TSTInfo | ||
| 257 | id-smime-ct 5 : id-smime-ct-TDTInfo | ||
| 258 | id-smime-ct 6 : id-smime-ct-contentInfo | ||
| 259 | id-smime-ct 7 : id-smime-ct-DVCSRequestData | ||
| 260 | id-smime-ct 8 : id-smime-ct-DVCSResponseData | ||
| 261 | id-smime-ct 9 : id-smime-ct-compressedData | ||
| 262 | id-smime-ct 24 : id-ct-routeOriginAuthz | ||
| 263 | id-smime-ct 26 : id-ct-rpkiManifest | ||
| 264 | id-smime-ct 27 : id-ct-asciiTextWithCRLF | ||
| 265 | id-smime-ct 35 : id-ct-rpkiGhostbusters | ||
| 266 | id-smime-ct 36 : id-ct-resourceTaggedAttest | ||
| 267 | id-smime-ct 47 : id-ct-geofeedCSVwithCRLF | ||
| 268 | id-smime-ct 48 : id-ct-signedChecklist | ||
| 269 | id-smime-ct 49 : id-ct-ASPA | ||
| 270 | id-smime-ct 50 : id-ct-signedTAL | ||
| 271 | id-smime-ct 51 : id-ct-rpkiSignedPrefixList | ||
| 272 | |||
| 273 | # S/MIME Attributes | ||
| 274 | id-smime-aa 1 : id-smime-aa-receiptRequest | ||
| 275 | id-smime-aa 2 : id-smime-aa-securityLabel | ||
| 276 | id-smime-aa 3 : id-smime-aa-mlExpandHistory | ||
| 277 | id-smime-aa 4 : id-smime-aa-contentHint | ||
| 278 | id-smime-aa 5 : id-smime-aa-msgSigDigest | ||
| 279 | # obsolete | ||
| 280 | id-smime-aa 6 : id-smime-aa-encapContentType | ||
| 281 | id-smime-aa 7 : id-smime-aa-contentIdentifier | ||
| 282 | # obsolete | ||
| 283 | id-smime-aa 8 : id-smime-aa-macValue | ||
| 284 | id-smime-aa 9 : id-smime-aa-equivalentLabels | ||
| 285 | id-smime-aa 10 : id-smime-aa-contentReference | ||
| 286 | id-smime-aa 11 : id-smime-aa-encrypKeyPref | ||
| 287 | id-smime-aa 12 : id-smime-aa-signingCertificate | ||
| 288 | id-smime-aa 13 : id-smime-aa-smimeEncryptCerts | ||
| 289 | id-smime-aa 14 : id-smime-aa-timeStampToken | ||
| 290 | id-smime-aa 15 : id-smime-aa-ets-sigPolicyId | ||
| 291 | id-smime-aa 16 : id-smime-aa-ets-commitmentType | ||
| 292 | id-smime-aa 17 : id-smime-aa-ets-signerLocation | ||
| 293 | id-smime-aa 18 : id-smime-aa-ets-signerAttr | ||
| 294 | id-smime-aa 19 : id-smime-aa-ets-otherSigCert | ||
| 295 | id-smime-aa 20 : id-smime-aa-ets-contentTimestamp | ||
| 296 | id-smime-aa 21 : id-smime-aa-ets-CertificateRefs | ||
| 297 | id-smime-aa 22 : id-smime-aa-ets-RevocationRefs | ||
| 298 | id-smime-aa 23 : id-smime-aa-ets-certValues | ||
| 299 | id-smime-aa 24 : id-smime-aa-ets-revocationValues | ||
| 300 | id-smime-aa 25 : id-smime-aa-ets-escTimeStamp | ||
| 301 | id-smime-aa 26 : id-smime-aa-ets-certCRLTimestamp | ||
| 302 | id-smime-aa 27 : id-smime-aa-ets-archiveTimeStamp | ||
| 303 | id-smime-aa 28 : id-smime-aa-signatureType | ||
| 304 | id-smime-aa 29 : id-smime-aa-dvcs-dvc | ||
| 305 | id-smime-aa 47 : id-smime-aa-signingCertificateV2 | ||
| 306 | |||
| 307 | # S/MIME Algorithm Identifiers | ||
| 308 | # obsolete | ||
| 309 | id-smime-alg 1 : id-smime-alg-ESDHwith3DES | ||
| 310 | # obsolete | ||
| 311 | id-smime-alg 2 : id-smime-alg-ESDHwithRC2 | ||
| 312 | # obsolete | ||
| 313 | id-smime-alg 3 : id-smime-alg-3DESwrap | ||
| 314 | # obsolete | ||
| 315 | id-smime-alg 4 : id-smime-alg-RC2wrap | ||
| 316 | id-smime-alg 5 : id-smime-alg-ESDH | ||
| 317 | id-smime-alg 6 : id-smime-alg-CMS3DESwrap | ||
| 318 | id-smime-alg 7 : id-smime-alg-CMSRC2wrap | ||
| 319 | id-smime-alg 9 : id-alg-PWRI-KEK | ||
| 320 | |||
| 321 | # S/MIME Certificate Distribution | ||
| 322 | id-smime-cd 1 : id-smime-cd-ldap | ||
| 323 | |||
| 324 | # S/MIME Signature Policy Qualifier | ||
| 325 | id-smime-spq 1 : id-smime-spq-ets-sqt-uri | ||
| 326 | id-smime-spq 2 : id-smime-spq-ets-sqt-unotice | ||
| 327 | |||
| 328 | # S/MIME Commitment Type Identifier | ||
| 329 | id-smime-cti 1 : id-smime-cti-ets-proofOfOrigin | ||
| 330 | id-smime-cti 2 : id-smime-cti-ets-proofOfReceipt | ||
| 331 | id-smime-cti 3 : id-smime-cti-ets-proofOfDelivery | ||
| 332 | id-smime-cti 4 : id-smime-cti-ets-proofOfSender | ||
| 333 | id-smime-cti 5 : id-smime-cti-ets-proofOfApproval | ||
| 334 | id-smime-cti 6 : id-smime-cti-ets-proofOfCreation | ||
| 335 | |||
| 336 | pkcs9 20 : : friendlyName | ||
| 337 | pkcs9 21 : : localKeyID | ||
| 338 | !Cname ms-csp-name | ||
| 339 | 1 3 6 1 4 1 311 17 1 : CSPName : Microsoft CSP Name | ||
| 340 | 1 3 6 1 4 1 311 17 2 : LocalKeySet : Microsoft Local Key set | ||
| 341 | !Alias certTypes pkcs9 22 | ||
| 342 | certTypes 1 : : x509Certificate | ||
| 343 | certTypes 2 : : sdsiCertificate | ||
| 344 | !Alias crlTypes pkcs9 23 | ||
| 345 | crlTypes 1 : : x509Crl | ||
| 346 | |||
| 347 | !Alias pkcs12 pkcs 12 | ||
| 348 | !Alias pkcs12-pbeids pkcs12 1 | ||
| 349 | |||
| 350 | !Cname pbe-WithSHA1And128BitRC4 | ||
| 351 | pkcs12-pbeids 1 : PBE-SHA1-RC4-128 : pbeWithSHA1And128BitRC4 | ||
| 352 | !Cname pbe-WithSHA1And40BitRC4 | ||
| 353 | pkcs12-pbeids 2 : PBE-SHA1-RC4-40 : pbeWithSHA1And40BitRC4 | ||
| 354 | !Cname pbe-WithSHA1And3_Key_TripleDES-CBC | ||
| 355 | pkcs12-pbeids 3 : PBE-SHA1-3DES : pbeWithSHA1And3-KeyTripleDES-CBC | ||
| 356 | !Cname pbe-WithSHA1And2_Key_TripleDES-CBC | ||
| 357 | pkcs12-pbeids 4 : PBE-SHA1-2DES : pbeWithSHA1And2-KeyTripleDES-CBC | ||
| 358 | !Cname pbe-WithSHA1And128BitRC2-CBC | ||
| 359 | pkcs12-pbeids 5 : PBE-SHA1-RC2-128 : pbeWithSHA1And128BitRC2-CBC | ||
| 360 | !Cname pbe-WithSHA1And40BitRC2-CBC | ||
| 361 | pkcs12-pbeids 6 : PBE-SHA1-RC2-40 : pbeWithSHA1And40BitRC2-CBC | ||
| 362 | |||
| 363 | !Alias pkcs12-Version1 pkcs12 10 | ||
| 364 | !Alias pkcs12-BagIds pkcs12-Version1 1 | ||
| 365 | pkcs12-BagIds 1 : : keyBag | ||
| 366 | pkcs12-BagIds 2 : : pkcs8ShroudedKeyBag | ||
| 367 | pkcs12-BagIds 3 : : certBag | ||
| 368 | pkcs12-BagIds 4 : : crlBag | ||
| 369 | pkcs12-BagIds 5 : : secretBag | ||
| 370 | pkcs12-BagIds 6 : : safeContentsBag | ||
| 371 | |||
| 372 | rsadsi 2 2 : MD2 : md2 | ||
| 373 | rsadsi 2 4 : MD4 : md4 | ||
| 374 | rsadsi 2 5 : MD5 : md5 | ||
| 375 | : MD5-SHA1 : md5-sha1 | ||
| 376 | rsadsi 2 6 : : hmacWithMD5 | ||
| 377 | rsadsi 2 7 : : hmacWithSHA1 | ||
| 378 | |||
| 379 | # From RFC4231 | ||
| 380 | rsadsi 2 8 : : hmacWithSHA224 | ||
| 381 | rsadsi 2 9 : : hmacWithSHA256 | ||
| 382 | rsadsi 2 10 : : hmacWithSHA384 | ||
| 383 | rsadsi 2 11 : : hmacWithSHA512 | ||
| 384 | |||
| 385 | rsadsi 2 12 : : hmacWithSHA512-224 | ||
| 386 | rsadsi 2 13 : : hmacWithSHA512-256 | ||
| 387 | |||
| 388 | rsadsi 3 2 : RC2-CBC : rc2-cbc | ||
| 389 | : RC2-ECB : rc2-ecb | ||
| 390 | !Cname rc2-cfb64 | ||
| 391 | : RC2-CFB : rc2-cfb | ||
| 392 | !Cname rc2-ofb64 | ||
| 393 | : RC2-OFB : rc2-ofb | ||
| 394 | : RC2-40-CBC : rc2-40-cbc | ||
| 395 | : RC2-64-CBC : rc2-64-cbc | ||
| 396 | rsadsi 3 4 : RC4 : rc4 | ||
| 397 | : RC4-40 : rc4-40 | ||
| 398 | rsadsi 3 7 : DES-EDE3-CBC : des-ede3-cbc | ||
| 399 | rsadsi 3 8 : RC5-CBC : rc5-cbc | ||
| 400 | : RC5-ECB : rc5-ecb | ||
| 401 | !Cname rc5-cfb64 | ||
| 402 | : RC5-CFB : rc5-cfb | ||
| 403 | !Cname rc5-ofb64 | ||
| 404 | : RC5-OFB : rc5-ofb | ||
| 405 | |||
| 406 | !Cname ms-ext-req | ||
| 407 | 1 3 6 1 4 1 311 2 1 14 : msExtReq : Microsoft Extension Request | ||
| 408 | !Cname ms-code-ind | ||
| 409 | 1 3 6 1 4 1 311 2 1 21 : msCodeInd : Microsoft Individual Code Signing | ||
| 410 | !Cname ms-code-com | ||
| 411 | 1 3 6 1 4 1 311 2 1 22 : msCodeCom : Microsoft Commercial Code Signing | ||
| 412 | !Cname ms-ctl-sign | ||
| 413 | 1 3 6 1 4 1 311 10 3 1 : msCTLSign : Microsoft Trust List Signing | ||
| 414 | !Cname ms-sgc | ||
| 415 | 1 3 6 1 4 1 311 10 3 3 : msSGC : Microsoft Server Gated Crypto | ||
| 416 | !Cname ms-efs | ||
| 417 | 1 3 6 1 4 1 311 10 3 4 : msEFS : Microsoft Encrypted File System | ||
| 418 | !Cname ms-smartcard-login | ||
| 419 | 1 3 6 1 4 1 311 20 2 2 : msSmartcardLogin : Microsoft Smartcardlogin | ||
| 420 | !Cname ms-upn | ||
| 421 | 1 3 6 1 4 1 311 20 2 3 : msUPN : Microsoft Universal Principal Name | ||
| 422 | |||
| 423 | 1 3 6 1 4 1 188 7 1 1 2 : IDEA-CBC : idea-cbc | ||
| 424 | : IDEA-ECB : idea-ecb | ||
| 425 | !Cname idea-cfb64 | ||
| 426 | : IDEA-CFB : idea-cfb | ||
| 427 | !Cname idea-ofb64 | ||
| 428 | : IDEA-OFB : idea-ofb | ||
| 429 | |||
| 430 | 1 3 6 1 4 1 3029 1 2 : BF-CBC : bf-cbc | ||
| 431 | : BF-ECB : bf-ecb | ||
| 432 | !Cname bf-cfb64 | ||
| 433 | : BF-CFB : bf-cfb | ||
| 434 | !Cname bf-ofb64 | ||
| 435 | : BF-OFB : bf-ofb | ||
| 436 | |||
| 437 | !Cname id-pkix | ||
| 438 | 1 3 6 1 5 5 7 : PKIX | ||
| 439 | |||
| 440 | # PKIX Arcs | ||
| 441 | id-pkix 0 : id-pkix-mod | ||
| 442 | id-pkix 1 : id-pe | ||
| 443 | id-pkix 2 : id-qt | ||
| 444 | id-pkix 3 : id-kp | ||
| 445 | id-pkix 4 : id-it | ||
| 446 | id-pkix 5 : id-pkip | ||
| 447 | id-pkix 6 : id-alg | ||
| 448 | id-pkix 7 : id-cmc | ||
| 449 | id-pkix 8 : id-on | ||
| 450 | id-pkix 9 : id-pda | ||
| 451 | id-pkix 10 : id-aca | ||
| 452 | id-pkix 11 : id-qcs | ||
| 453 | id-pkix 12 : id-cct | ||
| 454 | id-pkix 14 : id-cp | ||
| 455 | id-pkix 21 : id-ppl | ||
| 456 | id-pkix 48 : id-ad | ||
| 457 | |||
| 458 | # PKIX Modules | ||
| 459 | id-pkix-mod 1 : id-pkix1-explicit-88 | ||
| 460 | id-pkix-mod 2 : id-pkix1-implicit-88 | ||
| 461 | id-pkix-mod 3 : id-pkix1-explicit-93 | ||
| 462 | id-pkix-mod 4 : id-pkix1-implicit-93 | ||
| 463 | id-pkix-mod 5 : id-mod-crmf | ||
| 464 | id-pkix-mod 6 : id-mod-cmc | ||
| 465 | id-pkix-mod 7 : id-mod-kea-profile-88 | ||
| 466 | id-pkix-mod 8 : id-mod-kea-profile-93 | ||
| 467 | id-pkix-mod 9 : id-mod-cmp | ||
| 468 | id-pkix-mod 10 : id-mod-qualified-cert-88 | ||
| 469 | id-pkix-mod 11 : id-mod-qualified-cert-93 | ||
| 470 | id-pkix-mod 12 : id-mod-attribute-cert | ||
| 471 | id-pkix-mod 13 : id-mod-timestamp-protocol | ||
| 472 | id-pkix-mod 14 : id-mod-ocsp | ||
| 473 | id-pkix-mod 15 : id-mod-dvcs | ||
| 474 | id-pkix-mod 16 : id-mod-cmp2000 | ||
| 475 | |||
| 476 | # PKIX Private Extensions | ||
| 477 | !Cname info-access | ||
| 478 | id-pe 1 : authorityInfoAccess : Authority Information Access | ||
| 479 | id-pe 2 : biometricInfo : Biometric Info | ||
| 480 | id-pe 3 : qcStatements | ||
| 481 | id-pe 4 : ac-auditEntity | ||
| 482 | id-pe 5 : ac-targeting | ||
| 483 | id-pe 6 : aaControls | ||
| 484 | id-pe 7 : sbgp-ipAddrBlock | ||
| 485 | id-pe 8 : sbgp-autonomousSysNum | ||
| 486 | id-pe 9 : sbgp-routerIdentifier | ||
| 487 | id-pe 10 : ac-proxying | ||
| 488 | !Cname sinfo-access | ||
| 489 | id-pe 11 : subjectInfoAccess : Subject Information Access | ||
| 490 | id-pe 14 : proxyCertInfo : Proxy Certificate Information | ||
| 491 | id-pe 24 : tlsfeature : TLS Feature | ||
| 492 | id-pe 28 : sbgp-ipAddrBlockv2 | ||
| 493 | id-pe 29 : sbgp-autonomousSysNumv2 | ||
| 494 | id-pe 31 : acmeIdentifier : ACME Identifier | ||
| 495 | |||
| 496 | # PKIX policyQualifiers for Internet policy qualifiers | ||
| 497 | id-qt 1 : id-qt-cps : Policy Qualifier CPS | ||
| 498 | id-qt 2 : id-qt-unotice : Policy Qualifier User Notice | ||
| 499 | id-qt 3 : textNotice | ||
| 500 | |||
| 501 | # PKIX key purpose identifiers | ||
| 502 | !Cname server-auth | ||
| 503 | id-kp 1 : serverAuth : TLS Web Server Authentication | ||
| 504 | !Cname client-auth | ||
| 505 | id-kp 2 : clientAuth : TLS Web Client Authentication | ||
| 506 | !Cname code-sign | ||
| 507 | id-kp 3 : codeSigning : Code Signing | ||
| 508 | !Cname email-protect | ||
| 509 | id-kp 4 : emailProtection : E-mail Protection | ||
| 510 | id-kp 5 : ipsecEndSystem : IPSec End System | ||
| 511 | id-kp 6 : ipsecTunnel : IPSec Tunnel | ||
| 512 | id-kp 7 : ipsecUser : IPSec User | ||
| 513 | !Cname time-stamp | ||
| 514 | id-kp 8 : timeStamping : Time Stamping | ||
| 515 | # From OCSP spec RFC2560 | ||
| 516 | !Cname OCSP-sign | ||
| 517 | id-kp 9 : OCSPSigning : OCSP Signing | ||
| 518 | id-kp 10 : DVCS : dvcs | ||
| 519 | id-kp 30 : id-kp-bgpsec-router : BGPsec Router | ||
| 520 | |||
| 521 | # CMP information types | ||
| 522 | id-it 1 : id-it-caProtEncCert | ||
| 523 | id-it 2 : id-it-signKeyPairTypes | ||
| 524 | id-it 3 : id-it-encKeyPairTypes | ||
| 525 | id-it 4 : id-it-preferredSymmAlg | ||
| 526 | id-it 5 : id-it-caKeyUpdateInfo | ||
| 527 | id-it 6 : id-it-currentCRL | ||
| 528 | id-it 7 : id-it-unsupportedOIDs | ||
| 529 | # obsolete | ||
| 530 | id-it 8 : id-it-subscriptionRequest | ||
| 531 | # obsolete | ||
| 532 | id-it 9 : id-it-subscriptionResponse | ||
| 533 | id-it 10 : id-it-keyPairParamReq | ||
| 534 | id-it 11 : id-it-keyPairParamRep | ||
| 535 | id-it 12 : id-it-revPassphrase | ||
| 536 | id-it 13 : id-it-implicitConfirm | ||
| 537 | id-it 14 : id-it-confirmWaitTime | ||
| 538 | id-it 15 : id-it-origPKIMessage | ||
| 539 | id-it 16 : id-it-suppLangTags | ||
| 540 | |||
| 541 | # CRMF registration | ||
| 542 | id-pkip 1 : id-regCtrl | ||
| 543 | id-pkip 2 : id-regInfo | ||
| 544 | |||
| 545 | # CRMF registration controls | ||
| 546 | id-regCtrl 1 : id-regCtrl-regToken | ||
| 547 | id-regCtrl 2 : id-regCtrl-authenticator | ||
| 548 | id-regCtrl 3 : id-regCtrl-pkiPublicationInfo | ||
| 549 | id-regCtrl 4 : id-regCtrl-pkiArchiveOptions | ||
| 550 | id-regCtrl 5 : id-regCtrl-oldCertID | ||
| 551 | id-regCtrl 6 : id-regCtrl-protocolEncrKey | ||
| 552 | |||
| 553 | # CRMF registration information | ||
| 554 | id-regInfo 1 : id-regInfo-utf8Pairs | ||
| 555 | id-regInfo 2 : id-regInfo-certReq | ||
| 556 | |||
| 557 | # algorithms | ||
| 558 | id-alg 1 : id-alg-des40 | ||
| 559 | id-alg 2 : id-alg-noSignature | ||
| 560 | id-alg 3 : id-alg-dh-sig-hmac-sha1 | ||
| 561 | id-alg 4 : id-alg-dh-pop | ||
| 562 | |||
| 563 | # CMC controls | ||
| 564 | id-cmc 1 : id-cmc-statusInfo | ||
| 565 | id-cmc 2 : id-cmc-identification | ||
| 566 | id-cmc 3 : id-cmc-identityProof | ||
| 567 | id-cmc 4 : id-cmc-dataReturn | ||
| 568 | id-cmc 5 : id-cmc-transactionId | ||
| 569 | id-cmc 6 : id-cmc-senderNonce | ||
| 570 | id-cmc 7 : id-cmc-recipientNonce | ||
| 571 | id-cmc 8 : id-cmc-addExtensions | ||
| 572 | id-cmc 9 : id-cmc-encryptedPOP | ||
| 573 | id-cmc 10 : id-cmc-decryptedPOP | ||
| 574 | id-cmc 11 : id-cmc-lraPOPWitness | ||
| 575 | id-cmc 15 : id-cmc-getCert | ||
| 576 | id-cmc 16 : id-cmc-getCRL | ||
| 577 | id-cmc 17 : id-cmc-revokeRequest | ||
| 578 | id-cmc 18 : id-cmc-regInfo | ||
| 579 | id-cmc 19 : id-cmc-responseInfo | ||
| 580 | id-cmc 21 : id-cmc-queryPending | ||
| 581 | id-cmc 22 : id-cmc-popLinkRandom | ||
| 582 | id-cmc 23 : id-cmc-popLinkWitness | ||
| 583 | id-cmc 24 : id-cmc-confirmCertAcceptance | ||
| 584 | |||
| 585 | # other names | ||
| 586 | id-on 1 : id-on-personalData | ||
| 587 | id-on 3 : id-on-permanentIdentifier : Permanent Identifier | ||
| 588 | |||
| 589 | # personal data attributes | ||
| 590 | id-pda 1 : id-pda-dateOfBirth | ||
| 591 | id-pda 2 : id-pda-placeOfBirth | ||
| 592 | id-pda 3 : id-pda-gender | ||
| 593 | id-pda 4 : id-pda-countryOfCitizenship | ||
| 594 | id-pda 5 : id-pda-countryOfResidence | ||
| 595 | |||
| 596 | # attribute certificate attributes | ||
| 597 | id-aca 1 : id-aca-authenticationInfo | ||
| 598 | id-aca 2 : id-aca-accessIdentity | ||
| 599 | id-aca 3 : id-aca-chargingIdentity | ||
| 600 | id-aca 4 : id-aca-group | ||
| 601 | # attention : the following seems to be obsolete, replace by 'role' | ||
| 602 | id-aca 5 : id-aca-role | ||
| 603 | id-aca 6 : id-aca-encAttrs | ||
| 604 | |||
| 605 | # qualified certificate statements | ||
| 606 | id-qcs 1 : id-qcs-pkixQCSyntax-v1 | ||
| 607 | |||
| 608 | # CMC content types | ||
| 609 | id-cct 1 : id-cct-crs | ||
| 610 | id-cct 2 : id-cct-PKIData | ||
| 611 | id-cct 3 : id-cct-PKIResponse | ||
| 612 | |||
| 613 | # PKIX Certificate Policies | ||
| 614 | id-cp 2 : ipAddr-asNumber | ||
| 615 | id-cp 3 : ipAddr-asNumberv2 | ||
| 616 | |||
| 617 | # Predefined Proxy Certificate policy languages | ||
| 618 | id-ppl 0 : id-ppl-anyLanguage : Any language | ||
| 619 | id-ppl 1 : id-ppl-inheritAll : Inherit all | ||
| 620 | id-ppl 2 : id-ppl-independent : Independent | ||
| 621 | |||
| 622 | # access descriptors for authority info access extension | ||
| 623 | !Cname ad-OCSP | ||
| 624 | id-ad 1 : OCSP : OCSP | ||
| 625 | !Cname ad-ca-issuers | ||
| 626 | id-ad 2 : caIssuers : CA Issuers | ||
| 627 | !Cname ad-timeStamping | ||
| 628 | id-ad 3 : ad_timestamping : AD Time Stamping | ||
| 629 | !Cname ad-dvcs | ||
| 630 | id-ad 4 : AD_DVCS : ad dvcs | ||
| 631 | id-ad 5 : caRepository : CA Repository | ||
| 632 | id-ad 10 : rpkiManifest : RPKI Manifest | ||
| 633 | id-ad 11 : signedObject : Signed Object | ||
| 634 | id-ad 13 : rpkiNotify : RPKI Notify | ||
| 635 | |||
| 636 | !Alias id-pkix-OCSP ad-OCSP | ||
| 637 | !module id-pkix-OCSP | ||
| 638 | !Cname basic | ||
| 639 | id-pkix-OCSP 1 : basicOCSPResponse : Basic OCSP Response | ||
| 640 | id-pkix-OCSP 2 : Nonce : OCSP Nonce | ||
| 641 | id-pkix-OCSP 3 : CrlID : OCSP CRL ID | ||
| 642 | id-pkix-OCSP 4 : acceptableResponses : Acceptable OCSP Responses | ||
| 643 | id-pkix-OCSP 5 : noCheck : OCSP No Check | ||
| 644 | id-pkix-OCSP 6 : archiveCutoff : OCSP Archive Cutoff | ||
| 645 | id-pkix-OCSP 7 : serviceLocator : OCSP Service Locator | ||
| 646 | id-pkix-OCSP 8 : extendedStatus : Extended OCSP Status | ||
| 647 | id-pkix-OCSP 9 : valid | ||
| 648 | id-pkix-OCSP 10 : path | ||
| 649 | id-pkix-OCSP 11 : trustRoot : Trust Root | ||
| 650 | !global | ||
| 651 | |||
| 652 | 1 3 14 3 2 : algorithm : algorithm | ||
| 653 | algorithm 3 : RSA-NP-MD5 : md5WithRSA | ||
| 654 | algorithm 6 : DES-ECB : des-ecb | ||
| 655 | algorithm 7 : DES-CBC : des-cbc | ||
| 656 | !Cname des-ofb64 | ||
| 657 | algorithm 8 : DES-OFB : des-ofb | ||
| 658 | !Cname des-cfb64 | ||
| 659 | algorithm 9 : DES-CFB : des-cfb | ||
| 660 | algorithm 11 : rsaSignature | ||
| 661 | !Cname dsa-2 | ||
| 662 | algorithm 12 : DSA-old : dsaEncryption-old | ||
| 663 | algorithm 13 : DSA-SHA : dsaWithSHA | ||
| 664 | algorithm 15 : RSA-SHA : shaWithRSAEncryption | ||
| 665 | !Cname des-ede-ecb | ||
| 666 | algorithm 17 : DES-EDE : des-ede | ||
| 667 | !Cname des-ede3-ecb | ||
| 668 | : DES-EDE3 : des-ede3 | ||
| 669 | : DES-EDE-CBC : des-ede-cbc | ||
| 670 | !Cname des-ede-cfb64 | ||
| 671 | : DES-EDE-CFB : des-ede-cfb | ||
| 672 | !Cname des-ede3-cfb64 | ||
| 673 | : DES-EDE3-CFB : des-ede3-cfb | ||
| 674 | !Cname des-ede-ofb64 | ||
| 675 | : DES-EDE-OFB : des-ede-ofb | ||
| 676 | !Cname des-ede3-ofb64 | ||
| 677 | : DES-EDE3-OFB : des-ede3-ofb | ||
| 678 | : DESX-CBC : desx-cbc | ||
| 679 | algorithm 18 : SHA : sha | ||
| 680 | algorithm 26 : SHA1 : sha1 | ||
| 681 | !Cname dsaWithSHA1-2 | ||
| 682 | algorithm 27 : DSA-SHA1-old : dsaWithSHA1-old | ||
| 683 | algorithm 29 : RSA-SHA1-2 : sha1WithRSA | ||
| 684 | |||
| 685 | 1 3 36 3 2 1 : RIPEMD160 : ripemd160 | ||
| 686 | 1 3 36 3 3 1 2 : RSA-RIPEMD160 : ripemd160WithRSA | ||
| 687 | |||
| 688 | !Cname sxnet | ||
| 689 | 1 3 101 1 4 1 : SXNetID : Strong Extranet ID | ||
| 690 | |||
| 691 | 2 5 : X500 : directory services (X.500) | ||
| 692 | |||
| 693 | X500 4 : X509 | ||
| 694 | X509 3 : CN : commonName | ||
| 695 | X509 4 : SN : surname | ||
| 696 | X509 5 : : serialNumber | ||
| 697 | X509 6 : C : countryName | ||
| 698 | X509 7 : L : localityName | ||
| 699 | X509 8 : ST : stateOrProvinceName | ||
| 700 | X509 9 : street : streetAddress | ||
| 701 | X509 10 : O : organizationName | ||
| 702 | X509 11 : OU : organizationalUnitName | ||
| 703 | X509 12 : title : title | ||
| 704 | X509 13 : : description | ||
| 705 | X509 14 : : searchGuide | ||
| 706 | X509 15 : : businessCategory | ||
| 707 | X509 16 : : postalAddress | ||
| 708 | X509 17 : : postalCode | ||
| 709 | X509 18 : : postOfficeBox | ||
| 710 | X509 19 : : physicalDeliveryOfficeName | ||
| 711 | X509 20 : : telephoneNumber | ||
| 712 | X509 21 : : telexNumber | ||
| 713 | X509 22 : : teletexTerminalIdentifier | ||
| 714 | X509 23 : : facsimileTelephoneNumber | ||
| 715 | X509 24 : : x121Address | ||
| 716 | X509 25 : : internationaliSDNNumber | ||
| 717 | X509 26 : : registeredAddress | ||
| 718 | X509 27 : : destinationIndicator | ||
| 719 | X509 28 : : preferredDeliveryMethod | ||
| 720 | X509 29 : : presentationAddress | ||
| 721 | X509 30 : : supportedApplicationContext | ||
| 722 | X509 31 : member : | ||
| 723 | X509 32 : owner : | ||
| 724 | X509 33 : : roleOccupant | ||
| 725 | X509 34 : seeAlso : | ||
| 726 | X509 35 : : userPassword | ||
| 727 | X509 36 : : userCertificate | ||
| 728 | X509 37 : : cACertificate | ||
| 729 | X509 38 : : authorityRevocationList | ||
| 730 | X509 39 : : certificateRevocationList | ||
| 731 | X509 40 : : crossCertificatePair | ||
| 732 | X509 41 : name : name | ||
| 733 | X509 42 : GN : givenName | ||
| 734 | X509 43 : initials : initials | ||
| 735 | X509 44 : : generationQualifier | ||
| 736 | X509 45 : : x500UniqueIdentifier | ||
| 737 | X509 46 : dnQualifier : dnQualifier | ||
| 738 | X509 47 : : enhancedSearchGuide | ||
| 739 | X509 48 : : protocolInformation | ||
| 740 | X509 49 : : distinguishedName | ||
| 741 | X509 50 : : uniqueMember | ||
| 742 | X509 51 : : houseIdentifier | ||
| 743 | X509 52 : : supportedAlgorithms | ||
| 744 | X509 53 : : deltaRevocationList | ||
| 745 | X509 54 : dmdName : | ||
| 746 | X509 65 : : pseudonym | ||
| 747 | X509 72 : role : role | ||
| 748 | |||
| 749 | X500 8 : X500algorithms : directory services - algorithms | ||
| 750 | X500algorithms 1 1 : RSA : rsa | ||
| 751 | X500algorithms 3 100 : RSA-MDC2 : mdc2WithRSA | ||
| 752 | X500algorithms 3 101 : MDC2 : mdc2 | ||
| 753 | |||
| 754 | X500 29 : id-ce | ||
| 755 | !Cname subject-directory-attributes | ||
| 756 | id-ce 9 : subjectDirectoryAttributes : X509v3 Subject Directory Attributes | ||
| 757 | !Cname subject-key-identifier | ||
| 758 | id-ce 14 : subjectKeyIdentifier : X509v3 Subject Key Identifier | ||
| 759 | !Cname key-usage | ||
| 760 | id-ce 15 : keyUsage : X509v3 Key Usage | ||
| 761 | !Cname private-key-usage-period | ||
| 762 | id-ce 16 : privateKeyUsagePeriod : X509v3 Private Key Usage Period | ||
| 763 | !Cname subject-alt-name | ||
| 764 | id-ce 17 : subjectAltName : X509v3 Subject Alternative Name | ||
| 765 | !Cname issuer-alt-name | ||
| 766 | id-ce 18 : issuerAltName : X509v3 Issuer Alternative Name | ||
| 767 | !Cname basic-constraints | ||
| 768 | id-ce 19 : basicConstraints : X509v3 Basic Constraints | ||
| 769 | !Cname crl-number | ||
| 770 | id-ce 20 : crlNumber : X509v3 CRL Number | ||
| 771 | !Cname crl-reason | ||
| 772 | id-ce 21 : CRLReason : X509v3 CRL Reason Code | ||
| 773 | !Cname invalidity-date | ||
| 774 | id-ce 24 : invalidityDate : Invalidity Date | ||
| 775 | !Cname delta-crl | ||
| 776 | id-ce 27 : deltaCRL : X509v3 Delta CRL Indicator | ||
| 777 | !Cname issuing-distribution-point | ||
| 778 | id-ce 28 : issuingDistributionPoint : X509v3 Issuing Distribution Point | ||
| 779 | !Cname certificate-issuer | ||
| 780 | id-ce 29 : certificateIssuer : X509v3 Certificate Issuer | ||
| 781 | !Cname name-constraints | ||
| 782 | id-ce 30 : nameConstraints : X509v3 Name Constraints | ||
| 783 | !Cname crl-distribution-points | ||
| 784 | id-ce 31 : crlDistributionPoints : X509v3 CRL Distribution Points | ||
| 785 | !Cname certificate-policies | ||
| 786 | id-ce 32 : certificatePolicies : X509v3 Certificate Policies | ||
| 787 | !Cname any-policy | ||
| 788 | certificate-policies 0 : anyPolicy : X509v3 Any Policy | ||
| 789 | !Cname policy-mappings | ||
| 790 | id-ce 33 : policyMappings : X509v3 Policy Mappings | ||
| 791 | !Cname authority-key-identifier | ||
| 792 | id-ce 35 : authorityKeyIdentifier : X509v3 Authority Key Identifier | ||
| 793 | !Cname policy-constraints | ||
| 794 | id-ce 36 : policyConstraints : X509v3 Policy Constraints | ||
| 795 | !Cname ext-key-usage | ||
| 796 | id-ce 37 : extendedKeyUsage : X509v3 Extended Key Usage | ||
| 797 | !Cname freshest-crl | ||
| 798 | id-ce 46 : freshestCRL : X509v3 Freshest CRL | ||
| 799 | !Cname inhibit-any-policy | ||
| 800 | id-ce 54 : inhibitAnyPolicy : X509v3 Inhibit Any Policy | ||
| 801 | !Cname target-information | ||
| 802 | id-ce 55 : targetInformation : X509v3 AC Targeting | ||
| 803 | !Cname no-rev-avail | ||
| 804 | id-ce 56 : noRevAvail : X509v3 No Revocation Available | ||
| 805 | |||
| 806 | # From RFC5280 | ||
| 807 | ext-key-usage 0 : anyExtendedKeyUsage : Any Extended Key Usage | ||
| 808 | |||
| 809 | |||
| 810 | !Cname netscape | ||
| 811 | 2 16 840 1 113730 : Netscape : Netscape Communications Corp. | ||
| 812 | !Cname netscape-cert-extension | ||
| 813 | netscape 1 : nsCertExt : Netscape Certificate Extension | ||
| 814 | !Cname netscape-data-type | ||
| 815 | netscape 2 : nsDataType : Netscape Data Type | ||
| 816 | !Cname netscape-cert-type | ||
| 817 | netscape-cert-extension 1 : nsCertType : Netscape Cert Type | ||
| 818 | !Cname netscape-base-url | ||
| 819 | netscape-cert-extension 2 : nsBaseUrl : Netscape Base Url | ||
| 820 | !Cname netscape-revocation-url | ||
| 821 | netscape-cert-extension 3 : nsRevocationUrl : Netscape Revocation Url | ||
| 822 | !Cname netscape-ca-revocation-url | ||
| 823 | netscape-cert-extension 4 : nsCaRevocationUrl : Netscape CA Revocation Url | ||
| 824 | !Cname netscape-renewal-url | ||
| 825 | netscape-cert-extension 7 : nsRenewalUrl : Netscape Renewal Url | ||
| 826 | !Cname netscape-ca-policy-url | ||
| 827 | netscape-cert-extension 8 : nsCaPolicyUrl : Netscape CA Policy Url | ||
| 828 | !Cname netscape-ssl-server-name | ||
| 829 | netscape-cert-extension 12 : nsSslServerName : Netscape SSL Server Name | ||
| 830 | !Cname netscape-comment | ||
| 831 | netscape-cert-extension 13 : nsComment : Netscape Comment | ||
| 832 | !Cname netscape-cert-sequence | ||
| 833 | netscape-data-type 5 : nsCertSequence : Netscape Certificate Sequence | ||
| 834 | !Cname ns-sgc | ||
| 835 | netscape 4 1 : nsSGC : Netscape Server Gated Crypto | ||
| 836 | |||
| 837 | # iso(1) | ||
| 838 | iso 3 : ORG : org | ||
| 839 | org 6 : DOD : dod | ||
| 840 | dod 1 : IANA : iana | ||
| 841 | !Alias internet iana | ||
| 842 | |||
| 843 | internet 1 : directory : Directory | ||
| 844 | internet 2 : mgmt : Management | ||
| 845 | internet 3 : experimental : Experimental | ||
| 846 | internet 4 : private : Private | ||
| 847 | internet 5 : security : Security | ||
| 848 | internet 6 : snmpv2 : SNMPv2 | ||
| 849 | # Documents refer to "internet 7" as "mail". This however leads to ambiguities | ||
| 850 | # with RFC2798, Section 9.1.3, where "mail" is defined as the short name for | ||
| 851 | # rfc822Mailbox. The short name is therefore here left out for a reason. | ||
| 852 | # Subclasses of "mail", e.g. "MIME MHS" don't constitute a problem, as | ||
| 853 | # references are realized via long name "Mail" (with capital M). | ||
| 854 | internet 7 : : Mail | ||
| 855 | |||
| 856 | Private 1 : enterprises : Enterprises | ||
| 857 | |||
| 858 | # RFC 2247 | ||
| 859 | Enterprises 1466 344 : dcobject : dcObject | ||
| 860 | |||
| 861 | # Extended Validation | ||
| 862 | !Alias extendedValidation Enterprises 311 60 | ||
| 863 | extendedValidation 2 1 1 : : jurisdictionLocalityName | ||
| 864 | extendedValidation 2 1 2 : : jurisdictionStateOrProvinceName | ||
| 865 | extendedValidation 2 1 3 : : jurisdictionCountryName | ||
| 866 | |||
| 867 | # RFC 1495 | ||
| 868 | Mail 1 : mime-mhs : MIME MHS | ||
| 869 | mime-mhs 1 : mime-mhs-headings : mime-mhs-headings | ||
| 870 | mime-mhs 2 : mime-mhs-bodies : mime-mhs-bodies | ||
| 871 | mime-mhs-headings 1 : id-hex-partial-message : id-hex-partial-message | ||
| 872 | mime-mhs-headings 2 : id-hex-multipart-message : id-hex-multipart-message | ||
| 873 | |||
| 874 | # What the hell are these OIDs, really? | ||
| 875 | !Cname rle-compression | ||
| 876 | 1 1 1 1 666 1 : RLE : run length compression | ||
| 877 | !Cname zlib-compression | ||
| 878 | id-smime-alg 8 : ZLIB : zlib compression | ||
| 879 | |||
| 880 | # | ||
| 881 | # NIST CSOR | ||
| 882 | # | ||
| 883 | # https://csrc.nisg.gov/projects/computer-security-objects/register/algorithm-registration | ||
| 884 | # | ||
| 885 | |||
| 886 | !Alias csor 2 16 840 1 101 3 | ||
| 887 | !Alias nistAlgorithms csor 4 | ||
| 888 | |||
| 889 | # AES aka Rijndael | ||
| 890 | !Alias aes nistAlgorithms 1 | ||
| 891 | |||
| 892 | aes 1 : AES-128-ECB : aes-128-ecb | ||
| 893 | aes 2 : AES-128-CBC : aes-128-cbc | ||
| 894 | !Cname aes-128-ofb128 | ||
| 895 | aes 3 : AES-128-OFB : aes-128-ofb | ||
| 896 | !Cname aes-128-cfb128 | ||
| 897 | aes 4 : AES-128-CFB : aes-128-cfb | ||
| 898 | aes 5 : id-aes128-wrap | ||
| 899 | aes 6 : id-aes128-GCM : aes-128-gcm | ||
| 900 | aes 7 : id-aes128-CCM : aes-128-ccm | ||
| 901 | aes 8 : id-aes128-wrap-pad | ||
| 902 | |||
| 903 | aes 21 : AES-192-ECB : aes-192-ecb | ||
| 904 | aes 22 : AES-192-CBC : aes-192-cbc | ||
| 905 | !Cname aes-192-ofb128 | ||
| 906 | aes 23 : AES-192-OFB : aes-192-ofb | ||
| 907 | !Cname aes-192-cfb128 | ||
| 908 | aes 24 : AES-192-CFB : aes-192-cfb | ||
| 909 | aes 25 : id-aes192-wrap | ||
| 910 | aes 26 : id-aes192-GCM : aes-192-gcm | ||
| 911 | aes 27 : id-aes192-CCM : aes-192-ccm | ||
| 912 | aes 28 : id-aes192-wrap-pad | ||
| 913 | |||
| 914 | aes 41 : AES-256-ECB : aes-256-ecb | ||
| 915 | aes 42 : AES-256-CBC : aes-256-cbc | ||
| 916 | !Cname aes-256-ofb128 | ||
| 917 | aes 43 : AES-256-OFB : aes-256-ofb | ||
| 918 | !Cname aes-256-cfb128 | ||
| 919 | aes 44 : AES-256-CFB : aes-256-cfb | ||
| 920 | aes 45 : id-aes256-wrap | ||
| 921 | aes 46 : id-aes256-GCM : aes-256-gcm | ||
| 922 | aes 47 : id-aes256-CCM : aes-256-ccm | ||
| 923 | aes 48 : id-aes256-wrap-pad | ||
| 924 | |||
| 925 | # There are no OIDs for these modes... | ||
| 926 | |||
| 927 | : AES-128-CFB1 : aes-128-cfb1 | ||
| 928 | : AES-192-CFB1 : aes-192-cfb1 | ||
| 929 | : AES-256-CFB1 : aes-256-cfb1 | ||
| 930 | : AES-128-CFB8 : aes-128-cfb8 | ||
| 931 | : AES-192-CFB8 : aes-192-cfb8 | ||
| 932 | : AES-256-CFB8 : aes-256-cfb8 | ||
| 933 | : AES-128-CTR : aes-128-ctr | ||
| 934 | : AES-192-CTR : aes-192-ctr | ||
| 935 | : AES-256-CTR : aes-256-ctr | ||
| 936 | : AES-128-XTS : aes-128-xts | ||
| 937 | : AES-256-XTS : aes-256-xts | ||
| 938 | : DES-CFB1 : des-cfb1 | ||
| 939 | : DES-CFB8 : des-cfb8 | ||
| 940 | : DES-EDE3-CFB1 : des-ede3-cfb1 | ||
| 941 | : DES-EDE3-CFB8 : des-ede3-cfb8 | ||
| 942 | |||
| 943 | # NIST CSOR Hash Algorithms (see also RFC 4231, RFC 8017, RFC 8702) | ||
| 944 | !Alias nist_hashalgs nistAlgorithms 2 | ||
| 945 | nist_hashalgs 1 : SHA256 : sha256 | ||
| 946 | nist_hashalgs 2 : SHA384 : sha384 | ||
| 947 | nist_hashalgs 3 : SHA512 : sha512 | ||
| 948 | nist_hashalgs 4 : SHA224 : sha224 | ||
| 949 | nist_hashalgs 5 : SHA512-224 : sha512-224 | ||
| 950 | nist_hashalgs 6 : SHA512-256 : sha512-256 | ||
| 951 | nist_hashalgs 7 : SHA3-224 : sha3-224 | ||
| 952 | nist_hashalgs 8 : SHA3-256 : sha3-256 | ||
| 953 | nist_hashalgs 9 : SHA3-384 : sha3-384 | ||
| 954 | nist_hashalgs 10 : SHA3-512 : sha3-512 | ||
| 955 | #nist_hashalgs 11 : SHAKE128 : shake128 | ||
| 956 | #nist_hashalgs 12 : SHAKE256 : shake256 | ||
| 957 | nist_hashalgs 13 : id-hmacWithSHA3-224 : hmac-sha3-224 | ||
| 958 | nist_hashalgs 14 : id-hmacWithSHA3-256 : hmac-sha3-256 | ||
| 959 | nist_hashalgs 15 : id-hmacWithSHA3-384 : hmac-sha3-384 | ||
| 960 | nist_hashalgs 16 : id-hmacWithSHA3-512 : hmac-sha3-512 | ||
| 961 | |||
| 962 | # NIST CSOR Signature Algorithms | ||
| 963 | !Alias nist_sigalgs nistAlgorithms 3 | ||
| 964 | nist_sigalgs 1 : id-dsa-with-sha224 : dsa_with_SHA224 | ||
| 965 | nist_sigalgs 2 : id-dsa-with-sha256 : dsa_with_SHA256 | ||
| 966 | nist_sigalgs 3 : id-dsa-with-sha384 : dsa_with_SHA384 | ||
| 967 | nist_sigalgs 4 : id-dsa-with-sha512 : dsa_with_SHA512 | ||
| 968 | nist_sigalgs 5 : id-dsa-with-sha3-224 : dsa_with_SHA3-224 | ||
| 969 | nist_sigalgs 6 : id-dsa-with-sha3-256 : dsa_with_SHA3-256 | ||
| 970 | nist_sigalgs 7 : id-dsa-with-sha3-384 : dsa_with_SHA3-384 | ||
| 971 | nist_sigalgs 8 : id-dsa-with-sha3-512 : dsa_with_SHA3-512 | ||
| 972 | nist_sigalgs 9 : id-ecdsa-with-sha3-224 : ecdsa_with_SHA3-224 | ||
| 973 | nist_sigalgs 10 : id-ecdsa-with-sha3-256 : ecdsa_with_SHA3-256 | ||
| 974 | nist_sigalgs 11 : id-ecdsa-with-sha3-384 : ecdsa_with_SHA3-384 | ||
| 975 | nist_sigalgs 12 : id-ecdsa-with-sha3-512 : ecdsa_with_SHA3-512 | ||
| 976 | nist_sigalgs 13 : id-rsassa-pkcs1-v1_5-with-sha3-224 : RSA-SHA3-224 | ||
| 977 | nist_sigalgs 14 : id-rsassa-pkcs1-v1_5-with-sha3-256 : RSA-SHA3-256 | ||
| 978 | nist_sigalgs 15 : id-rsassa-pkcs1-v1_5-with-sha3-384 : RSA-SHA3-384 | ||
| 979 | nist_sigalgs 16 : id-rsassa-pkcs1-v1_5-with-sha3-512 : RSA-SHA3-512 | ||
| 980 | |||
| 981 | # Hold instruction CRL entry extension | ||
| 982 | !Cname hold-instruction-code | ||
| 983 | id-ce 23 : holdInstructionCode : Hold Instruction Code | ||
| 984 | !Alias holdInstruction X9-57 2 | ||
| 985 | !Cname hold-instruction-none | ||
| 986 | holdInstruction 1 : holdInstructionNone : Hold Instruction None | ||
| 987 | !Cname hold-instruction-call-issuer | ||
| 988 | holdInstruction 2 : holdInstructionCallIssuer : Hold Instruction Call Issuer | ||
| 989 | !Cname hold-instruction-reject | ||
| 990 | holdInstruction 3 : holdInstructionReject : Hold Instruction Reject | ||
| 991 | |||
| 992 | # OID's from ITU-T. Most of this is defined in RFC 1274. A couple of | ||
| 993 | # them are also mentioned in RFC 2247 | ||
| 994 | itu-t 9 : data | ||
| 995 | data 2342 : pss | ||
| 996 | pss 19200300 : ucl | ||
| 997 | ucl 100 : pilot | ||
| 998 | pilot 1 : : pilotAttributeType | ||
| 999 | pilot 3 : : pilotAttributeSyntax | ||
| 1000 | pilot 4 : : pilotObjectClass | ||
| 1001 | pilot 10 : : pilotGroups | ||
| 1002 | pilotAttributeSyntax 4 : : iA5StringSyntax | ||
| 1003 | pilotAttributeSyntax 5 : : caseIgnoreIA5StringSyntax | ||
| 1004 | pilotObjectClass 3 : : pilotObject | ||
| 1005 | pilotObjectClass 4 : : pilotPerson | ||
| 1006 | pilotObjectClass 5 : account | ||
| 1007 | pilotObjectClass 6 : document | ||
| 1008 | pilotObjectClass 7 : room | ||
| 1009 | pilotObjectClass 9 : : documentSeries | ||
| 1010 | pilotObjectClass 13 : domain : Domain | ||
| 1011 | pilotObjectClass 14 : : rFC822localPart | ||
| 1012 | pilotObjectClass 15 : : dNSDomain | ||
| 1013 | pilotObjectClass 17 : : domainRelatedObject | ||
| 1014 | pilotObjectClass 18 : : friendlyCountry | ||
| 1015 | pilotObjectClass 19 : : simpleSecurityObject | ||
| 1016 | pilotObjectClass 20 : : pilotOrganization | ||
| 1017 | pilotObjectClass 21 : : pilotDSA | ||
| 1018 | pilotObjectClass 22 : : qualityLabelledData | ||
| 1019 | pilotAttributeType 1 : UID : userId | ||
| 1020 | pilotAttributeType 2 : : textEncodedORAddress | ||
| 1021 | pilotAttributeType 3 : mail : rfc822Mailbox | ||
| 1022 | pilotAttributeType 4 : info | ||
| 1023 | pilotAttributeType 5 : : favouriteDrink | ||
| 1024 | pilotAttributeType 6 : : roomNumber | ||
| 1025 | pilotAttributeType 7 : photo | ||
| 1026 | pilotAttributeType 8 : : userClass | ||
| 1027 | pilotAttributeType 9 : host | ||
| 1028 | pilotAttributeType 10 : manager | ||
| 1029 | pilotAttributeType 11 : : documentIdentifier | ||
| 1030 | pilotAttributeType 12 : : documentTitle | ||
| 1031 | pilotAttributeType 13 : : documentVersion | ||
| 1032 | pilotAttributeType 14 : : documentAuthor | ||
| 1033 | pilotAttributeType 15 : : documentLocation | ||
| 1034 | pilotAttributeType 20 : : homeTelephoneNumber | ||
| 1035 | pilotAttributeType 21 : secretary | ||
| 1036 | pilotAttributeType 22 : : otherMailbox | ||
| 1037 | pilotAttributeType 23 : : lastModifiedTime | ||
| 1038 | pilotAttributeType 24 : : lastModifiedBy | ||
| 1039 | pilotAttributeType 25 : DC : domainComponent | ||
| 1040 | pilotAttributeType 26 : : aRecord | ||
| 1041 | pilotAttributeType 27 : : pilotAttributeType27 | ||
| 1042 | pilotAttributeType 28 : : mXRecord | ||
| 1043 | pilotAttributeType 29 : : nSRecord | ||
| 1044 | pilotAttributeType 30 : : sOARecord | ||
| 1045 | pilotAttributeType 31 : : cNAMERecord | ||
| 1046 | pilotAttributeType 37 : : associatedDomain | ||
| 1047 | pilotAttributeType 38 : : associatedName | ||
| 1048 | pilotAttributeType 39 : : homePostalAddress | ||
| 1049 | pilotAttributeType 40 : : personalTitle | ||
| 1050 | pilotAttributeType 41 : : mobileTelephoneNumber | ||
| 1051 | pilotAttributeType 42 : : pagerTelephoneNumber | ||
| 1052 | pilotAttributeType 43 : : friendlyCountryName | ||
| 1053 | # The following clashes with 2.5.4.45, so commented away | ||
| 1054 | #pilotAttributeType 44 : uid : uniqueIdentifier | ||
| 1055 | pilotAttributeType 45 : : organizationalStatus | ||
| 1056 | pilotAttributeType 46 : : janetMailbox | ||
| 1057 | pilotAttributeType 47 : : mailPreferenceOption | ||
| 1058 | pilotAttributeType 48 : : buildingName | ||
| 1059 | pilotAttributeType 49 : : dSAQuality | ||
| 1060 | pilotAttributeType 50 : : singleLevelQuality | ||
| 1061 | pilotAttributeType 51 : : subtreeMinimumQuality | ||
| 1062 | pilotAttributeType 52 : : subtreeMaximumQuality | ||
| 1063 | pilotAttributeType 53 : : personalSignature | ||
| 1064 | pilotAttributeType 54 : : dITRedirect | ||
| 1065 | pilotAttributeType 55 : audio | ||
| 1066 | pilotAttributeType 56 : : documentPublisher | ||
| 1067 | |||
| 1068 | international-organizations 42 : id-set : Secure Electronic Transactions | ||
| 1069 | |||
| 1070 | id-set 0 : set-ctype : content types | ||
| 1071 | id-set 1 : set-msgExt : message extensions | ||
| 1072 | id-set 3 : set-attr | ||
| 1073 | id-set 5 : set-policy | ||
| 1074 | id-set 7 : set-certExt : certificate extensions | ||
| 1075 | id-set 8 : set-brand | ||
| 1076 | |||
| 1077 | set-ctype 0 : setct-PANData | ||
| 1078 | set-ctype 1 : setct-PANToken | ||
| 1079 | set-ctype 2 : setct-PANOnly | ||
| 1080 | set-ctype 3 : setct-OIData | ||
| 1081 | set-ctype 4 : setct-PI | ||
| 1082 | set-ctype 5 : setct-PIData | ||
| 1083 | set-ctype 6 : setct-PIDataUnsigned | ||
| 1084 | set-ctype 7 : setct-HODInput | ||
| 1085 | set-ctype 8 : setct-AuthResBaggage | ||
| 1086 | set-ctype 9 : setct-AuthRevReqBaggage | ||
| 1087 | set-ctype 10 : setct-AuthRevResBaggage | ||
| 1088 | set-ctype 11 : setct-CapTokenSeq | ||
| 1089 | set-ctype 12 : setct-PInitResData | ||
| 1090 | set-ctype 13 : setct-PI-TBS | ||
| 1091 | set-ctype 14 : setct-PResData | ||
| 1092 | set-ctype 16 : setct-AuthReqTBS | ||
| 1093 | set-ctype 17 : setct-AuthResTBS | ||
| 1094 | set-ctype 18 : setct-AuthResTBSX | ||
| 1095 | set-ctype 19 : setct-AuthTokenTBS | ||
| 1096 | set-ctype 20 : setct-CapTokenData | ||
| 1097 | set-ctype 21 : setct-CapTokenTBS | ||
| 1098 | set-ctype 22 : setct-AcqCardCodeMsg | ||
| 1099 | set-ctype 23 : setct-AuthRevReqTBS | ||
| 1100 | set-ctype 24 : setct-AuthRevResData | ||
| 1101 | set-ctype 25 : setct-AuthRevResTBS | ||
| 1102 | set-ctype 26 : setct-CapReqTBS | ||
| 1103 | set-ctype 27 : setct-CapReqTBSX | ||
| 1104 | set-ctype 28 : setct-CapResData | ||
| 1105 | set-ctype 29 : setct-CapRevReqTBS | ||
| 1106 | set-ctype 30 : setct-CapRevReqTBSX | ||
| 1107 | set-ctype 31 : setct-CapRevResData | ||
| 1108 | set-ctype 32 : setct-CredReqTBS | ||
| 1109 | set-ctype 33 : setct-CredReqTBSX | ||
| 1110 | set-ctype 34 : setct-CredResData | ||
| 1111 | set-ctype 35 : setct-CredRevReqTBS | ||
| 1112 | set-ctype 36 : setct-CredRevReqTBSX | ||
| 1113 | set-ctype 37 : setct-CredRevResData | ||
| 1114 | set-ctype 38 : setct-PCertReqData | ||
| 1115 | set-ctype 39 : setct-PCertResTBS | ||
| 1116 | set-ctype 40 : setct-BatchAdminReqData | ||
| 1117 | set-ctype 41 : setct-BatchAdminResData | ||
| 1118 | set-ctype 42 : setct-CardCInitResTBS | ||
| 1119 | set-ctype 43 : setct-MeAqCInitResTBS | ||
| 1120 | set-ctype 44 : setct-RegFormResTBS | ||
| 1121 | set-ctype 45 : setct-CertReqData | ||
| 1122 | set-ctype 46 : setct-CertReqTBS | ||
| 1123 | set-ctype 47 : setct-CertResData | ||
| 1124 | set-ctype 48 : setct-CertInqReqTBS | ||
| 1125 | set-ctype 49 : setct-ErrorTBS | ||
| 1126 | set-ctype 50 : setct-PIDualSignedTBE | ||
| 1127 | set-ctype 51 : setct-PIUnsignedTBE | ||
| 1128 | set-ctype 52 : setct-AuthReqTBE | ||
| 1129 | set-ctype 53 : setct-AuthResTBE | ||
| 1130 | set-ctype 54 : setct-AuthResTBEX | ||
| 1131 | set-ctype 55 : setct-AuthTokenTBE | ||
| 1132 | set-ctype 56 : setct-CapTokenTBE | ||
| 1133 | set-ctype 57 : setct-CapTokenTBEX | ||
| 1134 | set-ctype 58 : setct-AcqCardCodeMsgTBE | ||
| 1135 | set-ctype 59 : setct-AuthRevReqTBE | ||
| 1136 | set-ctype 60 : setct-AuthRevResTBE | ||
| 1137 | set-ctype 61 : setct-AuthRevResTBEB | ||
| 1138 | set-ctype 62 : setct-CapReqTBE | ||
| 1139 | set-ctype 63 : setct-CapReqTBEX | ||
| 1140 | set-ctype 64 : setct-CapResTBE | ||
| 1141 | set-ctype 65 : setct-CapRevReqTBE | ||
| 1142 | set-ctype 66 : setct-CapRevReqTBEX | ||
| 1143 | set-ctype 67 : setct-CapRevResTBE | ||
| 1144 | set-ctype 68 : setct-CredReqTBE | ||
| 1145 | set-ctype 69 : setct-CredReqTBEX | ||
| 1146 | set-ctype 70 : setct-CredResTBE | ||
| 1147 | set-ctype 71 : setct-CredRevReqTBE | ||
| 1148 | set-ctype 72 : setct-CredRevReqTBEX | ||
| 1149 | set-ctype 73 : setct-CredRevResTBE | ||
| 1150 | set-ctype 74 : setct-BatchAdminReqTBE | ||
| 1151 | set-ctype 75 : setct-BatchAdminResTBE | ||
| 1152 | set-ctype 76 : setct-RegFormReqTBE | ||
| 1153 | set-ctype 77 : setct-CertReqTBE | ||
| 1154 | set-ctype 78 : setct-CertReqTBEX | ||
| 1155 | set-ctype 79 : setct-CertResTBE | ||
| 1156 | set-ctype 80 : setct-CRLNotificationTBS | ||
| 1157 | set-ctype 81 : setct-CRLNotificationResTBS | ||
| 1158 | set-ctype 82 : setct-BCIDistributionTBS | ||
| 1159 | |||
| 1160 | set-msgExt 1 : setext-genCrypt : generic cryptogram | ||
| 1161 | set-msgExt 3 : setext-miAuth : merchant initiated auth | ||
| 1162 | set-msgExt 4 : setext-pinSecure | ||
| 1163 | set-msgExt 5 : setext-pinAny | ||
| 1164 | set-msgExt 7 : setext-track2 | ||
| 1165 | set-msgExt 8 : setext-cv : additional verification | ||
| 1166 | |||
| 1167 | set-policy 0 : set-policy-root | ||
| 1168 | |||
| 1169 | set-certExt 0 : setCext-hashedRoot | ||
| 1170 | set-certExt 1 : setCext-certType | ||
| 1171 | set-certExt 2 : setCext-merchData | ||
| 1172 | set-certExt 3 : setCext-cCertRequired | ||
| 1173 | set-certExt 4 : setCext-tunneling | ||
| 1174 | set-certExt 5 : setCext-setExt | ||
| 1175 | set-certExt 6 : setCext-setQualf | ||
| 1176 | set-certExt 7 : setCext-PGWYcapabilities | ||
| 1177 | set-certExt 8 : setCext-TokenIdentifier | ||
| 1178 | set-certExt 9 : setCext-Track2Data | ||
| 1179 | set-certExt 10 : setCext-TokenType | ||
| 1180 | set-certExt 11 : setCext-IssuerCapabilities | ||
| 1181 | |||
| 1182 | set-attr 0 : setAttr-Cert | ||
| 1183 | set-attr 1 : setAttr-PGWYcap : payment gateway capabilities | ||
| 1184 | set-attr 2 : setAttr-TokenType | ||
| 1185 | set-attr 3 : setAttr-IssCap : issuer capabilities | ||
| 1186 | |||
| 1187 | setAttr-Cert 0 : set-rootKeyThumb | ||
| 1188 | setAttr-Cert 1 : set-addPolicy | ||
| 1189 | |||
| 1190 | setAttr-TokenType 1 : setAttr-Token-EMV | ||
| 1191 | setAttr-TokenType 2 : setAttr-Token-B0Prime | ||
| 1192 | |||
| 1193 | setAttr-IssCap 3 : setAttr-IssCap-CVM | ||
| 1194 | setAttr-IssCap 4 : setAttr-IssCap-T2 | ||
| 1195 | setAttr-IssCap 5 : setAttr-IssCap-Sig | ||
| 1196 | |||
| 1197 | setAttr-IssCap-CVM 1 : setAttr-GenCryptgrm : generate cryptogram | ||
| 1198 | setAttr-IssCap-T2 1 : setAttr-T2Enc : encrypted track 2 | ||
| 1199 | setAttr-IssCap-T2 2 : setAttr-T2cleartxt : cleartext track 2 | ||
| 1200 | |||
| 1201 | setAttr-IssCap-Sig 1 : setAttr-TokICCsig : ICC or token signature | ||
| 1202 | setAttr-IssCap-Sig 2 : setAttr-SecDevSig : secure device signature | ||
| 1203 | |||
| 1204 | set-brand 1 : set-brand-IATA-ATA | ||
| 1205 | set-brand 30 : set-brand-Diners | ||
| 1206 | set-brand 34 : set-brand-AmericanExpress | ||
| 1207 | set-brand 35 : set-brand-JCB | ||
| 1208 | set-brand 4 : set-brand-Visa | ||
| 1209 | set-brand 5 : set-brand-MasterCard | ||
| 1210 | set-brand 6011 : set-brand-Novus | ||
| 1211 | |||
| 1212 | rsadsi 3 10 : DES-CDMF : des-cdmf | ||
| 1213 | rsadsi 1 1 6 : rsaOAEPEncryptionSET | ||
| 1214 | |||
| 1215 | : Oakley-EC2N-3 : ipsec3 | ||
| 1216 | : Oakley-EC2N-4 : ipsec4 | ||
| 1217 | |||
| 1218 | iso 0 10118 3 0 55 : whirlpool | ||
| 1219 | |||
| 1220 | # GOST OIDs | ||
| 1221 | |||
| 1222 | member-body 643 2 2 : cryptopro | ||
| 1223 | member-body 643 2 9 : cryptocom | ||
| 1224 | |||
| 1225 | cryptopro 3 : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001 | ||
| 1226 | cryptopro 4 : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94 | ||
| 1227 | !Cname id-GostR3411-94 | ||
| 1228 | cryptopro 9 : md_gost94 : GOST R 34.11-94 | ||
| 1229 | cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94 | ||
| 1230 | !Cname id-GostR3410-2001 | ||
| 1231 | cryptopro 19 : gost2001 : GOST R 34.10-2001 | ||
| 1232 | !Cname id-GostR3410-94 | ||
| 1233 | cryptopro 20 : gost94 : GOST R 34.10-94 | ||
| 1234 | !Cname id-Gost28147-89 | ||
| 1235 | cryptopro 21 : gost89 : GOST 28147-89 | ||
| 1236 | : gost89-cnt | ||
| 1237 | !Cname id-Gost28147-89-MAC | ||
| 1238 | cryptopro 22 : gost-mac : GOST 28147-89 MAC | ||
| 1239 | !Cname id-GostR3411-94-prf | ||
| 1240 | cryptopro 23 : prf-gostr3411-94 : GOST R 34.11-94 PRF | ||
| 1241 | cryptopro 98 : id-GostR3410-2001DH : GOST R 34.10-2001 DH | ||
| 1242 | cryptopro 99 : id-GostR3410-94DH : GOST R 34.10-94 DH | ||
| 1243 | |||
| 1244 | cryptopro 14 1 : id-Gost28147-89-CryptoPro-KeyMeshing | ||
| 1245 | cryptopro 14 0 : id-Gost28147-89-None-KeyMeshing | ||
| 1246 | |||
| 1247 | # GOST parameter set OIDs | ||
| 1248 | |||
| 1249 | cryptopro 30 0 : id-GostR3411-94-TestParamSet | ||
| 1250 | cryptopro 30 1 : id-GostR3411-94-CryptoProParamSet | ||
| 1251 | |||
| 1252 | cryptopro 31 0 : id-Gost28147-89-TestParamSet | ||
| 1253 | cryptopro 31 1 : id-Gost28147-89-CryptoPro-A-ParamSet | ||
| 1254 | cryptopro 31 2 : id-Gost28147-89-CryptoPro-B-ParamSet | ||
| 1255 | cryptopro 31 3 : id-Gost28147-89-CryptoPro-C-ParamSet | ||
| 1256 | cryptopro 31 4 : id-Gost28147-89-CryptoPro-D-ParamSet | ||
| 1257 | cryptopro 31 5 : id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet | ||
| 1258 | cryptopro 31 6 : id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet | ||
| 1259 | cryptopro 31 7 : id-Gost28147-89-CryptoPro-RIC-1-ParamSet | ||
| 1260 | |||
| 1261 | cryptopro 32 0 : id-GostR3410-94-TestParamSet | ||
| 1262 | cryptopro 32 2 : id-GostR3410-94-CryptoPro-A-ParamSet | ||
| 1263 | cryptopro 32 3 : id-GostR3410-94-CryptoPro-B-ParamSet | ||
| 1264 | cryptopro 32 4 : id-GostR3410-94-CryptoPro-C-ParamSet | ||
| 1265 | cryptopro 32 5 : id-GostR3410-94-CryptoPro-D-ParamSet | ||
| 1266 | |||
| 1267 | cryptopro 33 1 : id-GostR3410-94-CryptoPro-XchA-ParamSet | ||
| 1268 | cryptopro 33 2 : id-GostR3410-94-CryptoPro-XchB-ParamSet | ||
| 1269 | cryptopro 33 3 : id-GostR3410-94-CryptoPro-XchC-ParamSet | ||
| 1270 | |||
| 1271 | cryptopro 35 0 : id-GostR3410-2001-TestParamSet | ||
| 1272 | cryptopro 35 1 : id-GostR3410-2001-CryptoPro-A-ParamSet | ||
| 1273 | cryptopro 35 2 : id-GostR3410-2001-CryptoPro-B-ParamSet | ||
| 1274 | cryptopro 35 3 : id-GostR3410-2001-CryptoPro-C-ParamSet | ||
| 1275 | |||
| 1276 | cryptopro 36 0 : id-GostR3410-2001-CryptoPro-XchA-ParamSet | ||
| 1277 | cryptopro 36 1 : id-GostR3410-2001-CryptoPro-XchB-ParamSet | ||
| 1278 | |||
| 1279 | id-GostR3410-94 1 : id-GostR3410-94-a | ||
| 1280 | id-GostR3410-94 2 : id-GostR3410-94-aBis | ||
| 1281 | id-GostR3410-94 3 : id-GostR3410-94-b | ||
| 1282 | id-GostR3410-94 4 : id-GostR3410-94-bBis | ||
| 1283 | |||
| 1284 | # Cryptocom LTD GOST OIDs | ||
| 1285 | |||
| 1286 | cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom ParamSet | ||
| 1287 | !Cname id-GostR3410-94-cc | ||
| 1288 | cryptocom 1 5 3 : gost94cc : GOST 34.10-94 Cryptocom | ||
| 1289 | !Cname id-GostR3410-2001-cc | ||
| 1290 | cryptocom 1 5 4 : gost2001cc : GOST 34.10-2001 Cryptocom | ||
| 1291 | |||
| 1292 | cryptocom 1 3 3 : id-GostR3411-94-with-GostR3410-94-cc : GOST R 34.11-94 with GOST R 34.10-94 Cryptocom | ||
| 1293 | cryptocom 1 3 4 : id-GostR3411-94-with-GostR3410-2001-cc : GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom | ||
| 1294 | |||
| 1295 | cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom | ||
| 1296 | |||
| 1297 | # Definitions for SM3 | ||
| 1298 | |||
| 1299 | 1 2 156 10197 1 401 : SM3 : sm3 | ||
| 1300 | 1 2 156 10197 1 504 : RSA-SM3 : sm3WithRSAEncryption | ||
| 1301 | |||
| 1302 | # Definitions for Camellia cipher - CBC MODE | ||
| 1303 | |||
| 1304 | 1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc | ||
| 1305 | 1 2 392 200011 61 1 1 1 3 : CAMELLIA-192-CBC : camellia-192-cbc | ||
| 1306 | 1 2 392 200011 61 1 1 1 4 : CAMELLIA-256-CBC : camellia-256-cbc | ||
| 1307 | 1 2 392 200011 61 1 1 3 2 : id-camellia128-wrap | ||
| 1308 | 1 2 392 200011 61 1 1 3 3 : id-camellia192-wrap | ||
| 1309 | 1 2 392 200011 61 1 1 3 4 : id-camellia256-wrap | ||
| 1310 | |||
| 1311 | # Definitions for Camellia cipher - ECB, CFB, OFB MODE | ||
| 1312 | |||
| 1313 | !Alias ntt-ds 0 3 4401 5 | ||
| 1314 | !Alias camellia ntt-ds 3 1 9 | ||
| 1315 | |||
| 1316 | camellia 1 : CAMELLIA-128-ECB : camellia-128-ecb | ||
| 1317 | !Cname camellia-128-ofb128 | ||
| 1318 | camellia 3 : CAMELLIA-128-OFB : camellia-128-ofb | ||
| 1319 | !Cname camellia-128-cfb128 | ||
| 1320 | camellia 4 : CAMELLIA-128-CFB : camellia-128-cfb | ||
| 1321 | |||
| 1322 | camellia 21 : CAMELLIA-192-ECB : camellia-192-ecb | ||
| 1323 | !Cname camellia-192-ofb128 | ||
| 1324 | camellia 23 : CAMELLIA-192-OFB : camellia-192-ofb | ||
| 1325 | !Cname camellia-192-cfb128 | ||
| 1326 | camellia 24 : CAMELLIA-192-CFB : camellia-192-cfb | ||
| 1327 | |||
| 1328 | camellia 41 : CAMELLIA-256-ECB : camellia-256-ecb | ||
| 1329 | !Cname camellia-256-ofb128 | ||
| 1330 | camellia 43 : CAMELLIA-256-OFB : camellia-256-ofb | ||
| 1331 | !Cname camellia-256-cfb128 | ||
| 1332 | camellia 44 : CAMELLIA-256-CFB : camellia-256-cfb | ||
| 1333 | |||
| 1334 | # There are no OIDs for these modes... | ||
| 1335 | |||
| 1336 | : CAMELLIA-128-CFB1 : camellia-128-cfb1 | ||
| 1337 | : CAMELLIA-192-CFB1 : camellia-192-cfb1 | ||
| 1338 | : CAMELLIA-256-CFB1 : camellia-256-cfb1 | ||
| 1339 | : CAMELLIA-128-CFB8 : camellia-128-cfb8 | ||
| 1340 | : CAMELLIA-192-CFB8 : camellia-192-cfb8 | ||
| 1341 | : CAMELLIA-256-CFB8 : camellia-256-cfb8 | ||
| 1342 | |||
| 1343 | # Definitions for SEED cipher - ECB, CBC, OFB mode | ||
| 1344 | |||
| 1345 | member-body 410 200004 : KISA : kisa | ||
| 1346 | kisa 1 3 : SEED-ECB : seed-ecb | ||
| 1347 | kisa 1 4 : SEED-CBC : seed-cbc | ||
| 1348 | !Cname seed-cfb128 | ||
| 1349 | kisa 1 5 : SEED-CFB : seed-cfb | ||
| 1350 | !Cname seed-ofb128 | ||
| 1351 | kisa 1 6 : SEED-OFB : seed-ofb | ||
| 1352 | |||
| 1353 | # Definitions for SM4 cipher | ||
| 1354 | |||
| 1355 | member-body 156 : ISO-CN : ISO CN Member Body | ||
| 1356 | ISO-CN 10197 : oscca | ||
| 1357 | oscca 1 : sm-scheme | ||
| 1358 | |||
| 1359 | sm-scheme 104 1 : SM4-ECB : sm4-ecb | ||
| 1360 | sm-scheme 104 2 : SM4-CBC : sm4-cbc | ||
| 1361 | !Cname sm4-ofb128 | ||
| 1362 | sm-scheme 104 3 : SM4-OFB : sm4-ofb | ||
| 1363 | !Cname sm4-cfb128 | ||
| 1364 | sm-scheme 104 4 : SM4-CFB : sm4-cfb | ||
| 1365 | sm-scheme 104 5 : SM4-CFB1 : sm4-cfb1 | ||
| 1366 | sm-scheme 104 6 : SM4-CFB8 : sm4-cfb8 | ||
| 1367 | sm-scheme 104 7 : SM4-CTR : sm4-ctr | ||
| 1368 | |||
| 1369 | # There is no OID that just denotes "HMAC" oddly enough... | ||
| 1370 | |||
| 1371 | : HMAC : hmac | ||
| 1372 | # Nor CMAC either | ||
| 1373 | : CMAC : cmac | ||
| 1374 | |||
| 1375 | # Synthetic composite ciphersuites | ||
| 1376 | : RC4-HMAC-MD5 : rc4-hmac-md5 | ||
| 1377 | : AES-128-CBC-HMAC-SHA1 : aes-128-cbc-hmac-sha1 | ||
| 1378 | : AES-192-CBC-HMAC-SHA1 : aes-192-cbc-hmac-sha1 | ||
| 1379 | : AES-256-CBC-HMAC-SHA1 : aes-256-cbc-hmac-sha1 | ||
| 1380 | |||
| 1381 | # ECDH schemes from RFC 5753 | ||
| 1382 | !Alias x9-63-scheme 1 3 133 16 840 63 0 | ||
| 1383 | !Alias secg-scheme certicom-arc 1 | ||
| 1384 | |||
| 1385 | x9-63-scheme 2 : dhSinglePass-stdDH-sha1kdf-scheme | ||
| 1386 | secg-scheme 11 0 : dhSinglePass-stdDH-sha224kdf-scheme | ||
| 1387 | secg-scheme 11 1 : dhSinglePass-stdDH-sha256kdf-scheme | ||
| 1388 | secg-scheme 11 2 : dhSinglePass-stdDH-sha384kdf-scheme | ||
| 1389 | secg-scheme 11 3 : dhSinglePass-stdDH-sha512kdf-scheme | ||
| 1390 | |||
| 1391 | x9-63-scheme 3 : dhSinglePass-cofactorDH-sha1kdf-scheme | ||
| 1392 | secg-scheme 14 0 : dhSinglePass-cofactorDH-sha224kdf-scheme | ||
| 1393 | secg-scheme 14 1 : dhSinglePass-cofactorDH-sha256kdf-scheme | ||
| 1394 | secg-scheme 14 2 : dhSinglePass-cofactorDH-sha384kdf-scheme | ||
| 1395 | secg-scheme 14 3 : dhSinglePass-cofactorDH-sha512kdf-scheme | ||
| 1396 | |||
| 1397 | # DH NIDs for use with lookup tables. | ||
| 1398 | : dh-std-kdf | ||
| 1399 | : dh-cofactor-kdf | ||
| 1400 | |||
| 1401 | # RFC 6962 Extension OIDs (see http://www.ietf.org/rfc/rfc6962.txt) | ||
| 1402 | 1 3 6 1 4 1 11129 2 4 2 : ct_precert_scts : CT Precertificate SCTs | ||
| 1403 | 1 3 6 1 4 1 11129 2 4 3 : ct_precert_poison : CT Precertificate Poison | ||
| 1404 | 1 3 6 1 4 1 11129 2 4 4 : ct_precert_signer : CT Precertificate Signer | ||
| 1405 | 1 3 6 1 4 1 11129 2 4 5 : ct_cert_scts : CT Certificate SCTs | ||
| 1406 | |||
| 1407 | # NID for TLS1 PRF | ||
| 1408 | : TLS1-PRF : tls1-prf | ||
| 1409 | # NID for HKDF | ||
| 1410 | : HKDF : hkdf | ||
| 1411 | |||
| 1412 | identified-organization 36 : teletrust | ||
| 1413 | teletrust 3 3 2 8 1 : brainpool | ||
| 1414 | brainpool 1 1 : brainpoolP160r1 | ||
| 1415 | brainpool 1 2 : brainpoolP160t1 | ||
| 1416 | brainpool 1 3 : brainpoolP192r1 | ||
| 1417 | brainpool 1 4 : brainpoolP192t1 | ||
| 1418 | brainpool 1 5 : brainpoolP224r1 | ||
| 1419 | brainpool 1 6 : brainpoolP224t1 | ||
| 1420 | brainpool 1 7 : brainpoolP256r1 | ||
| 1421 | brainpool 1 8 : brainpoolP256t1 | ||
| 1422 | brainpool 1 9 : brainpoolP320r1 | ||
| 1423 | brainpool 1 10 : brainpoolP320t1 | ||
| 1424 | brainpool 1 11 : brainpoolP384r1 | ||
| 1425 | brainpool 1 12 : brainpoolP384t1 | ||
| 1426 | brainpool 1 13 : brainpoolP512r1 | ||
| 1427 | brainpool 1 14 : brainpoolP512t1 | ||
| 1428 | |||
| 1429 | 1 2 250 1 223 101 256 1 : FRP256v1 | ||
| 1430 | |||
| 1431 | # ChaCha Stream Cipher | ||
| 1432 | !Cname chacha20 | ||
| 1433 | : ChaCha : chacha | ||
| 1434 | |||
| 1435 | : ChaCha20-Poly1305 : chacha20-poly1305 | ||
| 1436 | |||
| 1437 | : gost89-ecb | ||
| 1438 | : gost89-cbc | ||
| 1439 | |||
| 1440 | member-body 643 7 1 : tc26 | ||
| 1441 | !Cname id-tc26-gost3411-2012-256 | ||
| 1442 | tc26 1 2 2 : streebog256 : GOST R 34.11-2012 (256 bit) | ||
| 1443 | !Cname id-tc26-gost3411-2012-512 | ||
| 1444 | tc26 1 2 3 : streebog512 : GOST R 34-11-2012 (512 bit) | ||
| 1445 | tc26 1 4 1 : id-tc26-hmac-gost-3411-12-256 : HMAC STREEBOG 256 | ||
| 1446 | tc26 1 4 2 : id-tc26-hmac-gost-3411-12-512 : HMAC STREEBOG 512 | ||
| 1447 | tc26 2 1 1 1 : id-tc26-gost-3410-12-256-paramSetA : GOST R 34.10-2012 (256 bit) ParamSet A | ||
| 1448 | tc26 2 1 1 2 : id-tc26-gost-3410-12-256-paramSetB : GOST R 34.10-2012 (256 bit) ParamSet B | ||
| 1449 | tc26 2 1 1 3 : id-tc26-gost-3410-12-256-paramSetC : GOST R 34.10-2012 (256 bit) ParamSet C | ||
| 1450 | tc26 2 1 1 4 : id-tc26-gost-3410-12-256-paramSetD : GOST R 34.10-2012 (256 bit) ParamSet D | ||
| 1451 | tc26 2 1 2 0 : id-tc26-gost-3410-12-512-paramSetTest : GOST R 34.10-2012 (512 bit) testing parameter set | ||
| 1452 | tc26 2 1 2 1 : id-tc26-gost-3410-12-512-paramSetA : GOST R 34.10-2012 (512 bit) ParamSet A | ||
| 1453 | tc26 2 1 2 2 : id-tc26-gost-3410-12-512-paramSetB : GOST R 34.10-2012 (512 bit) ParamSet B | ||
| 1454 | tc26 2 1 2 3 : id-tc26-gost-3410-12-512-paramSetC : GOST R 34.10-2012 (512 bit) ParamSet C | ||
| 1455 | tc26 2 5 1 1 : id-tc26-gost-28147-param-Z | ||
| 1456 | tc26 1 1 1 : id-tc26-gost3410-2012-256 : GOST R 34.10-2012 (256 bit) | ||
| 1457 | tc26 1 1 2 : id-tc26-gost3410-2012-512 : GOST R 34.10-2012 (512 bit) | ||
| 1458 | tc26 1 3 2 : id-tc26-signwithdigest-gost3410-2012-256 : GOST R 34.11-2012 with GOST R 34.10-2012 (256 bit) | ||
| 1459 | tc26 1 3 3 : id-tc26-signwithdigest-gost3410-2012-512 : GOST R 34.11-2012 with GOST R 34.10-2012 (512 bit) | ||
| 1460 | |||
| 1461 | # Curves from draft-ietf-curdle-pkix-02 | ||
| 1462 | 1 3 101 110 : X25519 | ||
| 1463 | 1 3 101 111 : X448 | ||
| 1464 | 1 3 101 112 : Ed25519 | ||
| 1465 | 1 3 101 113 : Ed448 | ||
| 1466 | 1 3 101 114 : Ed25519ph | ||
| 1467 | 1 3 101 115 : Ed448ph | ||
| 1468 | |||
| 1469 | # TLS cipher suite key exchange | ||
| 1470 | : KxRSA : kx-rsa | ||
| 1471 | : KxECDHE : kx-ecdhe | ||
| 1472 | : KxDHE : kx-dhe | ||
| 1473 | : KxGOST : kx-gost | ||
| 1474 | |||
| 1475 | # TLS cipher suite authentication | ||
| 1476 | : AuthRSA : auth-rsa | ||
| 1477 | : AuthECDSA : auth-ecdsa | ||
| 1478 | : AuthGOST01 : auth-gost01 | ||
| 1479 | : AuthNULL : auth-null | ||
