/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_krb5_mech.c | 269 struct crypto_sync_skcipher *tfm; local 284 struct crypto_ahash *tfm; local [all...] |
/linux-master/drivers/md/ |
H A D | dm-verity.h | 42 struct crypto_ahash *tfm; member in struct:dm_verity
|
/linux-master/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 26 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm) argument 64 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm) argument 75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 208 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 241 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local 333 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); local [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | aes-ce-ccm-glue.c | 47 static int ccm_setkey(struct crypto_aead *tfm, const u8 *in_key, argument 55 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_comp_algs.c | 72 struct crypto_acomp *tfm = crypto_acomp_reqtfm(areq); local 109 struct crypto_acomp *tfm = crypto_acomp_reqtfm(areq); local 194 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); local 217 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); local 230 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp_tfm); local [all...] |
/linux-master/include/crypto/internal/ |
H A D | hash.h | 132 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) argument 137 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) argument 154 static inline void crypto_ahash_set_statesize(struct crypto_ahash *tfm, argument 160 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, argument 234 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) argument 268 __crypto_shash_cast(struct crypto_tfm *tfm) argument [all...] |
/linux-master/arch/riscv/crypto/ |
H A D | aes-riscv64-glue.c | 89 static int riscv64_aes_setkey_cipher(struct crypto_tfm *tfm, argument 97 static int riscv64_aes_setkey_skcipher(struct crypto_skcipher *tfm, argument 107 static void riscv64_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 120 static void riscv64_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 137 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 215 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 279 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 344 riscv64_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 356 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |
/linux-master/arch/loongarch/crypto/ |
H A D | crc32-loongarch.c | 125 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen) argument 209 static int chksum_cra_init(struct crypto_tfm *tfm) argument 217 static int chksumc_cra_init(struct crypto_tfm *tfm) argument
|
/linux-master/kernel/bpf/ |
H A D | crypto.c | 54 void *tfm; member in struct:bpf_crypto_ctx [all...] |
/linux-master/drivers/crypto/nx/ |
H A D | nx-842.c | 104 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver) argument 124 void nx842_crypto_exit(struct crypto_tfm *tfm) argument 249 int nx842_crypto_compress(struct crypto_tfm *tfm, argument 434 int nx842_crypto_decompress(struct crypto_tfm *tfm, argument
|
/linux-master/crypto/ |
H A D | api.c | 348 static void crypto_exit_ops(struct crypto_tfm *tfm) argument 392 struct crypto_tfm *tfm; local 452 struct crypto_tfm *tfm; local 488 struct crypto_tfm *tfm; local 512 struct crypto_tfm *tfm; local 547 struct crypto_tfm *tfm; local 611 void *tfm; local 651 crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) argument [all...] |
H A D | aead.c | 23 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, argument 43 int crypto_aead_setkey(struct crypto_aead *tfm, argument 64 crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) argument 108 crypto_aead_exit_tfm(struct crypto_tfm *tfm) argument 116 crypto_aead_init_tfm(struct crypto_tfm *tfm) argument [all...] |
H A D | akcipher.c | 44 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) argument 52 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) argument 119 static int akcipher_default_set_key(struct crypto_akcipher *tfm, argument 214 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm, argument 232 crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm, const void *src, unsigned int slen, void *dst, unsigned int dlen) argument 251 crypto_exit_akcipher_ops_sig(struct crypto_tfm *tfm) argument 258 crypto_init_akcipher_ops_sig(struct crypto_tfm *tfm) argument [all...] |
H A D | jitterentropy-kcapi.c | 196 struct crypto_shash *tfm; member in struct:jitterentropy 200 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) argument 222 jent_kcapi_init(struct crypto_tfm *tfm) argument 274 jent_kcapi_random(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *rdata, unsigned int dlen) argument 312 jent_kcapi_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) argument 336 struct crypto_shash *tfm; local [all...] |
H A D | ecdsa.c | 139 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 222 static int ecdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 258 static void ecdsa_exit_tfm(struct crypto_akcipher *tfm) argument 265 static unsigned int ecdsa_max_size(struct crypto_akcipher *tfm) argument 272 static int ecdsa_nist_p521_init_tfm(struct crypto_akcipher *tfm) argument 294 ecdsa_nist_p384_init_tfm(struct crypto_akcipher *tfm) argument 316 ecdsa_nist_p256_init_tfm(struct crypto_akcipher *tfm) argument 338 ecdsa_nist_p192_init_tfm(struct crypto_akcipher *tfm) argument [all...] |
H A D | ecrdsa.c | 73 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, argument 252 static unsigned int ecrdsa_max_size(struct crypto_akcipher *tfm) argument 263 static void ecrdsa_exit_tfm(struct crypto_akcipher *tfm) argument
|
H A D | shash.c | 19 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, argument 26 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) argument 32 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, argument 90 struct crypto_shash *tfm = desc->tfm; local 99 crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data, unsigned int len, u8 *out) argument 117 struct crypto_shash *tfm = desc->tfm; local 130 struct crypto_shash *tfm = desc->tfm; local 144 crypto_shash_exit_tfm(struct crypto_tfm *tfm) argument 152 crypto_shash_init_tfm(struct crypto_tfm *tfm) argument 256 struct crypto_tfm *tfm = crypto_shash_tfm(hash); local [all...] |
H A D | scompress.c | 101 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) argument 115 struct crypto_acomp *tfm = crypto_acomp_reqtfm(req); local 195 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) argument 207 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) argument 237 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); local 256 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); local [all...] |
H A D | algif_hash.c | 233 struct crypto_ahash *tfm; local 303 struct crypto_ahash *tfm; local 414 struct crypto_ahash *tfm = private; local 441 struct crypto_ahash *tfm local [all...] |
H A D | aegis128-core.c | 378 static int crypto_aegis128_setauthsize(struct crypto_aead *tfm, argument 390 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 413 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 451 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local 476 struct crypto_aead *tfm = crypto_aead_reqtfm(req); local [all...] |
/linux-master/include/crypto/ |
H A D | aead.h | 162 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) argument 183 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) argument 194 crypto_free_aead(struct crypto_aead *tfm) argument 211 crypto_aead_driver_name(struct crypto_aead *tfm) argument 216 crypto_aead_alg(struct crypto_aead *tfm) argument 236 crypto_aead_ivsize(struct crypto_aead *tfm) argument 253 crypto_aead_authsize(struct crypto_aead *tfm) argument 278 crypto_aead_blocksize(struct crypto_aead *tfm) argument 283 crypto_aead_alignmask(struct crypto_aead *tfm) argument 288 crypto_aead_get_flags(struct crypto_aead *tfm) argument 293 crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) argument 298 crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags) argument 401 crypto_aead_reqsize(struct crypto_aead *tfm) argument 414 aead_request_set_tfm(struct aead_request *req, struct crypto_aead *tfm) argument 431 aead_request_alloc(struct crypto_aead *tfm, gfp_t gfp) argument [all...] |
H A D | akcipher.h | 136 crypto_akcipher_tfm( struct crypto_akcipher *tfm) argument 147 __crypto_akcipher_tfm( struct crypto_tfm *tfm) argument 153 crypto_akcipher_alg( struct crypto_akcipher *tfm) argument 159 crypto_akcipher_reqsize(struct crypto_akcipher *tfm) argument 164 akcipher_request_set_tfm(struct akcipher_request *req, struct crypto_akcipher *tfm) argument 183 crypto_free_akcipher(struct crypto_akcipher *tfm) argument 196 akcipher_request_alloc( struct crypto_akcipher *tfm, gfp_t gfp) argument 273 crypto_akcipher_maxsize(struct crypto_akcipher *tfm) argument 292 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 309 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 362 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 383 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); local 401 crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 423 crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument [all...] |
H A D | kpp.h | 114 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) argument 124 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) argument 129 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) argument 134 crypto_kpp_reqsize(struct crypto_kpp *tfm) argument 139 kpp_request_set_tfm(struct kpp_request *req, struct crypto_kpp *tfm) argument 150 crypto_kpp_get_flags(struct crypto_kpp *tfm) argument 155 crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) argument 167 crypto_free_kpp(struct crypto_kpp *tfm) argument 180 kpp_request_alloc(struct crypto_kpp *tfm, gfp_t gfp) argument 290 crypto_kpp_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len) argument 311 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 328 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); local 343 crypto_kpp_maxsize(struct crypto_kpp *tfm) argument [all...] |
/linux-master/net/ipv6/ |
H A D | seg6_hmac.c | 122 struct crypto_shash *tfm; local 356 struct crypto_shash *tfm; local 422 struct crypto_shash *tfm; local [all...] |
/linux-master/drivers/crypto/ |
H A D | padlock-aes.c | 97 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) argument 102 static inline struct aes_ctx *skcipher_aes_ctx(struct crypto_skcipher *tfm) argument 107 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 162 static int aes_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *in_key, argument 306 static void padlock_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 315 padlock_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) argument 346 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 371 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 411 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local 438 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); local [all...] |