- Timestamp:
- Jun 22, 2021, 9:00:19 PM (3 years ago)
- Location:
- azure_iot_hub_f767zi/trunk/wolfssl-4.7.0
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
azure_iot_hub_f767zi/trunk/wolfssl-4.7.0/wolfssl/openssl/aes.h
r457 r464 43 43 * to need the size of the structure. */ 44 44 typedef struct WOLFSSL_AES_KEY { 45 /* aligned and big enough for Aes from wolfssl/wolfcrypt/aes.h */ 46 ALIGN16 void* holder[(376 + WC_ASYNC_DEV_SIZE)/ sizeof(void*)]; 47 #ifdef GCM_TABLE 48 /* key-based fast multiplication table. */ 49 ALIGN16 void* M0[4096 / sizeof(void*)]; 50 #endif /* GCM_TABLE */ 51 #if defined(WOLFSSL_DEVCRYPTO) && \ 52 (defined(WOLFSSL_DEVCRYPTO_AES) || defined(WOLFSSL_DEVCRYPTO_CBC)) 53 /* large enough for additional devcrypto information */ 54 void* devKey[288 / sizeof(void*)]; 55 #endif 56 #ifdef WOLFSSL_AFALG 57 void* afalg_holder[288 / sizeof(void*)]; 58 #endif 59 #ifdef HAVE_PKCS11 60 void* pkcs11_holder[(AES_MAX_ID_LEN + sizeof(int)) / sizeof(void*)]; 61 #endif 62 #if defined(WOLFSSL_ASYNC_CRYPT) || defined(WOLF_CRYPTO_CB) 63 void* async_holder[128 / sizeof(void*)]; 64 #endif 45 ALIGN16 void *buf[(sizeof(Aes) / sizeof(void *)) + 1]; 65 46 } WOLFSSL_AES_KEY; 66 47 typedef WOLFSSL_AES_KEY AES_KEY;
Note:
See TracChangeset
for help on using the changeset viewer.