Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c147 struct crypto_skcipher *stfm; in output_iv_copyback() local
153 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback()
154 ctx = crypto_skcipher_ctx(stfm); in output_iv_copyback()
159 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback()
234 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local
237 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr()
240 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr()
280 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr()
341 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in cpt_enc_dec() local
344 u32 enc_iv_len = crypto_skcipher_ivsize(stfm); in cpt_enc_dec()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_algs.c1057 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_encrypt() local
1058 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_encrypt()
1117 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_xts_encrypt() local
1118 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); in qat_alg_skcipher_xts_encrypt()
1135 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_decrypt() local
1136 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_decrypt()
1195 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_xts_decrypt() local
1196 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); in qat_alg_skcipher_xts_decrypt()
/OK3568_Linux_fs/kernel/crypto/
H A Dtestmgr.c1807 struct crypto_shash *stfm = NULL; in __alg_test_hash() local
1839 err = alloc_shash(driver, type, mask, &stfm, &desc); in __alg_test_hash()
1854 if (stfm) in __alg_test_hash()
1855 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash()
1880 crypto_free_shash(stfm); in __alg_test_hash()