Home
last modified time | relevance | path

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

1234

/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.c31 static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m) in _rsa_enc()
48 static int _rsa_dec_crt(const struct rsa_mpi_key *key, MPI m_or_m1_or_h, MPI c) in _rsa_dec_crt()
170 static void rsa_free_mpi_key(struct rsa_mpi_key *key) in rsa_free_mpi_key()
236 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_pub_key()
275 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()
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()
Dcipher.c20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned()
43 const u8 *key, unsigned int keylen) in crypto_cipher_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()
Dsig.c134 const void *key, unsigned int keylen) in crypto_sig_set_pubkey()
143 const void *key, unsigned int keylen) in crypto_sig_set_privkey()
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
Daf_alg.c212 u8 *key; in alg_setkey() local
233 static const u8 *key_data_ptr_user(const struct key *key, in key_data_ptr_user()
247 static const u8 *key_data_ptr_encrypted(const struct key *key, in key_data_ptr_encrypted()
261 static const u8 *key_data_ptr_trusted(const struct key *key, in key_data_ptr_trusted()
293 struct key *key; in alg_setkey_by_key_serial() local
Daegis.h62 const union aegis_block *key) in crypto_aegis_aesenc()
Dsm2.c269 const void *key, unsigned int keylen, void *dgst) in sm2_compute_z_digest()
421 const void *key, unsigned int keylen) in sm2_set_pub_key()
430 const void *key, unsigned int keylen) in __sm2_set_pub_key()
Dkdf_sp800108.c78 const u8 *key, size_t keylen, in crypto_kdf108_setkey()
Daegis128-neon.c24 const union aegis_block *key, in crypto_aegis128_init_simd()
/crypto/asymmetric_keys/
Dpublic_key.c33 struct public_key *key = asymmetric_key->payload.data[asym_crypto]; in public_key_describe() local
42 void public_key_free(struct public_key *key) in public_key_free()
164 u8 *key, *ptr; in software_key_query() local
280 char *key, *ptr; in software_key_eds_op() local
384 char *key, *ptr; in public_key_verify_signature() local
453 static int public_key_verify_signature_2(const struct key *key, in public_key_verify_signature_2()
Dasymmetric_type.c57 struct key *key; in find_asymmetric_key() local
261 static bool asymmetric_key_cmp(const struct key *key, in asymmetric_key_cmp()
274 static bool asymmetric_key_cmp_partial(const struct key *key, in asymmetric_key_cmp_partial()
287 static bool asymmetric_key_cmp_name(const struct key *key, in asymmetric_key_cmp_name()
362 static void asymmetric_key_describe(const struct key *key, struct seq_file *m) in asymmetric_key_describe()
466 static void asymmetric_key_destroy(struct key *key) in asymmetric_key_destroy()
488 struct key *key) in asymmetric_restriction_alloc()
532 struct key *key; in asymmetric_lookup_restriction() local
574 struct key *key = params->key; in asymmetric_key_eds_op() local
Dsignature.c46 struct key *key = params->key; in query_asymmetric_key() local
137 int verify_signature(const struct key *key, in verify_signature()
Dx509_loader.c11 key_ref_t key; in x509_load_certificate_list() local
Drestrict.c76 struct key *key; in restrict_link_by_signature() local
208 struct key *key = NULL; in key_or_keyring_common() local
Dpkcs7_trust.c28 struct key *key; in pkcs7_validate_trust_one() local

1234