]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/obj_mac.h
obj: Add SM4 GCM/CCM OID
[thirdparty/openssl.git] / include / openssl / obj_mac.h
index 0e8602766790a88840ed7b31faab38a803d8156e..c70bf172bab6f4fa652ca06199e33596bbacc460 100644 (file)
 #define NID_sm4_ctr             1139
 #define OBJ_sm4_ctr             OBJ_sm_scheme,104L,7L
 
+#define SN_sm4_gcm              "SM4-GCM"
+#define LN_sm4_gcm              "sm4-gcm"
+#define NID_sm4_gcm             1248
+#define OBJ_sm4_gcm             OBJ_sm_scheme,104L,8L
+
+#define SN_sm4_ccm              "SM4-CCM"
+#define LN_sm4_ccm              "sm4-ccm"
+#define NID_sm4_ccm             1249
+#define OBJ_sm4_ccm             OBJ_sm_scheme,104L,9L
+
 #define SN_hmac         "HMAC"
 #define LN_hmac         "hmac"
 #define NID_hmac                855