/openbmc/linux/include/crypto/internal/ |
H A D | aead.h | 37 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 D | acompress.h | 61 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 D | skcipher.h | 164 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 D | aria_generic.c | 174 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 D | fcrypt.c | 233 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 D | drbg.c | 1659 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 D | testmgr.c | 1277 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 D | sm2.c | 380 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 D | anubis.c | 462 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 D | ecb.c | 46 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 D | cast5_generic.c | 353 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 D | aes_generic.c | 1136 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 D | seed.c | 327 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 D | aegis128-core.c | 378 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 D | cast6_generic.c | 146 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 D | public_key.c | 160 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 D | nx-842.c | 104 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 D | nx-aes-ccm.c | 23 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 D | omap-aes-gcm.c | 312 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 D | atmel-sha.c | 428 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 D | chacha-glue.c | 56 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 D | stm32-hash.c | 260 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 D | camellia_glue.c | 35 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 D | key.h | 91 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 D | fils_aead.c | 25 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
|