Update e_sms4_ccm.c

This commit is contained in:
Zhi Guan
2019-08-04 22:25:23 +08:00
parent 1811f1b51d
commit 94f91c0f8a

View File

@@ -312,8 +312,8 @@ static int sms4_ccm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
}
}
#define SMS4_CCM_BLOCK_SIZE 16
#define SMS4_CCM_IV_LENGTH 12
#define SMS4_CCM_BLOCK_SIZE 1
#define SMS4_CCM_IV_LENGTH 7
#define SMS4_CCM_FLAGS (EVP_CIPH_FLAG_DEFAULT_ASN1 \
| EVP_CIPH_CUSTOM_IV | EVP_CIPH_FLAG_CUSTOM_CIPHER \