/linux/include/crypto/ |
H A D | hash.h | 174 struct crypto_shash *tfm; 250 int (*setkey)(struct crypto_shash *tfm, const u8 *key, 252 int (*init_tfm)(struct crypto_shash *tfm); 253 void (*exit_tfm)(struct crypto_shash *tfm); 254 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src); 272 struct crypto_shash { struct 741 * crypto_shash is the cipher handle that is required for any subsequent 747 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, 750 struct crypto_shash *crypto_clone_shas 273 basecrypto_shash global() argument [all...] |
H A D | krb5.h | 15 struct crypto_shash; 130 struct crypto_shash *crypto_krb5_prepare_checksum(const struct krb5_enctype *krb5, 144 struct crypto_shash *shash, 150 struct crypto_shash *shash,
|
H A D | hkdf.h | 14 int hkdf_extract(struct crypto_shash *hmac_tfm, const u8 *ikm, 17 int hkdf_expand(struct crypto_shash *hmac_tfm,
|
H A D | kdf_sp800108.h | 31 int crypto_kdf108_ctr_generate(struct crypto_shash *kmd, 57 int crypto_kdf108_setkey(struct crypto_shash *kmd,
|
/linux/crypto/ |
H A D | shash.c | 19 static inline bool crypto_shash_block_only(struct crypto_shash *tfm) in crypto_shash_block_only() 25 static inline bool crypto_shash_final_nonzero(struct crypto_shash *tfm) in crypto_shash_final_nonzero() 31 static inline bool crypto_shash_finup_max(struct crypto_shash *tfm) in crypto_shash_finup_max() 37 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() 44 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() 50 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() 69 struct crypto_shash *tfm = desc->tfm; in __crypto_shash_init() 113 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup() 186 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest() 196 int crypto_shash_tfm_digest(struct crypto_shash *tf [all...] |
H A D | hmac.c | 24 struct crypto_shash *hash; 35 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey() 42 struct crypto_shash *hash = tctx->hash; in hmac_setkey() 134 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() 146 static int hmac_init_tfm(struct crypto_shash *parent) in hmac_init_tfm() 148 struct crypto_shash *hash; in hmac_init_tfm() 161 static int hmac_clone_tfm(struct crypto_shash *dst, struct crypto_shash *src) in hmac_clone_tfm() 165 struct crypto_shash *hash; in hmac_clone_tfm() 175 static void hmac_exit_tfm(struct crypto_shash *paren [all...] |
H A D | kdf_sp800108.c | 17 int crypto_kdf108_ctr_generate(struct crypto_shash *kmd, in crypto_kdf108_ctr_generate() 77 int crypto_kdf108_setkey(struct crypto_shash *kmd, in crypto_kdf108_setkey()
|
H A D | xcbc.c | 38 static int crypto_xcbc_digest_setkey(struct crypto_shash *parent, in crypto_xcbc_digest_setkey() 70 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update() 88 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_finup()
|
H A D | jitterentropy-kcapi.c | 197 struct crypto_shash *tfm; 226 struct crypto_shash *hash; in jent_kcapi_init() 337 struct crypto_shash *tfm; in jent_mod_init()
|
/linux/net/mac80211/ |
H A D | aes_cmac.h | 12 struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[], 14 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, 16 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, 18 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm);
|
H A D | aes_cmac.c | 25 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac() 49 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac_256() 71 struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[], in ieee80211_aes_cmac_key_setup() 74 struct crypto_shash *tfm; in ieee80211_aes_cmac_key_setup() 89 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm) in ieee80211_aes_cmac_key_free()
|
/linux/drivers/crypto/xilinx/ |
H A D | zynqmp-sha.c | 36 struct crypto_shash *fbk_tfm; 44 static int zynqmp_sha_init_tfm(struct crypto_shash *hash) in zynqmp_sha_init_tfm() 49 struct crypto_shash *fallback_tfm; in zynqmp_sha_init_tfm() 72 static void zynqmp_sha_exit_tfm(struct crypto_shash *hash) in zynqmp_sha_exit_tfm() 90 struct crypto_shash *fbtfm = tctx->fbk_tfm; in zynqmp_sha_init() 102 struct crypto_shash *fbtfm = tctx->fbk_tfm; in zynqmp_sha_update() 115 struct crypto_shash *fbtfm = tctx->fbk_tfm; in zynqmp_sha_finup()
|
/linux/include/crypto/internal/ |
H A D | hash.h | 95 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, 274 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() 292 struct crypto_shash *shash) in shash_alg_instance() 302 static inline struct crypto_shash *crypto_spawn_shash( in crypto_spawn_shash() 308 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast() 310 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast() 347 static inline unsigned int crypto_shash_coresize(struct crypto_shash *tfm) in crypto_shash_coresize()
|
H A D | kdf_selftest.h | 25 int (*crypto_kdf_setkey)(struct crypto_shash *kmd, in kdf_test() 28 int (*crypto_kdf_generate)(struct crypto_shash *kmd, in kdf_test() 33 struct crypto_shash *kmd; in kdf_test()
|
/linux/crypto/krb5/ |
H A D | krb5_api.c | 235 struct crypto_shash *krb5_prepare_checksum(const struct krb5_enctype *krb5, in krb5_prepare_checksum() 239 struct crypto_shash *ci = NULL; in krb5_prepare_checksum() 274 struct crypto_shash *crypto_krb5_prepare_checksum(const struct krb5_enctype *krb5, in crypto_krb5_prepare_checksum() 278 struct crypto_shash *ci = NULL; in crypto_krb5_prepare_checksum() 396 struct crypto_shash *shash, in crypto_krb5_get_mic() 433 struct crypto_shash *shash, in crypto_krb5_verify_mic()
|
H A D | internal.h | 88 struct crypto_shash *shash, 96 struct crypto_shash *shash, 154 struct crypto_shash *krb5_prepare_checksum(const struct krb5_enctype *krb5, 204 struct crypto_shash *shash, 209 struct crypto_shash *shash,
|
/linux/net/rxrpc/ |
H A D | rxgk_common.h | 31 struct crypto_shash *tx_Kc; /* Transmission checksum key */ 32 struct crypto_shash *rx_Kc; /* Reception checksum key */ 108 struct crypto_shash *shash, in rxgk_verify_mic_skb()
|
/linux/security/keys/ |
H A D | dh.c | 67 static int kdf_alloc(struct crypto_shash **hash, char *hashname) in kdf_alloc() 69 struct crypto_shash *tfm; in kdf_alloc() 88 static void kdf_dealloc(struct crypto_shash *hash) in kdf_dealloc() 94 static int keyctl_dh_compute_kdf(struct crypto_shash *hash, in keyctl_dh_compute_kdf() 138 struct crypto_shash *hash = NULL; in __keyctl_dh_compute()
|
/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 57 static struct crypto_shash *ima_shash_tfm; 86 static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo) in ima_alloc_tfm() 88 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() 209 static void ima_free_tfm(struct crypto_shash *tfm) in ima_free_tfm() 453 struct crypto_shash *tfm) in ima_calc_file_hash_tfm() 504 struct crypto_shash *tfm; in ima_calc_file_shash() 717 struct crypto_shash *tfm) in calc_buffer_shash_tfm() 748 struct crypto_shash *tfm; in calc_buffer_shash() 796 struct crypto_shash *tfm) in ima_calc_boot_aggregate_tfm() 841 struct crypto_shash *tf in ima_calc_boot_aggregate() [all...] |
/linux/drivers/crypto/nx/ |
H A D | nx.h | 151 int nx_crypto_ctx_aes_xcbc_init(struct crypto_shash *tfm); 155 int nx_crypto_ctx_sha_init(struct crypto_shash *tfm); 159 void nx_crypto_ctx_shash_exit(struct crypto_shash *tfm);
|
/linux/net/ipv6/ |
H A D | seg6_hmac.c | 129 struct crypto_shash *tfm; in __do_hmac() 365 struct crypto_shash *tfm; in seg6_hmac_init_algo() 373 struct crypto_shash **p_tfm; in seg6_hmac_init_algo() 377 algo->tfms = alloc_percpu(struct crypto_shash *); in seg6_hmac_init_algo() 431 struct crypto_shash *tfm; in seg6_hmac_exit()
|
/linux/include/net/sctp/ |
H A D | auth.h | 25 struct crypto_shash; 81 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
|
/linux/drivers/nvme/common/ |
H A D | auth.c | 244 struct crypto_shash *key_tfm; in nvme_auth_transform_key() 310 struct crypto_shash *tfm; in nvme_auth_hash_skey() 335 struct crypto_shash *tfm; in nvme_auth_augmented_challenge() 492 struct crypto_shash *tfm; in nvme_auth_generate_psk() 590 struct crypto_shash *tfm; in nvme_auth_generate_digest() 716 struct crypto_shash *hmac_tfm; in nvme_auth_derive_tls_psk()
|
/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_keys.c | 305 krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant, in krb5_cmac_Ki() 377 struct crypto_shash *tfm; in krb5_kdf_feedback_cmac() 444 krb5_hmac_K1(struct crypto_shash *tfm, const struct xdr_netobj *label, in krb5_hmac_K1() 506 struct crypto_shash *tfm; in krb5_kdf_hmac_sha2()
|
/linux/arch/x86/crypto/ |
H A D | polyval-clmulni_glue.c | 50 static inline struct polyval_tfm_ctx *polyval_tfm_ctx(struct crypto_shash *tfm) in polyval_tfm_ctx() 70 static int polyval_x86_setkey(struct crypto_shash *tfm, in polyval_x86_setkey()
|