Home
last modified time | relevance | path

Searched refs:key_sg (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/crypto/ccp/
H A Dccp-crypto.h99 struct scatterlist key_sg; member
170 struct scatterlist key_sg; member
H A Dccp-crypto-des3.c56 sg_init_one(&ctx->u.des3.key_sg, ctx->u.des3.key, key_len); in ccp_des3_setkey()
95 rctx->cmd.u.des3.key = &ctx->u.des3.key_sg; in ccp_des3_crypt()
H A Dccp-crypto-aes-galois.c52 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_gcm_setkey()
123 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_aes_gcm_crypt()
H A Dccp-crypto-aes-xts.c99 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_xts_setkey()
174 rctx->cmd.u.xts.key = &ctx->u.aes.key_sg; in ccp_aes_xts_crypt()
H A Dccp-crypto-aes.c61 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_setkey()
99 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_aes_crypt()
H A Dccp-crypto-aes-cmac.c162 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_do_cmac_update()
330 sg_init_one(&ctx->u.aes.key_sg, ctx->u.aes.key, key_len); in ccp_aes_cmac_setkey()
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c111 struct scatterlist outhdr_sg, key_sg, inhdr_sg, *sgs[3]; in virtio_crypto_alg_akcipher_init_session() local
139 sg_init_one(&key_sg, pkey, keylen); in virtio_crypto_alg_akcipher_init_session()
140 sgs[num_out++] = &key_sg; in virtio_crypto_alg_akcipher_init_session()
H A Dvirtio_crypto_skcipher_algs.c117 struct scatterlist outhdr, key_sg, inhdr, *sgs[3]; in virtio_crypto_alg_skcipher_init_session() local
162 sg_init_one(&key_sg, cipher_key, keylen); in virtio_crypto_alg_skcipher_init_session()
163 sgs[num_out++] = &key_sg; in virtio_crypto_alg_skcipher_init_session()