Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 72) sorted by relevance

123

/crypto/
Drsa_helper.c19 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()
Dnhpoly1305.c42 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
Drsa.c25 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()
Dcrypto_null.c59 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()
Dcipher.c20 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()
Dtcrypt.h16 const char *key; member
21 const char *key; member
Ddes_generic.c19 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()
Dcast6_generic.c93 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()
Dcrc32_generic.c24 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()
Dcrc32c_generic.c45 u32 key; member
72 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
Dansi_cprng.c277 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
Dpolyval-generic.c108 void polyval_update_non4k(const u8 *key, const u8 *in, in polyval_update_non4k()
120 const u8 *key, unsigned int keylen) in polyval_setkey()
Dcamellia_generic.c537 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
Daegis.h62 const union aegis_block *key) in crypto_aegis_aesenc()
Decrdsa.c42 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()
Daead.c22 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()
Daegis128-neon.c34 const union aegis_block *key, in crypto_aegis128_init_simd()
Dshash.c23 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()
Daegis128-core.c36 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()
Dtwofish_common.c569 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/
Dasymmetric_type.c51 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
Dpublic_key.c34 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()
Dsignature.c46 struct key *key = params->key; in query_asymmetric_key() local
137 int verify_signature(const struct key *key, in verify_signature()
Drestrict.c76 struct key *key; in restrict_link_by_signature() local
124 struct key *key = NULL; in key_or_keyring_common() local
Dpkcs7_trust.c28 struct key *key; in pkcs7_validate_trust_one() local

123