Home
last modified time | relevance | path

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

/net/mac80211/
Daes_cmac.c25 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()
74 struct crypto_shash *tfm; in ieee80211_aes_cmac_key_setup() local
89 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()
50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt()
89 struct crypto_aead *tfm; in aead_key_setup_encrypt() local
110 void aead_key_free(struct crypto_aead *tfm) in aead_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()
Daes_gmac.c17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce, in ieee80211_aes_gmac()
72 struct crypto_aead *tfm; in ieee80211_aes_gmac_key_setup() local
89 void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm) in ieee80211_aes_gmac_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()
166 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]) in generate_ecdh_public_key()
219 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.c168 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac()
/net/xfrm/
Dxfrm_ipcomp.c45 struct crypto_comp *tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_decompress() local
131 struct crypto_comp *tfm; in ipcomp_compress() local
257 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms() local
271 struct crypto_comp *tfm; in ipcomp_alloc_tfms() local
295 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()
151 struct crypto_ahash *tfm; in make_checksum() local
243 struct crypto_ahash *tfm; in make_checksum_v2() local
335 struct crypto_sync_skcipher *tfm = in encryptor() local
396 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_encrypt_xdr_buf()
437 struct crypto_sync_skcipher *tfm = in decryptor() local
479 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_decrypt_xdr_buf()
/net/ipv6/
Dseg6_hmac.c122 struct crypto_shash *tfm; in __do_hmac() local
354 struct crypto_shash *tfm; in seg6_hmac_init_algo() local
419 struct crypto_shash *tfm; in seg6_hmac_exit() local
/net/ceph/
Dcrypto.h19 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/tipc/
Dcrypto.c130 struct crypto_aead *tfm; member
491 struct crypto_aead *tfm; in tipc_aead_tfm_next() local
518 struct crypto_aead *tfm; in tipc_aead_init() local
685 static void *tipc_aead_mem_alloc(struct crypto_aead *tfm, in tipc_aead_mem_alloc()
737 struct crypto_aead *tfm = tipc_aead_tfm_next(aead); in tipc_aead_encrypt() local
882 struct crypto_aead *tfm; in tipc_aead_decrypt() local
/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
Dsm_make_chunk.c1718 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie() local
1786 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie() local
Dsocket.c8520 struct crypto_shash *tfm = NULL; in sctp_listen_start() local
/net/rxrpc/
Drxkad.c235 struct crypto_skcipher *tfm = &call->conn->rxkad.cipher->base; in rxkad_get_call_crypto() local
1352 struct crypto_sync_skcipher *tfm; in rxkad_init() local
/net/tls/
Dtls_sw.c2613 struct crypto_tfm *tfm; in tls_set_sw_offload() local