LEFT | RIGHT |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #include "secoid.h" | 5 #include "secoid.h" |
6 #include "pkcs11t.h" | 6 #include "pkcs11t.h" |
7 #include "secitem.h" | 7 #include "secitem.h" |
8 #include "secerr.h" | 8 #include "secerr.h" |
9 #include "prenv.h" | 9 #include "prenv.h" |
10 #include "plhash.h" | 10 #include "plhash.h" |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 /* OIDs for Netscape defined algorithms */ | 460 /* OIDs for Netscape defined algorithms */ |
461 CONST_OID netscapeSMimeKEA[] = { NETSCAPE_ALGS, 0x01 }; | 461 CONST_OID netscapeSMimeKEA[] = { NETSCAPE_ALGS, 0x01 }; |
462 | 462 |
463 /* Fortezza algorithm OIDs */ | 463 /* Fortezza algorithm OIDs */ |
464 CONST_OID skipjackCBC[] = { MISSI, 0x04 }; | 464 CONST_OID skipjackCBC[] = { MISSI, 0x04 }; |
465 CONST_OID dhPublicKey[] = { ANSI_X942_ALGORITHM, 0x1 }; | 465 CONST_OID dhPublicKey[] = { ANSI_X942_ALGORITHM, 0x1 }; |
466 | 466 |
467 CONST_OID idea_CBC[] = { ASCOM_IDEA_ALG, 2 }; | 467 CONST_OID idea_CBC[] = { ASCOM_IDEA_ALG, 2 }; |
468 CONST_OID aes128_GCM[] = { AES, 0x6 }; | 468 CONST_OID aes128_GCM[] = { AES, 0x6 }; |
469 CONST_OID aes192_GCM[] = { AES, 0x1a }; | 469 CONST_OID aes192_GCM[] = { AES, 0x1a }; |
470 CONST_OID aes256_GCM[] »» » » = { AES, 0x23 }; | 470 CONST_OID aes256_GCM[] »» » » = { AES, 0x2e }; |
471 CONST_OID aes128_ECB[] = { AES, 1 }; | 471 CONST_OID aes128_ECB[] = { AES, 1 }; |
472 CONST_OID aes128_CBC[] = { AES, 2 }; | 472 CONST_OID aes128_CBC[] = { AES, 2 }; |
473 #ifdef DEFINE_ALL_AES_CIPHERS | 473 #ifdef DEFINE_ALL_AES_CIPHERS |
474 CONST_OID aes128_OFB[] = { AES, 3 }; | 474 CONST_OID aes128_OFB[] = { AES, 3 }; |
475 CONST_OID aes128_CFB[] = { AES, 4 }; | 475 CONST_OID aes128_CFB[] = { AES, 4 }; |
476 #endif | 476 #endif |
477 CONST_OID aes128_KEY_WRAP[] = { AES, 5 }; | 477 CONST_OID aes128_KEY_WRAP[] = { AES, 5 }; |
478 | 478 |
479 CONST_OID aes192_ECB[] = { AES, 21 }; | 479 CONST_OID aes192_ECB[] = { AES, 21 }; |
480 CONST_OID aes192_CBC[] = { AES, 22 }; | 480 CONST_OID aes192_CBC[] = { AES, 22 }; |
(...skipping 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2255 void UTIL_SetForkState(PRBool forked) | 2255 void UTIL_SetForkState(PRBool forked) |
2256 { | 2256 { |
2257 parentForkedAfterC_Initialize = forked; | 2257 parentForkedAfterC_Initialize = forked; |
2258 } | 2258 } |
2259 | 2259 |
2260 const char * | 2260 const char * |
2261 NSSUTIL_GetVersion(void) | 2261 NSSUTIL_GetVersion(void) |
2262 { | 2262 { |
2263 return NSSUTIL_VERSION; | 2263 return NSSUTIL_VERSION; |
2264 } | 2264 } |
LEFT | RIGHT |