Home
last modified time | relevance | path

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

/drivers/crypto/hisilicon/sec2/
A Dsec.h150 u8 *c_key; member
A Dsec_crypto.c722 c_ctx->c_key = dma_alloc_coherent(ctx->dev, SEC_MAX_KEY_SIZE, in sec_cipher_init()
724 if (!c_ctx->c_key) in sec_cipher_init()
734 memzero_explicit(c_ctx->c_key, SEC_MAX_KEY_SIZE); in sec_cipher_uninit()
736 c_ctx->c_key, c_ctx->c_key_dma); in sec_cipher_uninit()
930 memcpy(c_ctx->c_key, key, keylen); in sec_skcipher_setkey()
1340 memcpy(c_ctx->c_key, keys->enckey, keys->enckeylen); in sec_aead_aes_set_key()
1411 memcpy(c_ctx->c_key, key, keylen); in sec_aead_setkey()

Completed in 12 milliseconds