Searched refs:stfm (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 131 struct crypto_skcipher *stfm; in output_iv_copyback() local 136 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback() 137 ctx = crypto_skcipher_ctx(stfm); in output_iv_copyback() 142 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback() 221 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local 223 struct otx2_cpt_enc_ctx *ctx = crypto_skcipher_ctx(stfm); in create_ctx_hdr() 226 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr() 266 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr() 327 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in skcipher_do_fallback() local 329 struct otx2_cpt_enc_ctx *ctx = crypto_skcipher_ctx(stfm); in skcipher_do_fallback() 350 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); cpt_enc_dec() local 528 otx2_cpt_enc_dec_init(struct crypto_skcipher *stfm) otx2_cpt_enc_dec_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 147 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() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 148 struct crypto_skcipher *stfm; in output_iv_copyback() local 154 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback() 155 ctx = crypto_skcipher_ctx(stfm); in output_iv_copyback() 160 ivsize = crypto_skcipher_ivsize(stfm); in output_iv_copyback() 235 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local 238 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() 241 int ivsize = crypto_skcipher_ivsize(stfm); in create_ctx_hdr() 281 memcpy(fctx->enc.encr_iv, req->iv, crypto_skcipher_ivsize(stfm)); in create_ctx_hdr() 342 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in cpt_enc_dec() local 345 u32 enc_iv_len = crypto_skcipher_ivsize(stfm); in cpt_enc_dec() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | qat_algs.c | 1056 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_encrypt() local 1057 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_encrypt() 1116 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_xts_encrypt() local 1117 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); in qat_alg_skcipher_xts_encrypt() 1134 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_decrypt() local 1135 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in qat_alg_skcipher_decrypt() 1194 struct crypto_skcipher *stfm = crypto_skcipher_reqtfm(req); in qat_alg_skcipher_xts_decrypt() local 1195 struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(stfm); in qat_alg_skcipher_xts_decrypt()
|
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs.c | 1019 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()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | testmgr.c | 1804 struct crypto_shash *stfm = NULL; in __alg_test_hash() local 1836 err = alloc_shash(driver, type, mask, &stfm, &desc); in __alg_test_hash() 1851 if (stfm) in __alg_test_hash() 1852 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash() 1877 crypto_free_shash(stfm); in __alg_test_hash()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | testmgr.c | 1904 struct crypto_shash *stfm = NULL; in __alg_test_hash() local 1937 err = alloc_shash(driver, type, mask, &stfm, &desc); in __alg_test_hash() 1952 if (stfm) in __alg_test_hash() 1953 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash() 1980 crypto_free_shash(stfm); in __alg_test_hash()
|
Completed in 22 milliseconds