mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-11 10:20:19 +01:00
30d33aa8e8
9934c8faef29, 3c3b381c4865, 5a67f6beee9a, 1b1eb6d77728, a8b668fd72f7, bug962760, bug743700, bug857304, bug972653, bug972450, bug971358, bug903885, bug977073, bug976111, bug949939, bug947653, bug947572, bug903885, bug979106, bug966596, bug979004, bug979752, bug980848, bug938369, bug981170, bug668130, bug974693, bug975056, bug979132, bug370717, bug979070, bug985070, bug900067, bug977673, bug519255, bug989558, bug557299, bug987263, bug369802, a751a5146718, bug992343, bug952572, bug979703, bug994883, bug994869, bug993489, bug984608, bug977869, bug667371, bug672828, bug793347, bug977869
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef _UTILMODT_H_
|
|
#define _UTILMODT_H_ 1
|
|
|
|
/*
|
|
* these are SECMOD flags that would normally be in secmodt.h, but are needed
|
|
* for the parser in util. Fort this reason we preserve the SECMOD names.
|
|
*/
|
|
#define SECMOD_RSA_FLAG 0x00000001L
|
|
#define SECMOD_DSA_FLAG 0x00000002L
|
|
#define SECMOD_RC2_FLAG 0x00000004L
|
|
#define SECMOD_RC4_FLAG 0x00000008L
|
|
#define SECMOD_DES_FLAG 0x00000010L
|
|
#define SECMOD_DH_FLAG 0x00000020L
|
|
#define SECMOD_FORTEZZA_FLAG 0x00000040L
|
|
#define SECMOD_RC5_FLAG 0x00000080L
|
|
#define SECMOD_SHA1_FLAG 0x00000100L
|
|
#define SECMOD_MD5_FLAG 0x00000200L
|
|
#define SECMOD_MD2_FLAG 0x00000400L
|
|
#define SECMOD_SSL_FLAG 0x00000800L
|
|
#define SECMOD_TLS_FLAG 0x00001000L
|
|
#define SECMOD_AES_FLAG 0x00002000L
|
|
#define SECMOD_SHA256_FLAG 0x00004000L /* also for SHA224 */
|
|
#define SECMOD_SHA512_FLAG 0x00008000L /* also for SHA384 */
|
|
#define SECMOD_CAMELLIA_FLAG 0x00010000L /* = PUBLIC_MECH_CAMELLIA_FLAG */
|
|
#define SECMOD_SEED_FLAG 0x00020000L
|
|
#define SECMOD_ECC_FLAG 0x00040000L
|
|
/* reserved bit for future, do not use */
|
|
#define SECMOD_RESERVED_FLAG 0X08000000L
|
|
#define SECMOD_FRIENDLY_FLAG 0x10000000L
|
|
#define SECMOD_RANDOM_FLAG 0x80000000L
|
|
|
|
#define PK11_OWN_PW_DEFAULTS 0x20000000L
|
|
#define PK11_DISABLE_FLAG 0x40000000L
|
|
|
|
/* need to make SECMOD and PK11 prefixes consistent. */
|
|
#define SECMOD_OWN_PW_DEFAULTS PK11_OWN_PW_DEFAULTS
|
|
#define SECMOD_DISABLE_FLAG PK11_DISABLE_FLAG
|
|
|
|
#endif /* _UTILMODT_H_ */
|