crypto_aead_aes256gcm_aesni_state doesn't exist any more

Use the non-implementation specific type crypto_aead_aes256gcm_state
This commit is contained in:
Frank Denis 2015-10-11 13:12:19 +02:00
parent 742a5d788d
commit 6dd517d77c

View File

@ -26,7 +26,7 @@
#define SLEEP_WHEN_CLOCK_IS_OFF 10 #define SLEEP_WHEN_CLOCK_IS_OFF 10
typedef struct CryptoCtx { typedef struct CryptoCtx {
crypto_aead_aes256gcm_aesni_state *state; crypto_aead_aes256gcm_state *state;
unsigned char *ciphertext; unsigned char *ciphertext;
unsigned char *message; unsigned char *message;
unsigned char *nonce; unsigned char *nonce;