Searched refs:SEC_MAX_KEY_SIZE (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/drivers/crypto/hisilicon/sec2/ |
| D | sec_crypto.h | 9 #define SEC_MAX_KEY_SIZE 64 macro
|
| D | sec_crypto.c | 599 c_ctx->c_key = dma_alloc_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_cipher_init() 611 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit() 612 dma_free_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_cipher_uninit() 620 a_ctx->a_key = dma_alloc_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_auth_init() 632 memzero_explicit(a_ctx->a_key, SEC_MAX_KEY_SIZE); in sec_auth_uninit() 633 dma_free_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_auth_uninit()
|