/crypto/ |
D | rsa_helper.c | 19 struct rsa_key *key = context; in rsa_get_n() local 49 struct rsa_key *key = context; in rsa_get_e() local 64 struct rsa_key *key = context; in rsa_get_d() local 79 struct rsa_key *key = context; in rsa_get_p() local 94 struct rsa_key *key = context; in rsa_get_q() local 109 struct rsa_key *key = context; in rsa_get_dp() local 124 struct rsa_key *key = context; in rsa_get_dq() local 139 struct rsa_key *key = context; in rsa_get_qinv() local 162 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_pub_key() 181 int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_priv_key()
|
D | nhpoly1305.c | 42 static void nh_generic(const u32 *key, const u8 *message, size_t message_len, in nh_generic() 77 const struct nhpoly1305_key *key) in process_nh_hash_value() 93 const struct nhpoly1305_key *key, in nhpoly1305_units() 126 const u8 *key, unsigned int keylen) in crypto_nhpoly1305_setkey() 160 const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm); in crypto_nhpoly1305_update_helper() local 201 const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm); in crypto_nhpoly1305_final_helper() local
|
D | rsa.c | 25 static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m) in _rsa_enc() 39 static int _rsa_dec(const struct rsa_mpi_key *key, MPI m, MPI c) in _rsa_dec() 131 static void rsa_free_mpi_key(struct rsa_mpi_key *key) in rsa_free_mpi_key() 156 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_pub_key() 190 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_priv_key()
|
D | crypto_null.c | 59 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, in null_hash_setkey() 63 static int null_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in null_skcipher_setkey() 67 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey()
|
D | cipher.c | 20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() 44 const u8 *key, unsigned int keylen) in crypto_cipher_setkey()
|
D | tcrypt.h | 16 const char *key; member 21 const char *key; member
|
D | des_generic.c | 19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 51 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey()
|
D | cast6_generic.c | 93 static inline void W(u32 *key, unsigned int i) in W() 109 u32 key[8]; in __cast6_setkey() local 146 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in cast6_setkey()
|
D | crc32_generic.c | 24 u32 *key = crypto_tfm_ctx(tfm); in crc32_cra_init() local 36 static int crc32_setkey(struct crypto_shash *hash, const u8 *key, in crc32_setkey()
|
D | crc32c_generic.c | 45 u32 key; member 72 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
|
D | ansi_cprng.c | 277 const unsigned char *key, size_t klen, in reset_prng_context() 368 const u8 *key = seed + DEFAULT_BLK_SZ; in cprng_reset() local 398 const u8 *key = seed + DEFAULT_BLK_SZ; in fips_cprng_reset() local
|
D | polyval-generic.c | 108 void polyval_update_non4k(const u8 *key, const u8 *in, in polyval_update_non4k() 120 const u8 *key, unsigned int keylen) in polyval_setkey()
|
D | camellia_generic.c | 537 static void camellia_setup128(const unsigned char *key, u32 *subkey) in camellia_setup128() 643 static void camellia_setup256(const unsigned char *key, u32 *subkey) in camellia_setup256() 792 static void camellia_setup192(const unsigned char *key, u32 *subkey) in camellia_setup192() 964 const unsigned char *key = (const unsigned char *)in_key; in camellia_set_key() local
|
D | aegis.h | 62 const union aegis_block *key) in crypto_aegis_aesenc()
|
D | ecrdsa.c | 42 const char *key; /* raw public key */ member 191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in ecrdsa_set_pub_key()
|
D | aead.c | 22 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned() 44 const u8 *key, unsigned int keylen) in crypto_aead_setkey()
|
D | aegis128-neon.c | 34 const union aegis_block *key, in crypto_aegis128_init_simd()
|
D | shash.c | 23 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() 42 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned() 69 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() 249 static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in shash_async_setkey()
|
D | aegis128-core.c | 36 union aegis_block key; member 99 const union aegis_block *key, in crypto_aegis128_init() 366 static int crypto_aegis128_setkey(struct crypto_aead *aead, const u8 *key, in crypto_aegis128_setkey()
|
D | twofish_common.c | 569 int __twofish_setkey(struct twofish_ctx *ctx, const u8 *key, in __twofish_setkey() 686 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) in twofish_setkey()
|
/crypto/asymmetric_keys/ |
D | asymmetric_type.c | 51 struct key *key; in find_asymmetric_key() local 249 static bool asymmetric_key_cmp(const struct key *key, in asymmetric_key_cmp() 262 static bool asymmetric_key_cmp_partial(const struct key *key, in asymmetric_key_cmp_partial() 332 static void asymmetric_key_describe(const struct key *key, struct seq_file *m) in asymmetric_key_describe() 436 static void asymmetric_key_destroy(struct key *key) in asymmetric_key_destroy() 458 struct key *key) in asymmetric_restriction_alloc() 502 struct key *key; in asymmetric_lookup_restriction() local 544 struct key *key = params->key; in asymmetric_key_eds_op() local
|
D | public_key.c | 34 struct public_key *key = asymmetric_key->payload.data[asym_crypto]; in public_key_describe() local 43 void public_key_free(struct public_key *key) in public_key_free() 157 u8 *key, *ptr; in software_key_query() local 240 char *key, *ptr; in software_key_eds_op() local 475 static int public_key_verify_signature_2(const struct key *key, in public_key_verify_signature_2()
|
D | signature.c | 46 struct key *key = params->key; in query_asymmetric_key() local 137 int verify_signature(const struct key *key, in verify_signature()
|
D | restrict.c | 76 struct key *key; in restrict_link_by_signature() local 124 struct key *key = NULL; in key_or_keyring_common() local
|
D | pkcs7_trust.c | 28 struct key *key; in pkcs7_validate_trust_one() local
|