Home
last modified time | relevance | path

Searched refs:crypto_skcipher_tfm (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/crypto/
H A Dskcipher.h190 static inline struct crypto_tfm *crypto_skcipher_tfm( in crypto_skcipher_tfm() function
204 crypto_destroy_tfm(tfm, crypto_skcipher_tfm(tfm)); in crypto_free_skcipher()
227 return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm)); in crypto_skcipher_driver_name()
233 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
275 return crypto_tfm_alg_blocksize(crypto_skcipher_tfm(tfm)); in crypto_skcipher_blocksize()
310 return crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)); in crypto_skcipher_alignmask()
315 return crypto_tfm_get_flags(crypto_skcipher_tfm(tfm)); in crypto_skcipher_get_flags()
321 crypto_tfm_set_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_set_flags()
327 crypto_tfm_clear_flags(crypto_skcipher_tfm(tfm), flags); in crypto_skcipher_clear_flags()
467 req->base.tfm = crypto_skcipher_tfm(tfm); in skcipher_request_set_tfm()
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Ddes.h102 return crypto_des_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des_key()
108 return crypto_des3_ede_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des3_key()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_v1_skcipher.c190 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_ablk_hw_init()
376 const char *alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in rk_ablk_init_tfm()
403 const char *alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in rk_ablk_exit_tfm()
H A Drk3288_crypto_skcipher.c34 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_aes_setkey()
201 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in rk_ablk_hw_init()
386 ctx->dev->align_size = crypto_tfm_alg_alignmask(crypto_skcipher_tfm(tfm)) + 1; in rk_ablk_init_tfm()
H A Drk_crypto_v2_skcipher.c412 const char *alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in rk_ablk_init_tfm()
458 const char *alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in rk_ablk_exit_tfm()
H A Drk_crypto_v3_skcipher.c411 const char *alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in rk_ablk_init_tfm()
457 const char *alg_name = crypto_tfm_alg_name(crypto_skcipher_tfm(tfm)); in rk_ablk_exit_tfm()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dcipherapi.h55 # define cryptodev_crypto_blkcipher_tfm crypto_skcipher_tfm
H A Dcryptlib.c160 tfm = crypto_skcipher_tfm(out->async.s); in cryptodev_cipher_init()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey()
340 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_xts_setkey()
365 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_ctr_rfc3686_setkey()
/OK3568_Linux_fs/kernel/arch/sparc/crypto/
H A Ddes_glue.c68 return des_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des_set_key_skcipher()
217 return des3_ede_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des3_ede_set_key_skcipher()
H A Dcamellia_glue.c56 return camellia_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in camellia_set_key_skcipher()
H A Daes_glue.c202 return aes_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in aes_set_key_skcipher()
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Ddes_s390.c52 return des_setkey(crypto_skcipher_tfm(tfm), key, key_len); in des_setkey_skcipher()
217 return des3_setkey(crypto_skcipher_tfm(tfm), key, key_len); in des3_setkey_skcipher()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c235 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_xts_setkey()
292 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_setkey()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Daesni-intel_glue.c368 return aes_set_key_common(crypto_skcipher_tfm(tfm), in aesni_skcipher_setkey()
532 err = aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_crypt_ctx, in xts_aesni_setkey()
538 return aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_tweak_ctx, in xts_aesni_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A Dcc_cipher.c301 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_sethkey()
401 struct crypto_tfm *tfm = crypto_skcipher_tfm(sktfm); in cc_cipher_setkey()
878 struct crypto_tfm *tfm = crypto_skcipher_tfm(sk_tfm); in cc_cipher_process()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c147 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_init_context()
711 struct crypto_tfm *tfm = crypto_skcipher_tfm(atfm); in sec_alg_skcipher_crypto()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dpicoxcell_crypto.c776 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in spacc_aes_setkey()
817 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in spacc_kasumi_f8_setkey()
902 crypto_skcipher_tfm(crypto_skcipher_reqtfm(req)); in spacc_ablk_do_fallback()
H A Dpadlock-aes.c165 return aes_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in aes_set_key_skcipher()
H A Dn2_core.c728 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_aes_setkey()
756 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_des_setkey()
775 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_3des_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A Dskcipher.c172 struct crypto_tfm *tfm = crypto_skcipher_tfm(ablk); in qce_skcipher_setkey()
/OK3568_Linux_fs/kernel/arch/powerpc/crypto/
H A Daes-spe-glue.c122 return ppc_aes_setkey(crypto_skcipher_tfm(tfm), in_key, key_len); in ppc_aes_setkey_skcipher()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-cipher.c391 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm))); in sun8i_ss_cipher_init()
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey()
1414 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesctr_setkey()
2449 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesxts_setkey()
3067 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4_setkey()
3259 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4ctr_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c401 crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm))); in sun8i_ce_cipher_init()

12