Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.h8 #define SEC_MAX_KEY_SIZE 64 macro
Dsec_crypto.c500 c_ctx->c_key = dma_alloc_coherent(SEC_CTX_DEV(ctx), SEC_MAX_KEY_SIZE, in sec_cipher_init()
512 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit()
513 dma_free_coherent(SEC_CTX_DEV(ctx), SEC_MAX_KEY_SIZE, in sec_cipher_uninit()
521 a_ctx->a_key = dma_alloc_coherent(SEC_CTX_DEV(ctx), SEC_MAX_KEY_SIZE, in sec_auth_init()
533 memzero_explicit(a_ctx->a_key, SEC_MAX_KEY_SIZE); in sec_auth_uninit()
534 dma_free_coherent(SEC_CTX_DEV(ctx), SEC_MAX_KEY_SIZE, in sec_auth_uninit()