| /linux/scripts/crypto/ |
| H A D | gen-hash-testvecs.py | 82 hash_init(alg) global() argument 97 compute_hash(alg, data) global() argument 118 alg_digest_size_const(alg) global() argument 123 gen_unkeyed_testvecs(alg) global() argument 157 gen_hmac_testvecs(alg) global() argument 170 gen_additional_blake2_testvecs(alg) global() argument 252 alg = sys.argv[1] global() variable [all...] |
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 98 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_init_tfm() local 201 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_final() local 244 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_finup() local 272 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest_fb() local 348 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_need_fallback() local 398 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_digest() local 484 struct ahash_alg *alg = crypto_ahash_alg(tfm); in sun8i_ss_hash_run() local
|
| H A D | sun8i-ss-prng.c | 61 struct rng_alg *alg = crypto_rng_alg(tfm); in sun8i_ss_prng_generate() local
|
| /linux/fs/verity/ |
| H A D | hash_algs.c | 55 fsverity_prepare_hash_state(const struct fsverity_hash_alg *alg, in fsverity_prepare_hash_state() 137 void fsverity_hash_buffer(const struct fsverity_hash_alg *alg, in fsverity_hash_buffer() 161 const struct fsverity_hash_alg *alg = &fsverity_hash_algs[i]; in fsverity_check_hash_algs() local
|
| /linux/lib/crypto/tests/ |
| H A D | sha3_kunit.c | 250 static void shake(int alg, const u8 *in, size_t in_len, u8 *out, size_t out_len) in shake() 258 static void shake_init(struct shake_ctx *ctx, int alg) in shake_init() 283 for (int alg = 0; alg < 2; alg++) { in test_shake_all_lens_up_to_4096() local 320 const int alg = rand32() % 2; in test_shake_multiple_squeezes() local 378 for (int alg = 0; alg < 2; alg++) { in test_shake_with_guarded_bufs() local
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_crypto.c | 160 struct libipw_crypto_alg *alg; in libipw_register_crypto_ops() local 181 struct libipw_crypto_alg *alg; in libipw_unregister_crypto_ops() local 204 struct libipw_crypto_alg *alg; in libipw_get_crypto_ops() local
|
| /linux/drivers/crypto/gemini/ |
| H A D | sl3516-ce-cipher.c | 108 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher_fallback() local 133 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher() local 320 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in sl3516_ce_cipher_init() local
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 27 unsigned int alg; member 39 unsigned int alg; member 49 static int tegra_sha_get_config(u32 alg) in tegra_sha_get_config() 587 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in tegra_sha_cra_init() local 1091 static int tegra_hash_kac_manifest(u32 user, u32 alg, u32 keylen) in tegra_hash_kac_manifest() 1126 struct ahash_engine_alg *alg; in tegra_init_hash() local
|
| /linux/drivers/crypto/amlogic/ |
| H A D | amlogic-gxl-cipher.c | 65 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in meson_cipher_do_fallback() local 90 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in meson_cipher() local 316 struct skcipher_alg *alg = crypto_skcipher_alg(sktfm); in meson_cipher_init() local
|
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 26 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_need_fallback() local 73 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_fallback() local 313 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_run() local 437 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in rk_cipher_tfm_init() local
|
| /linux/include/crypto/ |
| H A D | algapi.h | 60 struct crypto_alg alg; member 89 struct crypto_alg *alg; member 167 #define crypto_inst_setname_1(inst, name, alg) \ argument 169 #define crypto_inst_setname_2(inst, name, driver, alg) \ argument
|
| H A D | kpp.h | 119 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg() 345 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_maxsize() local
|
| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-hash.c | 21 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit() local 51 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init() local 194 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash() local
|
| H A D | sun4i-ss-cipher.c | 38 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_opti_poll() local 154 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll_fallback() local 186 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sun4i_ss_cipher_poll() local
|
| /linux/drivers/mmc/host/ |
| H A D | cqhci-crypto.c | 16 enum cqhci_crypto_alg alg; member 62 const struct cqhci_crypto_alg_entry *alg = in cqhci_crypto_keyslot_program() local
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto.h | 41 struct skcipher_alg alg; member 49 struct aead_alg alg; member 62 struct ahash_alg alg; member 68 struct akcipher_alg alg; member 74 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in ccp_crypto_skcipher_alg() local 82 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg() local
|
| H A D | ccp-crypto-aes-cmac.c | 260 struct ccp_crypto_ahash_alg *alg = in ccp_aes_cmac_setkey() local 352 struct ahash_alg *alg; in ccp_register_aes_cmac_algs() local
|
| /linux/drivers/crypto/virtio/ |
| H A D | virtio_crypto_skcipher_algs.c | 95 virtio_crypto_alg_validate_key(int key_len, uint32_t *alg) in virtio_crypto_alg_validate_key() 111 uint32_t alg, const uint8_t *key, in virtio_crypto_alg_skcipher_init_session() 251 uint32_t alg; in virtio_crypto_alg_skcipher_init_sessions() local 284 uint32_t alg; in virtio_crypto_skcipher_setkey() local
|
| /linux/include/crypto/internal/ |
| H A D | aead.h | 25 struct aead_alg alg; member 139 static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg) in crypto_aead_alg_chunksize()
|
| /linux/crypto/ |
| H A D | algboss.c | 46 char alg[CRYPTO_MAX_ALG_NAME]; member 187 static int cryptomgr_schedule_test(struct crypto_alg *alg) in cryptomgr_schedule_test()
|
| /linux/security/ipe/ |
| H A D | digest.h | 15 const char *alg; member
|
| H A D | digest.c | 29 char *alg = NULL; in ipe_digest_parse() local
|
| /linux/tools/testing/selftests/tpm2/ |
| H A D | tpm2.py | 204 def __init__(self, alg): argument 220 def __init__(self, alg): argument 325 def get_digest_size(alg): argument 332 def get_hash_function(alg): argument
|
| /linux/net/ceph/crush/ |
| H A D | crush.c | 10 const char *crush_bucket_alg_name(int alg) in crush_bucket_alg_name()
|
| /linux/drivers/crypto/bcm/ |
| H A D | util.c | 296 char *spu_alg_name(enum spu_cipher_alg alg, enum spu_cipher_mode mode) in spu_alg_name() 359 u32 alg; in spu_debugfs_read() local
|