Renamed hmac_ctx to opad and removed null check.

this array is now part of the struct and not dynamically allocated
so it can't be null.
This commit is contained in:
Nir Sonnenschein 2018-06-17 14:03:40 +03:00 committed by itayzafrir
parent caec7f0c49
commit 5ca6547b77
2 changed files with 4 additions and 7 deletions

View file

@ -88,7 +88,7 @@ typedef struct {
/** The hash context. */
struct psa_hash_operation_s hash_ctx;
/** The HMAC part of the context. */
uint8_t hmac_ctx[PSA_CRYPTO_MD_BLOCK_SIZE];
uint8_t opad[PSA_CRYPTO_MD_BLOCK_SIZE];
} psa_hmac_internal_data;