Blame SOURCES/nss-util-fix-public-key-from-priv.patch

c7bfec
diff -up ./nss/lib/util/pkcs11n.h.pub_priv_mech ./nss/lib/util/pkcs11n.h
c7bfec
--- ./nss/lib/util/pkcs11n.h.pub_priv_mech	2019-06-05 09:59:18.446315784 -0700
c7bfec
+++ ./nss/lib/util/pkcs11n.h	2019-06-05 10:15:13.388806330 -0700
c7bfec
@@ -152,11 +152,6 @@
c7bfec
 #define CKM_NSS_HKDF_SHA384 (CKM_NSS + 5)
c7bfec
 #define CKM_NSS_HKDF_SHA512 (CKM_NSS + 6)
c7bfec
 
c7bfec
-/* IKE mechanism (to be proposed to PKCS #11 */
c7bfec
-#define CKM_NSS_IKE_PRF_PLUS_DERIVE (CKM_NSS + 7)
c7bfec
-#define CKM_NSS_IKE_PRF_DERIVE (CKM_NSS + 8)
c7bfec
-#define CKM_NSS_IKE1_PRF_DERIVE (CKM_NSS + 9)
c7bfec
-#define CKM_NSS_IKE1_APP_B_PRF_DERIVE (CKM_NSS + 10)
c7bfec
 
c7bfec
 /* J-PAKE round 1 key generation mechanisms.
c7bfec
  *
c7bfec
@@ -238,6 +233,15 @@
c7bfec
 
c7bfec
 #define CKM_NSS_CHACHA20_CTR (CKM_NSS + 33)
c7bfec
 
c7bfec
+/* IKE mechanism (to be proposed to PKCS #11 */
c7bfec
+#define CKM_NSS_IKE_PRF_PLUS_DERIVE (CKM_NSS + 34)
c7bfec
+#define CKM_NSS_IKE_PRF_DERIVE (CKM_NSS + 35)
c7bfec
+#define CKM_NSS_IKE1_PRF_DERIVE (CKM_NSS + 36)
c7bfec
+#define CKM_NSS_IKE1_APP_B_PRF_DERIVE (CKM_NSS + 37)
c7bfec
+
c7bfec
+/* Derive a public key from a bare private key */
c7bfec
+#define CKM_NSS_PUB_FROM_PRIV (CKM_NSS + 40)
c7bfec
+
c7bfec
 /*
c7bfec
  * HISTORICAL:
c7bfec
  * Do not attempt to use these. They are only used by NETSCAPE's internal