summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Relyea <rrelyea@redhat.com>2020-02-10 17:14:01 -0800
committerRobert Relyea <rrelyea@redhat.com>2020-02-10 17:14:01 -0800
commite4abeaa6fc9db458bdbd1965d33fda2fc1a66817 (patch)
tree31b9dd0aef21363a96258f758f308be91d5309f0
parentd81a247ab8c0a6d215e692b7ef5ccdaff0cf32ae (diff)
downloadnss-hg-e4abeaa6fc9db458bdbd1965d33fda2fc1a66817.tar.gz
Bug 1611209 - Value of CKM_AES_CMAC and CKM_AES_CMAC_GENERAL are swapped r=rrelyea
-rw-r--r--lib/util/pkcs11t.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/pkcs11t.h b/lib/util/pkcs11t.h
index 6bf775e47..6bd01c052 100644
--- a/lib/util/pkcs11t.h
+++ b/lib/util/pkcs11t.h
@@ -898,8 +898,8 @@ typedef CK_ULONG CK_MECHANISM_TYPE;
#define CKM_AES_CCM 0x00001088
#define CKM_AES_CTS 0x00001089
/* AES-CMAC values copied from v2.40 errata 1 header file */
-#define CKM_AES_CMAC_GENERAL 0x0000108A
-#define CKM_AES_CMAC 0x0000108B
+#define CKM_AES_CMAC 0x0000108A
+#define CKM_AES_CMAC_GENERAL 0x0000108B
#define CKM_AES_XCBC_MAC 0x0000108C
#define CKM_AES_XCBC_MAC_96 0x0000108D