Home
last modified time | relevance | path

Searched defs:tfm (Results 101 – 125 of 365) sorted by relevance

12345678910>>...15

/OK3568_Linux_fs/kernel/crypto/
H A Darc4.c18 static int crypto_arc4_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in crypto_arc4_setkey()
28 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_arc4_crypt() local
44 static int crypto_arc4_init(struct crypto_skcipher *tfm) in crypto_arc4_init()
H A Dapi.c294 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops()
303 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops()
347 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfm() local
404 struct crypto_tfm *tfm; in crypto_alloc_base() local
441 struct crypto_tfm *tfm = NULL; in crypto_create_tfm_node() local
521 void *tfm; in crypto_alloc_tfm_node() local
561 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) in crypto_destroy_tfm()
H A Djitterentropy-kcapi.c114 static int jent_kcapi_init(struct crypto_tfm *tfm) in jent_kcapi_init()
127 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) in jent_kcapi_cleanup()
138 static int jent_kcapi_random(struct crypto_rng *tfm, in jent_kcapi_random()
178 static int jent_kcapi_reset(struct crypto_rng *tfm, in jent_kcapi_reset()
H A Dcurve25519-generic.c9 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, in curve25519_set_secret()
26 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_compute_value() local
57 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) in curve25519_max_size()
H A Daes_ti.c12 static int aesti_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aesti_set_key()
20 static void aesti_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aesti_encrypt()
36 static void aesti_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aesti_decrypt()
H A Dacompress.c52 static void crypto_acomp_exit_tfm(struct crypto_tfm *tfm) in crypto_acomp_exit_tfm()
60 static int crypto_acomp_init_tfm(struct crypto_tfm *tfm) in crypto_acomp_init_tfm()
122 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_alloc() local
136 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_free() local
H A Daead.c22 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned()
43 int crypto_aead_setkey(struct crypto_aead *tfm, in crypto_aead_setkey()
64 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in crypto_aead_setauthsize()
119 static void crypto_aead_exit_tfm(struct crypto_tfm *tfm) in crypto_aead_exit_tfm()
127 static int crypto_aead_init_tfm(struct crypto_tfm *tfm) in crypto_aead_init_tfm()
H A Dgeniv.c19 static int aead_geniv_setkey(struct crypto_aead *tfm, in aead_geniv_setkey()
27 static int aead_geniv_setauthsize(struct crypto_aead *tfm, in aead_geniv_setauthsize()
153 void aead_exit_geniv(struct crypto_aead *tfm) in aead_exit_geniv()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A 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()
/OK3568_Linux_fs/kernel/net/mac80211/
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dchacha.h15 static inline int chacha_setkey(struct crypto_skcipher *tfm, const u8 *key, in chacha_setkey()
31 static inline int chacha20_setkey(struct crypto_skcipher *tfm, const u8 *key, in chacha20_setkey()
37 static inline int chacha12_setkey(struct crypto_skcipher *tfm, const u8 *key, in chacha12_setkey()
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A Dcc_hash.c287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete() local
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete() local
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete() local
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result() local
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac() local
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest() local
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update() local
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup() local
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init() local
1110 static int cc_get_hash_len(struct crypto_tfm *tfm) in cc_get_hash_len()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dimg-hash.c484 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init() local
549 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update() local
564 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final() local
578 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup() local
594 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_import() local
607 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_export() local
619 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest() local
673 static int img_hash_cra_init(struct crypto_tfm *tfm, const char *alg_name) in img_hash_cra_init()
696 static int img_hash_cra_md5_init(struct crypto_tfm *tfm) in img_hash_cra_md5_init()
701 static int img_hash_cra_sha1_init(struct crypto_tfm *tfm) in img_hash_cra_sha1_init()
[all …]
/OK3568_Linux_fs/kernel/net/xfrm/
H A 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
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dcamellia_aesni_avx_glue.c144 static int camellia_setkey(struct crypto_skcipher *tfm, const u8 *key, in camellia_setkey()
175 int xts_camellia_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_camellia_setkey()
197 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local
206 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
H A Dserpent_avx_glue.c73 static int serpent_setkey_skcipher(struct crypto_skcipher *tfm, in serpent_setkey_skcipher()
79 int xts_serpent_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_serpent_setkey()
204 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local
214 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
H A Dcast5_avx_glue.c29 static int cast5_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in cast5_setkey_skcipher()
50 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_crypt() local
113 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local
198 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
278 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt() local
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c127 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in sec_aead_verify() local
536 static int sec_skcipher_init(struct crypto_skcipher *tfm) in sec_skcipher_init()
564 static void sec_skcipher_uninit(struct crypto_skcipher *tfm) in sec_skcipher_uninit()
626 static int sec_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in sec_skcipher_setkey()
881 static int sec_aead_setkey(struct crypto_aead *tfm, const u8 *key, in sec_aead_setkey()
1173 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); in sec_aead_callback() local
1304 static int sec_skcipher_ctx_init(struct crypto_skcipher *tfm) in sec_skcipher_ctx_init()
1313 static void sec_skcipher_ctx_exit(struct crypto_skcipher *tfm) in sec_skcipher_ctx_exit()
1318 static int sec_aead_init(struct crypto_aead *tfm) in sec_aead_init()
1354 static void sec_aead_exit(struct crypto_aead *tfm) in sec_aead_exit()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A Dcurve25519-glue.c49 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, in curve25519_set_secret()
66 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_compute_value() local
97 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) in curve25519_max_size()
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c75 static int ccp_aes_xts_setkey(struct crypto_skcipher *tfm, const u8 *key, in ccp_aes_xts_setkey()
107 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ccp_aes_xts_crypt() local
197 static int ccp_aes_xts_init_tfm(struct crypto_skcipher *tfm) in ccp_aes_xts_init_tfm()
219 static void ccp_aes_xts_exit_tfm(struct crypto_skcipher *tfm) in ccp_aes_xts_exit_tfm()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c108 static int nitrox_skcipher_init(struct crypto_skcipher *tfm) in nitrox_skcipher_init()
134 static int nitrox_cbc_init(struct crypto_skcipher *tfm) in nitrox_cbc_init()
147 static void nitrox_skcipher_exit(struct crypto_skcipher *tfm) in nitrox_skcipher_exit()
169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey() local
340 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_xts_setkey() local
365 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_aes_ctr_rfc3686_setkey() local
/OK3568_Linux_fs/kernel/net/sunrpc/auth_gss/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/ux500/hash/
H A Dhash_core.c551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ux500_hash_init() local
856 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_dma_final() local
963 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_final() local
1072 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_update() local
1340 static int hash_setkey(struct crypto_ahash *tfm, in hash_setkey()
1362 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha1_init() local
1375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha256_init() local
1428 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha1_init() local
1441 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha256_init() local
1482 static int hmac_sha1_setkey(struct crypto_ahash *tfm, in hmac_sha1_setkey()
[all …]

12345678910>>...15