Home
last modified time | relevance | path

Searched defs:tfm (Results 1 – 22 of 22) sorted by relevance

/net/mac80211/
Daes_cmac.c24 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac()
40 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, in ieee80211_aes_cmac_256()
56 struct crypto_shash *tfm; in ieee80211_aes_cmac_key_setup() local
65 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm) in ieee80211_aes_cmac_key_free()
Daead_api.c18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt()
49 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt()
88 struct crypto_aead *tfm; in aead_key_setup_encrypt() local
109 void aead_key_free(struct crypto_aead *tfm) in aead_key_free()
Daes_gmac.c17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce, in ieee80211_aes_gmac()
59 struct crypto_aead *tfm; in ieee80211_aes_gmac_key_setup() local
76 void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm) in ieee80211_aes_gmac_key_free()
Daes_gcm.h13 static inline int ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_encrypt()
22 static inline int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_decrypt()
38 static inline void ieee80211_aes_gcm_key_free(struct crypto_aead *tfm) in ieee80211_aes_gcm_key_free()
Daes_ccm.h21 ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_ccm_encrypt()
31 ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_ccm_decrypt()
40 static inline void ieee80211_aes_key_free(struct crypto_aead *tfm) in ieee80211_aes_key_free()
Dkey.h91 struct crypto_aead *tfm; member
96 struct crypto_shash *tfm; member
102 struct crypto_aead *tfm; member
113 struct crypto_aead *tfm; member
Dfils_aead.c25 static int aes_s2v(struct crypto_shash *tfm, in aes_s2v()
72 struct crypto_shash *tfm; in aes_siv_encrypt() local
149 struct crypto_shash *tfm; in aes_siv_decrypt() local
/net/bluetooth/
Decdh_helper.c60 int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64], in compute_ecdh_secret()
122 int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) in set_ecdh_privkey()
168 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_public_key()
221 int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_keys()
Dselftest.c141 static int __init test_ecdh_sample(struct crypto_kpp *tfm, const u8 priv_a[32], in test_ecdh_sample()
201 struct crypto_kpp *tfm; in test_ecdh() local
Damp.c130 struct crypto_shash *tfm; in hmac_sha256() local
Dsmp.c169 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac()
/net/xfrm/
Dxfrm_ipcomp.c46 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_decompress() local
140 struct crypto_comp *tfm; in ipcomp_compress() local
266 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms() local
280 struct crypto_comp *tfm; in ipcomp_alloc_tfms() local
304 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms() local
/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c56 struct crypto_sync_skcipher *tfm, in krb5_encrypt()
95 struct crypto_sync_skcipher *tfm, in krb5_decrypt()
280 struct crypto_ahash *tfm; in make_checksum() local
377 struct crypto_ahash *tfm; in make_checksum_v2() local
469 struct crypto_sync_skcipher *tfm = in encryptor() local
530 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_encrypt_xdr_buf()
571 struct crypto_sync_skcipher *tfm = in decryptor() local
613 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_decrypt_xdr_buf()
/net/ipv6/
Dseg6_hmac.c124 struct crypto_shash *tfm; in __do_hmac() local
356 struct crypto_shash *tfm; in seg6_hmac_init_algo() local
423 struct crypto_shash *tfm; in seg6_hmac_exit() local
/net/ceph/
Dcrypto.h16 struct crypto_sync_skcipher *tfm; member
/net/wireless/
Dlib80211_crypt_ccmp.c52 struct crypto_aead *tfm; member
351 struct crypto_aead *tfm = data->tfm; in lib80211_ccmp_set_key() local
Dlib80211_crypt_tkip.c624 struct crypto_shash *tfm = tkey->tx_tfm_michael; in lib80211_tkip_set_key() local
/net/mac802154/
Dllsec.h23 struct crypto_aead *tfm[3]; member
/net/sctp/
Dauth.c456 struct crypto_shash *tfm = NULL; in sctp_auth_init_hmacs() local
712 struct crypto_shash *tfm; in sctp_auth_calculate_hmac() local
Dsocket.c8375 struct crypto_shash *tfm = NULL; in sctp_listen_start() local
/net/rxrpc/
Drxkad.c152 struct crypto_skcipher *tfm = &call->conn->cipher->base; in rxkad_get_call_crypto() local
1258 struct crypto_sync_skcipher *tfm; in rxkad_init() local
/net/tls/
Dtls_sw.c2323 struct crypto_tfm *tfm; in tls_set_sw_offload() local