summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/nss/nss/lib/pk11wrap/secmod.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/nss/nss/lib/pk11wrap/secmod.h')
-rw-r--r--chromium/third_party/nss/nss/lib/pk11wrap/secmod.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/third_party/nss/nss/lib/pk11wrap/secmod.h b/chromium/third_party/nss/nss/lib/pk11wrap/secmod.h
index 05573349f43..9cc4cfb5246 100644
--- a/chromium/third_party/nss/nss/lib/pk11wrap/secmod.h
+++ b/chromium/third_party/nss/nss/lib/pk11wrap/secmod.h
@@ -28,6 +28,7 @@
#define PUBLIC_MECH_SHA512_FLAG 0x00008000ul
#define PUBLIC_MECH_CAMELLIA_FLAG 0x00010000ul
#define PUBLIC_MECH_SEED_FLAG 0x00020000ul
+#define PUBLIC_MECH_ECC_FLAG 0x00040000ul
#define PUBLIC_MECH_RANDOM_FLAG 0x08000000ul
#define PUBLIC_MECH_FRIENDLY_FLAG 0x10000000ul
@@ -138,6 +139,7 @@ PRBool SECMOD_GetDefaultModDBFlag(SECMODModule *mod);
/* Functions used to convert between internal & public representation
* of Mechanism Flags and Cipher Enable Flags */
extern unsigned long SECMOD_PubMechFlagstoInternal(unsigned long publicFlags);
+extern unsigned long SECMOD_InternaltoPubMechFlags(unsigned long internalFlags);
extern unsigned long SECMOD_PubCipherFlagstoInternal(unsigned long publicFlags);
PRBool SECMOD_HasRemovableSlots(SECMODModule *mod);