/openbmc/linux/crypto/ |
H A D | des_generic.c | 19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 37 static void crypto_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_encrypt() 44 static void crypto_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_decrypt() 51 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey() 69 static void crypto_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_encrypt() 77 static void crypto_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_decrypt()
|
H A D | simd.c | 64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_encrypt() local 85 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_decrypt() local 104 static void simd_skcipher_exit(struct crypto_skcipher *tfm) in simd_skcipher_exit() 111 static int simd_skcipher_init(struct crypto_skcipher *tfm) in simd_skcipher_init() 144 struct crypto_skcipher *tfm; in simd_skcipher_create_compat() local 290 static int simd_aead_setkey(struct crypto_aead *tfm, const u8 *key, in simd_aead_setkey() 312 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_encrypt() local 333 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_decrypt() local 352 static void simd_aead_exit(struct crypto_aead *tfm) in simd_aead_exit() 359 static int simd_aead_init(struct crypto_aead *tfm) in simd_aead_init() [all …]
|
H A D | deflate.c | 122 static void *gen_deflate_alloc_ctx(struct crypto_scomp *tfm, int format) in gen_deflate_alloc_ctx() 140 static void *deflate_alloc_ctx(struct crypto_scomp *tfm) in deflate_alloc_ctx() 145 static void *zlib_deflate_alloc_ctx(struct crypto_scomp *tfm) in zlib_deflate_alloc_ctx() 150 static int deflate_init(struct crypto_tfm *tfm) in deflate_init() 163 static void deflate_free_ctx(struct crypto_scomp *tfm, void *ctx) in deflate_free_ctx() 169 static void deflate_exit(struct crypto_tfm *tfm) in deflate_exit() 205 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, in deflate_compress() 213 static int deflate_scompress(struct crypto_scomp *tfm, const u8 *src, in deflate_scompress() 261 static int deflate_decompress(struct crypto_tfm *tfm, const u8 *src, in deflate_decompress() 269 static int deflate_sdecompress(struct crypto_scomp *tfm, const u8 *src, in deflate_sdecompress()
|
H A D | cipher.c | 20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() 42 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() 58 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() 79 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one() 86 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one() 95 struct crypto_tfm *tfm = crypto_cipher_tfm(cipher); in crypto_clone_cipher() local
|
H A D | cryptd.c | 450 struct crypto_ahash *tfm) in cryptd_hash_clone_tfm() 487 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue() local 745 struct crypto_aead *tfm; in cryptd_aead_crypt() local 812 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cryptd_aead_enqueue() local 954 struct crypto_skcipher *tfm; in cryptd_alloc_skcipher() local 1006 struct crypto_ahash *tfm; in cryptd_alloc_ahash() local 1041 bool cryptd_ahash_queued(struct cryptd_ahash *tfm) in cryptd_ahash_queued() 1049 void cryptd_free_ahash(struct cryptd_ahash *tfm) in cryptd_free_ahash() 1063 struct crypto_aead *tfm; in cryptd_alloc_aead() local 1091 bool cryptd_aead_queued(struct cryptd_aead *tfm) in cryptd_aead_queued() [all …]
|
H A D | algif_aead.c | 51 struct crypto_aead *tfm = aeadc->aead; in aead_sufficient_data() local 68 struct crypto_aead *tfm = aeadc->aead; in aead_sendmsg() local 97 struct crypto_aead *tfm = aeadc->aead; in _aead_recvmsg() local 382 struct aead_tfm *tfm; in aead_check_key() local 457 struct aead_tfm *tfm; in aead_bind() local 486 struct aead_tfm *tfm = private; in aead_release() local 495 struct aead_tfm *tfm = private; in aead_setauthsize() local 502 struct aead_tfm *tfm = private; in aead_setkey() local 514 struct crypto_aead *tfm = aeadc->aead; in aead_sock_destruct() local 527 struct aead_tfm *tfm = private; in aead_accept_parent_nokey() local [all …]
|
H A D | sig.c | 24 static int crypto_sig_init_tfm(struct crypto_tfm *tfm) in crypto_sig_init_tfm() 82 int crypto_sig_maxsize(struct crypto_sig *tfm) in crypto_sig_maxsize() 90 int crypto_sig_sign(struct crypto_sig *tfm, in crypto_sig_sign() 109 int crypto_sig_verify(struct crypto_sig *tfm, in crypto_sig_verify() 133 int crypto_sig_set_pubkey(struct crypto_sig *tfm, in crypto_sig_set_pubkey() 142 int crypto_sig_set_privkey(struct crypto_sig *tfm, in crypto_sig_set_privkey()
|
/openbmc/linux/arch/sparc/crypto/ |
H A D | des_glue.c | 45 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, in des_set_key() 65 static int des_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des_set_key_skcipher() 74 static void sparc_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des_encrypt() 82 static void sparc_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des_decrypt() 97 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 138 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __cbc_crypt() local 181 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, in des3_ede_set_key() 214 static int des3_ede_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des3_ede_set_key_skcipher() 223 static void sparc_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des3_ede_encrypt() 246 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb3_crypt() local [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caampkc.c | 65 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() local 77 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local 89 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local 106 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local 156 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f_done() local 252 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local 379 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_do_one_req() local 407 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local 453 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local 500 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | aes_s390.c | 84 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 128 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 145 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 224 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_crypt() local 254 static int fallback_init_skcipher(struct crypto_skcipher *tfm) in fallback_init_skcipher() 320 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_crypt() local 420 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_aes_crypt() local 486 static int xts_fallback_init(struct crypto_skcipher *tfm) in xts_fallback_init() 504 static void xts_fallback_exit(struct crypto_skcipher *tfm) in xts_fallback_exit() 567 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_aes_crypt() local [all …]
|
H A D | des_s390.c | 35 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 49 static int des_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des_setkey_skcipher() 55 static void s390_des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in s390_des_encrypt() 62 static void s390_des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in s390_des_decrypt() 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_desall_crypt() local 110 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_desall_crypt() local 200 static int des3_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_setkey() 214 static int des3_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des3_setkey_skcipher() 220 static void des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_encrypt() 227 static void des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_decrypt() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 293 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 315 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 337 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 359 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 381 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local 782 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt() local 801 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt() local 827 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt() local 855 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt() local 1156 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt() local [all …]
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 61 struct crypto_shash *tfm; member 331 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm() 442 struct crypto_ahash *tfm; in ima_calc_file_ahash() local 458 struct crypto_shash *tfm) in ima_calc_file_hash_tfm() 509 struct crypto_shash *tfm; in ima_calc_file_shash() local 665 struct crypto_ahash *tfm) in calc_buffer_ahash_atfm() 706 struct crypto_ahash *tfm; in calc_buffer_ahash() local 722 struct crypto_shash *tfm) in calc_buffer_shash_tfm() 753 struct crypto_shash *tfm; in calc_buffer_shash() local 801 struct crypto_shash *tfm) in ima_calc_boot_aggregate_tfm() [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aes-spe-glue.c | 92 static int ppc_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ppc_aes_setkey() 119 static int ppc_aes_setkey_skcipher(struct crypto_skcipher *tfm, in ppc_aes_setkey_skcipher() 125 static int ppc_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in ppc_xts_setkey() 162 static void ppc_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in ppc_aes_encrypt() 171 static void ppc_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in ppc_aes_decrypt() 182 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_ecb_crypt() local 221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_cbc_crypt() local 262 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_ctr_crypt() local 288 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_xts_crypt() local 322 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_xts_encrypt() local [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 112 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_init_tfm() 150 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_exit_tfm() 164 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() local 178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() local 190 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() local 202 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() local 228 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() local 243 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() local 272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() local 359 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback() local [all …]
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-aes-core.c | 255 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_validate_input() local 313 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_common() local 376 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_dma_cleanup() local 400 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_prepare_inplace() local 598 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in kmb_ocs_aead_validate_input() local 1148 static int ocs_aes_init_tfm(struct crypto_skcipher *tfm) in ocs_aes_init_tfm() 1166 static int ocs_sm4_init_tfm(struct crypto_skcipher *tfm) in ocs_sm4_init_tfm() 1183 static void ocs_exit_tfm(struct crypto_skcipher *tfm) in ocs_exit_tfm() 1195 static int ocs_aes_aead_cra_init(struct crypto_aead *tfm) in ocs_aes_aead_cra_init() 1239 static int ocs_sm4_aead_cra_init(struct crypto_aead *tfm) in ocs_sm4_aead_cra_init() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | geode-aes.c | 110 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, in geode_setkey_cip() 136 static int geode_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in geode_setkey_skcipher() 164 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_encrypt() 179 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_decrypt() 192 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 208 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 238 static int geode_init_skcipher(struct crypto_skcipher *tfm) in geode_init_skcipher() 256 static void geode_exit_skcipher(struct crypto_skcipher *tfm) in geode_exit_skcipher() 265 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in geode_skcipher_crypt() local
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 102 struct crypto_aead *tfm; in validate_hmac_cipher_null() local 238 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in create_ctx_hdr() local 393 static int otx_cpt_skcipher_xts_setkey(struct crypto_skcipher *tfm, in otx_cpt_skcipher_xts_setkey() 494 static int otx_cpt_enc_dec_init(struct crypto_skcipher *tfm) in otx_cpt_enc_dec_init() 560 static int otx_cpt_aead_cbc_aes_sha1_init(struct crypto_aead *tfm) in otx_cpt_aead_cbc_aes_sha1_init() 600 static int otx_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) in otx_cpt_aead_gcm_aes_init() 605 static void otx_cpt_aead_exit(struct crypto_aead *tfm) in otx_cpt_aead_exit() 620 static int otx_cpt_aead_set_authsize(struct crypto_aead *tfm, in otx_cpt_aead_set_authsize() 970 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_aead_ctx_hdr() local 1055 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_hmac_ctx_hdr() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | crypto.h | 176 struct crypto_tfm *tfm; member 447 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm() 455 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name() 465 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize() 470 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask() 475 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags() 480 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags() 492 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment() local 511 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm() 516 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp() [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-ce-glue.c | 76 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey() 91 static int sm4_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_xts_setkey() 145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local 153 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local 197 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_encrypt() local 205 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_decrypt() local 213 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_cts_crypt() local 285 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cfb_encrypt() local 327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cfb_decrypt() local 369 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ctr_crypt() local [all …]
|
H A D | aes-glue.c | 181 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 201 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 222 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt_walk() local 251 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt_walk() local 279 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local 336 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local 409 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in essiv_cbc_encrypt() local 431 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in essiv_cbc_decrypt() local 453 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xctr_encrypt() local 499 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local [all …]
|
H A D | sm4-neon-glue.c | 30 static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key, in sm4_setkey() 68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_encrypt() local 76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ecb_decrypt() local 84 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_encrypt() local 116 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cbc_decrypt() local 147 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cfb_encrypt() local 187 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_cfb_decrypt() local 231 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in sm4_ctr_crypt() local
|
/openbmc/linux/drivers/crypto/vmx/ |
H A D | aes.c | 28 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() 51 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() 61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() 81 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() 98 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt()
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 86 struct crypto_aead *tfm; in validate_hmac_cipher_null() local 531 struct crypto_tfm *tfm = crypto_skcipher_tfm(stfm); in otx2_cpt_enc_dec_init() local 547 static void otx2_cpt_skcipher_exit(struct crypto_skcipher *tfm) in otx2_cpt_skcipher_exit() 577 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init() local 678 static int otx2_cpt_aead_gcm_aes_init(struct crypto_aead *tfm) in otx2_cpt_aead_gcm_aes_init() 683 static void otx2_cpt_aead_exit(struct crypto_aead *tfm) in otx2_cpt_aead_exit() 699 static int otx2_cpt_aead_gcm_set_authsize(struct crypto_aead *tfm, in otx2_cpt_aead_gcm_set_authsize() 715 static int otx2_cpt_aead_set_authsize(struct crypto_aead *tfm, in otx2_cpt_aead_set_authsize() 1017 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_aead_ctx_hdr() local 1108 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in create_hmac_ctx_hdr() local [all …]
|
/openbmc/linux/include/crypto/ |
H A D | rng.h | 113 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 131 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 142 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() 181 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() 209 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() 247 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) in crypto_rng_seedsize()
|