Home
last modified time | relevance | path

Searched refs:SEC_DIGEST_MAX_KEY_SIZE (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_hash.h20 #define SEC_DIGEST_MAX_KEY_SIZE 128 macro
26 uint8_t key[SEC_DIGEST_MAX_KEY_SIZE];
H A Dsec_hash.c16 if (ctx->key_len > SEC_DIGEST_MAX_KEY_SIZE || !ctx->key_len) { in sec_digest_set_hmac_key()
143 if (ctx->key_len > SEC_DIGEST_MAX_KEY_SIZE || !ctx->key_len) { in sec_digest_set_hmac_bd3_key()
435 memzero_explicit(hash_ctx->key, SEC_DIGEST_MAX_KEY_SIZE); in hisi_sec_digest_ctx_free()