Home
last modified time | relevance | path

Searched refs:a_key (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec.h80 u8 *a_key; member
H A Dsec_crypto.c519 a_ctx->a_key = dma_alloc_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_init()
521 if (!a_ctx->a_key) in sec_auth_init()
531 memzero_explicit(a_ctx->a_key, SEC_MAX_AKEY_SIZE); in sec_auth_uninit()
533 a_ctx->a_key, a_ctx->a_key_dma); in sec_auth_uninit()
867 keys->authkeylen, ctx->a_key); in sec_aead_auth_set_key()
874 memcpy(ctx->a_key, keys->authkey, keys->authkeylen); in sec_aead_auth_set_key()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec.h91 u8 *a_key; member
H A Dsec_crypto.c666 a_ctx->a_key = dma_alloc_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_init()
668 if (!a_ctx->a_key) in sec_auth_init()
678 memzero_explicit(a_ctx->a_key, SEC_MAX_AKEY_SIZE); in sec_auth_uninit()
680 a_ctx->a_key, a_ctx->a_key_dma); in sec_auth_uninit()
1104 keys->authkeylen, ctx->a_key); in sec_aead_auth_set_key()
1111 memcpy(ctx->a_key, keys->authkey, keys->authkeylen); in sec_aead_auth_set_key()

Completed in 7 milliseconds