Searched refs:a_key (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
H A D | sec.h | 80 u8 *a_key; member
|
H A D | sec_crypto.c | 519 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 D | sec.h | 91 u8 *a_key; member
|
H A D | sec_crypto.c | 666 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 8 milliseconds