Update CMake

This commit is contained in:
Zhi Guan
2023-02-15 11:59:05 +08:00
parent caa5e8c5c5
commit e77aeffc21
4 changed files with 18 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ static void ctr_incr(uint8_t a[16])
}
}
#ifndef ENABLE_SM4_AESNI_AVX
#ifndef SM4_AESNI_AVX
void sm4_ctr_encrypt(const SM4_KEY *key, uint8_t ctr[16], const uint8_t *in, size_t inlen, uint8_t *out)
{
uint8_t block[16];