Home
last modified time | relevance | path

Searched defs:tfm (Results 226 – 250 of 390) sorted by relevance

12345678910>>...16

/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c384 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setkey_aes_ccm() local
486 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setauthsize_aead() local
530 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setkey_aes_gcm() local
623 static int crypto4xx_hash_alg_init(struct crypto_tfm *tfm, in crypto4xx_hash_alg_init()
717 int crypto4xx_sha1_alg_init(struct crypto_tfm *tfm) in crypto4xx_sha1_alg_init()
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c535 static int kmb_ocs_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf, in kmb_ocs_ecdh_set_secret()
795 static int kmb_ocs_ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm) in kmb_ocs_ecdh_nist_p256_init_tfm()
802 static int kmb_ocs_ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm) in kmb_ocs_ecdh_nist_p384_init_tfm()
809 static void kmb_ocs_ecdh_exit_tfm(struct crypto_kpp *tfm) in kmb_ocs_ecdh_exit_tfm()
816 static unsigned int kmb_ocs_ecdh_max_size(struct crypto_kpp *tfm) in kmb_ocs_ecdh_max_size()
/openbmc/linux/arch/arm/crypto/
H A Dcrc32-ce-glue.c36 static int crc32_cra_init(struct crypto_tfm *tfm) in crc32_cra_init()
44 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
H A Dchacha-glue.c145 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in do_chacha() local
163 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in do_xchacha() local
/openbmc/linux/fs/smb/server/
H A Dcrypto_ctx.c41 struct crypto_aead *tfm = NULL; in alloc_aead() local
65 struct crypto_shash *tfm = NULL; in alloc_shash_desc() local
/openbmc/linux/crypto/
H A Dtwofish_generic.c95 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_encrypt()
130 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_decrypt()
H A Drng.c31 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) in crypto_rng_reset()
60 static int crypto_rng_init_tfm(struct crypto_tfm *tfm) in crypto_rng_init_tfm()
H A Dpolyval-generic.c119 static int polyval_setkey(struct crypto_shash *tfm, in polyval_setkey()
204 static void polyval_exit_tfm(struct crypto_tfm *tfm) in polyval_exit_tfm()
H A Dchacha20poly1305.c171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail() local
362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey() local
491 static int chachapoly_setauthsize(struct crypto_aead *tfm, in chachapoly_setauthsize()
500 static int chachapoly_init(struct crypto_aead *tfm) in chachapoly_init()
538 static void chachapoly_exit(struct crypto_aead *tfm) in chachapoly_exit()
H A Dpcrypt.c37 struct crypto_aead *tfm) in pcrypt_tfm_ictx()
175 static int pcrypt_aead_init_tfm(struct crypto_aead *tfm) in pcrypt_aead_init_tfm()
203 static void pcrypt_aead_exit_tfm(struct crypto_aead *tfm) in pcrypt_aead_exit_tfm()
H A Dxts.c86 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_xor_tweak() local
295 static int xts_init_tfm(struct crypto_skcipher *tfm) in xts_init_tfm()
323 static void xts_exit_tfm(struct crypto_skcipher *tfm) in xts_exit_tfm()
H A Dgcm.c146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize()
519 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm()
557 static void crypto_gcm_exit_tfm(struct crypto_aead *tfm) in crypto_gcm_exit_tfm()
787 static int crypto_rfc4106_init_tfm(struct crypto_aead *tfm) in crypto_rfc4106_init_tfm()
812 static void crypto_rfc4106_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4106_exit_tfm()
985 static int crypto_rfc4543_init_tfm(struct crypto_aead *tfm) in crypto_rfc4543_init_tfm()
1023 static void crypto_rfc4543_exit_tfm(struct crypto_aead *tfm) in crypto_rfc4543_exit_tfm()
/openbmc/linux/drivers/crypto/
H A Dexynos-rng.c194 static int exynos_rng_generate(struct crypto_rng *tfm, in exynos_rng_generate()
225 static int exynos_rng_seed(struct crypto_rng *tfm, const u8 *seed, in exynos_rng_seed()
245 static int exynos_rng_kcapi_init(struct crypto_tfm *tfm) in exynos_rng_kcapi_init()
H A Dtalitos.c1705 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash_unmap() local
1792 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash() local
1915 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_edesc_alloc() local
1930 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_init() local
1983 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_process_req() local
2135 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_export() local
2159 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_import() local
2217 static int ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey()
3069 static int talitos_cra_init_aead(struct crypto_aead *tfm) in talitos_cra_init_aead()
3093 static int talitos_cra_init_ahash(struct crypto_tfm *tfm) in talitos_cra_init_ahash()
[all …]
/openbmc/linux/include/crypto/
H A Dxts.h11 static inline int xts_verify_key(struct crypto_skcipher *tfm, in xts_verify_key()
/openbmc/linux/security/keys/encrypted-keys/
H A Dencrypted.c88 struct crypto_skcipher *tfm; in aes_get_sizes() local
335 struct crypto_shash *tfm; in calc_hmac() local
387 struct crypto_skcipher *tfm; in init_skcipher_req() local
458 struct crypto_skcipher *tfm; in derived_key_encrypt() local
560 struct crypto_skcipher *tfm; in derived_key_decrypt() local
/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-crc32.c72 static int stm32_crc32_cra_init(struct crypto_tfm *tfm) in stm32_crc32_cra_init()
81 static int stm32_crc32c_cra_init(struct crypto_tfm *tfm) in stm32_crc32c_cra_init()
90 static int stm32_crc_setkey(struct crypto_shash *tfm, const u8 *key, in stm32_crc_setkey()
H A Dstm32-cryp.c831 static int stm32_cryp_init_tfm(struct crypto_skcipher *tfm) in stm32_cryp_init_tfm()
840 static int stm32_cryp_aes_aead_init(struct crypto_aead *tfm) in stm32_cryp_aes_aead_init()
876 static int stm32_cryp_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_setkey()
887 static int stm32_cryp_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_aes_setkey()
897 static int stm32_cryp_des_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_des_setkey()
904 static int stm32_cryp_tdes_setkey(struct crypto_skcipher *tfm, const u8 *key, in stm32_cryp_tdes_setkey()
911 static int stm32_cryp_aes_aead_setkey(struct crypto_aead *tfm, const u8 *key, in stm32_cryp_aes_aead_setkey()
926 static int stm32_cryp_aes_gcm_setauthsize(struct crypto_aead *tfm, in stm32_cryp_aes_gcm_setauthsize()
945 static int stm32_cryp_aes_ccm_setauthsize(struct crypto_aead *tfm, in stm32_cryp_aes_ccm_setauthsize()
/openbmc/linux/arch/loongarch/crypto/
H A Dcrc32-loongarch.c125 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen) in chksum_setkey()
209 static int chksum_cra_init(struct crypto_tfm *tfm) in chksum_cra_init()
217 static int chksumc_cra_init(struct crypto_tfm *tfm) in chksumc_cra_init()
/openbmc/linux/arch/arm64/crypto/
H A Daes-ce-ccm-glue.c44 static int ccm_setkey(struct crypto_aead *tfm, const u8 *in_key, in ccm_setkey()
52 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
H A Dsm4-ce-gcm-glue.c43 static int gcm_setkey(struct crypto_aead *tfm, const u8 *key, in gcm_setkey()
61 static int gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_setauthsize()
H A Dsm4-ce-ccm-glue.c30 static int ccm_setkey(struct crypto_aead *tfm, const u8 *key, in ccm_setkey()
46 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c98 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in create_ctx_hdr() local
195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cvm_enc_dec() local
334 static int cvm_enc_dec_init(struct crypto_skcipher *tfm) in cvm_enc_dec_init()
/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c30 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in aspeed_crypto_do_fallback() local
432 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in aspeed_des_setkey() local
702 static int aspeed_crypto_cra_init(struct crypto_skcipher *tfm) in aspeed_crypto_cra_init()
730 static void aspeed_crypto_cra_exit(struct crypto_skcipher *tfm) in aspeed_crypto_cra_exit()
/openbmc/linux/lib/
H A Dlibcrc32c.c36 static struct crypto_shash *tfm; variable

12345678910>>...16