Home
last modified time | relevance | path

Searched defs:tfm (Results 176 – 200 of 390) sorted by relevance

12345678910>>...16

/openbmc/linux/include/crypto/internal/
H A Daead.h37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx()
42 static inline void *crypto_aead_ctx_dma(struct crypto_aead *tfm) in crypto_aead_ctx_dma()
155 static inline unsigned int crypto_aead_chunksize(struct crypto_aead *tfm) in crypto_aead_chunksize()
H A Dacompress.h61 static inline void *acomp_tfm_ctx(struct crypto_acomp *tfm) in acomp_tfm_ctx()
72 static inline struct acomp_req *__acomp_request_alloc(struct crypto_acomp *tfm) in __acomp_request_alloc()
H A Dskcipher.h164 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) in crypto_skcipher_ctx()
169 static inline void *crypto_skcipher_ctx_dma(struct crypto_skcipher *tfm) in crypto_skcipher_ctx_dma()
224 struct crypto_skcipher *tfm) in crypto_skcipher_walksize()
234 skcipher_cipher_simple(struct crypto_skcipher *tfm) in skcipher_cipher_simple()
/openbmc/linux/crypto/
H A Daria_generic.c174 int aria_set_key(struct crypto_tfm *tfm, const u8 *in_key, unsigned int key_len) in aria_set_key()
266 static void __aria_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in __aria_encrypt()
273 static void __aria_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in __aria_decrypt()
H A Dfcrypt.c233 static void fcrypt_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in fcrypt_encrypt()
265 static void fcrypt_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in fcrypt_decrypt()
300 static int fcrypt_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in fcrypt_setkey()
H A Ddrbg.c1659 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, in drbg_kcapi_set_entropy()
1682 struct crypto_shash *tfm; in drbg_init_hash_kernel() local
1739 struct crypto_cipher *tfm = in drbg_fini_sym_kernel() local
1761 struct crypto_cipher *tfm; in drbg_init_sym_kernel() local
1821 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_symsetkey() local
1829 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_sym() local
1925 static int drbg_kcapi_init(struct crypto_tfm *tfm) in drbg_kcapi_init()
1934 static void drbg_kcapi_cleanup(struct crypto_tfm *tfm) in drbg_kcapi_cleanup()
1948 static int drbg_kcapi_random(struct crypto_rng *tfm, in drbg_kcapi_random()
1968 static int drbg_kcapi_seed(struct crypto_rng *tfm, in drbg_kcapi_seed()
H A Dtestmgr.c1277 struct crypto_shash *tfm = desc->tfm; in test_shash_vec_cfg() local
1868 struct crypto_shash *tfm; in alloc_shash() local
2261 struct crypto_aead *tfm; member
2490 struct crypto_aead *tfm = ctx->tfm; in test_aead_vs_generic_impl() local
2671 struct crypto_aead *tfm; in alg_test_aead() local
3248 struct crypto_skcipher *tfm; in alg_test_skcipher() local
3298 static int test_comp(struct crypto_comp *tfm, in test_comp()
3668 struct crypto_cipher *tfm; in alg_test_cipher() local
3727 struct crypto_shash *tfm; in alg_test_crc32c() local
4052 struct crypto_kpp *tfm; in alg_test_kpp() local
[all …]
H A Dsm2.c380 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in sm2_verify() local
420 static int sm2_set_pub_key(struct crypto_akcipher *tfm, in sm2_set_pub_key()
447 static unsigned int sm2_max_size(struct crypto_akcipher *tfm) in sm2_max_size()
453 static int sm2_init_tfm(struct crypto_akcipher *tfm) in sm2_init_tfm()
460 static void sm2_exit_tfm(struct crypto_akcipher *tfm) in sm2_exit_tfm()
H A Danubis.c462 static int anubis_setkey(struct crypto_tfm *tfm, const u8 *in_key, in anubis_setkey()
660 static void anubis_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_encrypt()
666 static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_decrypt()
H A Decb.c46 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_ecb_encrypt() local
55 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_ecb_decrypt() local
H A Dcast5_generic.c353 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_encrypt()
395 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_decrypt()
475 int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) in cast5_setkey()
H A Daes_generic.c1136 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in crypto_aes_set_key()
1176 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_encrypt()
1246 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_decrypt()
H A Dseed.c327 static int seed_set_key(struct crypto_tfm *tfm, const u8 *in_key, in seed_set_key()
364 static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_encrypt()
402 static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_decrypt()
H A Daegis128-core.c378 static int crypto_aegis128_setauthsize(struct crypto_aead *tfm, in crypto_aegis128_setauthsize()
390 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt_generic() local
413 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt_generic() local
451 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt_simd() local
476 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt_simd() local
H A Dcast6_generic.c146 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in cast6_setkey()
204 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt()
241 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_decrypt()
/openbmc/linux/crypto/asymmetric_keys/
H A Dpublic_key.c160 struct crypto_akcipher *tfm; in software_key_query() local
278 struct crypto_akcipher *tfm; in software_key_eds_op() local
383 struct crypto_sig *tfm; in public_key_verify_signature() local
/openbmc/linux/drivers/crypto/nx/
H A Dnx-842.c104 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver) in nx842_crypto_init()
124 void nx842_crypto_exit(struct crypto_tfm *tfm) in nx842_crypto_exit()
249 int nx842_crypto_compress(struct crypto_tfm *tfm, in nx842_crypto_compress()
432 int nx842_crypto_decompress(struct crypto_tfm *tfm, in nx842_crypto_decompress()
H A Dnx-aes-ccm.c23 static int ccm_aes_nx_set_key(struct crypto_aead *tfm, in ccm_aes_nx_set_key()
53 static int ccm4309_aes_nx_set_key(struct crypto_aead *tfm, in ccm4309_aes_nx_set_key()
69 static int ccm_aes_nx_setauthsize(struct crypto_aead *tfm, in ccm_aes_nx_setauthsize()
88 static int ccm4309_aes_nx_setauthsize(struct crypto_aead *tfm, in ccm4309_aes_nx_setauthsize()
/openbmc/linux/drivers/crypto/
H A Domap-aes-gcm.c312 int omap_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key, in omap_aes_gcm_setkey()
328 int omap_aes_4106gcm_setkey(struct crypto_aead *tfm, const u8 *key, in omap_aes_4106gcm_setkey()
349 int omap_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in omap_aes_gcm_setauthsize()
383 int omap_aes_gcm_cra_init(struct crypto_aead *tfm) in omap_aes_gcm_cra_init()
H A Datmel-sha.c428 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init() local
1243 static int atmel_sha_cra_init(struct crypto_tfm *tfm) in atmel_sha_cra_init()
1689 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup() local
1750 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_prehash_key_done() local
1767 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_ipad_hash() local
1787 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_compute_opad_hash() local
1803 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_hmac_setup_done() local
2110 struct crypto_ahash *tfm; member
2171 struct crypto_ahash *tfm; in atmel_sha_authenc_spawn() local
2237 struct crypto_ahash *tfm = auth->tfm; in atmel_sha_authenc_setkey() local
[all …]
/openbmc/linux/arch/mips/crypto/
H A Dchacha-glue.c56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in chacha_mips() local
64 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xchacha_mips() local
/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-hash.c260 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_key() local
288 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_write_ctrl() local
589 struct crypto_ahash *tfm = crypto_ahash_reqtfm(hdev->req); in stm32_hash_hmac_dma_send() local
797 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_init() local
929 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in stm32_hash_copy_hash() local
1144 static int stm32_hash_setkey(struct crypto_ahash *tfm, in stm32_hash_setkey()
1159 static int stm32_hash_init_fallback(struct crypto_tfm *tfm) in stm32_hash_init_fallback()
1197 static int stm32_hash_cra_init(struct crypto_tfm *tfm) in stm32_hash_cra_init()
1202 static int stm32_hash_cra_hmac_init(struct crypto_tfm *tfm) in stm32_hash_cra_hmac_init()
1207 static int stm32_hash_cra_sha3_init(struct crypto_tfm *tfm) in stm32_hash_cra_sha3_init()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dcamellia_glue.c35 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt()
40 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt()
1254 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *key, in camellia_setkey()
1260 static int camellia_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in camellia_setkey_skcipher()
/openbmc/linux/net/mac80211/
H A 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
H A 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

12345678910>>...16