1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Add aesni_crypt_ecb() and use it

This commit is contained in:
Manuel Pégourié-Gonnard
2013-12-18 11:45:21 +01:00
parent 92ac76f9db
commit 5b685653ef
4 changed files with 70 additions and 1 deletions

View File

@ -38,6 +38,7 @@ typedef UINT32 uint32_t;
#include <inttypes.h>
#endif
/* padlock.c and aesni.c rely on these values! */
#define AES_ENCRYPT 1
#define AES_DECRYPT 0