Searched refs:SEC_MAX_CIPHER_KEY (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 19 #define SEC_MAX_CIPHER_KEY 64 macro 237 memset(ctx->key, 0, SEC_MAX_CIPHER_KEY); in sec_alg_skcipher_setkey() 240 ctx->key = dma_alloc_coherent(dev, SEC_MAX_CIPHER_KEY, in sec_alg_skcipher_setkey() 896 memzero_explicit(ctx->key, SEC_MAX_CIPHER_KEY); in sec_alg_skcipher_exit() 897 dma_free_coherent(dev, SEC_MAX_CIPHER_KEY, ctx->key, in sec_alg_skcipher_exit()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 19 #define SEC_MAX_CIPHER_KEY 64 macro 237 memset(ctx->key, 0, SEC_MAX_CIPHER_KEY); in sec_alg_skcipher_setkey() 240 ctx->key = dma_alloc_coherent(dev, SEC_MAX_CIPHER_KEY, in sec_alg_skcipher_setkey() 896 memzero_explicit(ctx->key, SEC_MAX_CIPHER_KEY); in sec_alg_skcipher_exit() 897 dma_free_coherent(dev, SEC_MAX_CIPHER_KEY, ctx->key, in sec_alg_skcipher_exit()
|
Completed in 3 milliseconds