Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec.h91 u8 *a_key; member
H A Dsec_crypto.c668 a_ctx->a_key = dma_alloc_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_init()
670 if (!a_ctx->a_key) in sec_auth_init()
680 memzero_explicit(a_ctx->a_key, SEC_MAX_AKEY_SIZE); in sec_auth_uninit()
682 a_ctx->a_key, a_ctx->a_key_dma); in sec_auth_uninit()
1106 keys->authkeylen, ctx->a_key); in sec_aead_auth_set_key()
1113 memcpy(ctx->a_key, keys->authkey, keys->authkeylen); in sec_aead_auth_set_key()