Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/virtio/
Dvirtio_crypto_algs.c131 uint8_t *cipher_key = kmemdup(key, keylen, GFP_ATOMIC); in virtio_crypto_alg_skcipher_init_session() local
133 if (!cipher_key) in virtio_crypto_alg_skcipher_init_session()
159 sg_init_one(&key_sg, cipher_key, keylen); in virtio_crypto_alg_skcipher_init_session()
170 kfree_sensitive(cipher_key); in virtio_crypto_alg_skcipher_init_session()
187 kfree_sensitive(cipher_key); in virtio_crypto_alg_skcipher_init_session()
200 kfree_sensitive(cipher_key); in virtio_crypto_alg_skcipher_init_session()
/Linux-v5.10/drivers/crypto/
Dpicoxcell_crypto.c168 u8 cipher_key[AES_MAX_KEY_SIZE]; member
481 memcpy(ctx->cipher_key, keys.enckey, keys.enckeylen); in spacc_aead_setkey()
565 req->ctx_id = spacc_load_ctx(&ctx->generic, ctx->cipher_key, in spacc_aead_submit()