aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_crypto_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include/odp_crypto_internal.h')
-rw-r--r--platform/linux-generic/include/odp_crypto_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp_crypto_internal.h b/platform/linux-generic/include/odp_crypto_internal.h
index d1020dba3..d6fd04003 100644
--- a/platform/linux-generic/include/odp_crypto_internal.h
+++ b/platform/linux-generic/include/odp_crypto_internal.h
@@ -12,7 +12,6 @@ extern "C" {
#endif
#include <openssl/des.h>
-#include <openssl/aes.h>
#include <openssl/evp.h>
#define MAX_IV_LEN 64
@@ -50,7 +49,7 @@ struct odp_crypto_generic_session {
DES_key_schedule ks3;
} des;
struct {
- AES_KEY key;
+ uint8_t key[EVP_MAX_KEY_LENGTH];
} aes;
struct {
uint8_t key[EVP_MAX_KEY_LENGTH];