Home
last modified time | relevance | path

Searched refs:stfm (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c133 struct crypto_skcipher *stfm; in output_iv_copyback() local
138 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback()
139 ctx = crypto_skcipher_ctx(stfm); in output_iv_copyback()
144 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback()
223 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local
225 struct otx2_cpt_enc_ctx *ctx = crypto_skcipher_ctx(stfm); in create_ctx_hdr()
228 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr()
268 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr()
329 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in skcipher_do_fallback() local
331 struct otx2_cpt_enc_ctx *ctx = crypto_skcipher_ctx(stfm); in skcipher_do_fallback()
[all …]
/linux-6.12.1/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c149 struct crypto_skcipher *stfm; in output_iv_copyback() local
155 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback()
156 ctx = crypto_skcipher_ctx(stfm); in output_iv_copyback()
161 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback()
236 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local
239 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr()
242 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr()
282 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr()
343 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in cpt_enc_dec() local
346 u32 enc_iv_len = crypto_skcipher_ivsize(stfm); in cpt_enc_dec()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_algs.c1019 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_encrypt() local
1020 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_encrypt()
1068 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_xts_encrypt() local
1069 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); in qat_alg_skcipher_xts_encrypt()
1086 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_decrypt() local
1087 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_decrypt()
1136 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_xts_decrypt() local
1137 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); in qat_alg_skcipher_xts_decrypt()
/linux-6.12.1/crypto/
Dtestmgr.c1927 struct crypto_shash *stfm = NULL; in __alg_test_hash() local
1962 err = alloc_shash(driver, type, mask, &stfm, &desc); in __alg_test_hash()
1977 if (stfm) in __alg_test_hash()
1978 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash()
2005 crypto_free_shash(stfm); in __alg_test_hash()