Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.h9 #define SEC_MAX_AKEY_SIZE 128 macro
H A Dsec_crypto.c519 a_ctx->a_key = dma_alloc_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_init()
531 memzero_explicit(a_ctx->a_key, SEC_MAX_AKEY_SIZE); in sec_auth_uninit()
532 dma_free_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_uninit()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.h10 #define SEC_MAX_AKEY_SIZE 128 macro
H A Dsec_crypto.c666 a_ctx->a_key = dma_alloc_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_init()
678 memzero_explicit(a_ctx->a_key, SEC_MAX_AKEY_SIZE); in sec_auth_uninit()
679 dma_free_coherent(ctx->dev, SEC_MAX_AKEY_SIZE, in sec_auth_uninit()

Completed in 8 milliseconds