Home
last modified time | relevance | path

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

123

/crypto/
Drsa_helper.c24 struct rsa_key *key = context; in rsa_get_n() local
45 struct rsa_key *key = context; in rsa_get_e() local
58 struct rsa_key *key = context; in rsa_get_d() local
76 static void free_mpis(struct rsa_key *key) in free_mpis()
91 void rsa_free_key(struct rsa_key *key) in rsa_free_key()
107 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_pub_key()
134 int rsa_parse_priv_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_priv_key()
Drsa.c21 static int _rsa_enc(const struct rsa_key *key, MPI c, MPI m) in _rsa_enc()
35 static int _rsa_dec(const struct rsa_key *key, MPI m, MPI c) in _rsa_dec()
49 static int _rsa_sign(const struct rsa_key *key, MPI s, MPI m) in _rsa_sign()
63 static int _rsa_verify(const struct rsa_key *key, MPI m, MPI s) in _rsa_verify()
274 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_pub_key()
291 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_priv_key()
Dspeck.c93 int crypto_speck128_setkey(struct speck128_tfm_ctx *ctx, const u8 *key, in crypto_speck128_setkey()
139 static int speck128_setkey(struct crypto_tfm *tfm, const u8 *key, in speck128_setkey()
205 int crypto_speck64_setkey(struct speck64_tfm_ctx *ctx, const u8 *key, in crypto_speck64_setkey()
242 static int speck64_setkey(struct crypto_tfm *tfm, const u8 *key, in speck64_setkey()
Dcast6_generic.c101 static inline void W(u32 *key, unsigned int i) in W()
118 u32 key[8]; in __cast6_setkey() local
157 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in cast6_setkey()
Dtcrypt.h21 const char *key; member
26 const char *key; member
Dcipher.c23 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned()
46 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey()
Dcrc32.c50 u32 *key = crypto_tfm_ctx(tfm); in crc32_cra_init() local
63 static int crc32_setkey(struct crypto_shash *hash, const u8 *key, in crc32_setkey()
Dcrc32c_generic.c49 u32 key; member
76 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
Dcrypto_null.c64 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, in null_hash_setkey()
68 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey()
Dansi_cprng.c282 const unsigned char *key, size_t klen, in reset_prng_context()
373 const u8 *key = seed + DEFAULT_BLK_SZ; in cprng_reset() local
403 const u8 *key = seed + DEFAULT_BLK_SZ; in fips_cprng_reset() local
Daead.c31 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned()
53 const u8 *key, unsigned int keylen) in crypto_aead_setkey()
176 const u8 *key, unsigned int keylen) in aead_geniv_setkey()
Dskcipher.c35 const u8 *key, unsigned int keylen) in skcipher_setkey_blkcipher()
127 const u8 *key, unsigned int keylen) in skcipher_setkey_ablkcipher()
Dpoly1305_generic.c54 static void poly1305_setrkey(struct poly1305_desc_ctx *dctx, const u8 *key) in poly1305_setrkey()
64 static void poly1305_setskey(struct poly1305_desc_ctx *dctx, const u8 *key) in poly1305_setskey()
Dcamellia_generic.c558 static void camellia_setup128(const unsigned char *key, u32 *subkey) in camellia_setup128()
664 static void camellia_setup256(const unsigned char *key, u32 *subkey) in camellia_setup256()
813 static void camellia_setup192(const unsigned char *key, u32 *subkey) in camellia_setup192()
985 const unsigned char *key = (const unsigned char *)in_key; in camellia_set_key() local
Dshash.c27 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey()
46 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned()
67 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey()
214 static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in shash_async_setkey()
386 static int shash_compat_setkey(struct crypto_hash *tfm, const u8 *key, in shash_compat_setkey()
Ddes_generic.c781 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey()
862 int __des3_ede_setkey(u32 *expkey, u32 *flags, const u8 *key, in __des3_ede_setkey()
882 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey()
Dahash.c190 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned()
210 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey()
222 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey()
Dtea.c51 const __le32 *key = (const __le32 *)in_key; in tea_setkey() local
124 const __le32 *key = (const __le32 *)in_key; in xtea_setkey() local
Dtwofish_common.c583 int __twofish_setkey(struct twofish_ctx *ctx, const u8 *key, in __twofish_setkey()
703 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) in twofish_setkey()
/crypto/asymmetric_keys/
Dpublic_key.c52 struct public_key *key = asymmetric_key->payload.data[asym_crypto]; in public_key_describe() local
64 struct public_key *key = payload; in public_key_destroy() local
112 static int public_key_verify_signature_2(const struct key *key, in public_key_verify_signature_2()
Dasymmetric_type.c158 static bool asymmetric_key_cmp(const struct key *key, in asymmetric_key_cmp()
171 static bool asymmetric_key_cmp_partial(const struct key *key, in asymmetric_key_cmp_partial()
241 static void asymmetric_key_describe(const struct key *key, struct seq_file *m) in asymmetric_key_describe()
344 static void asymmetric_key_destroy(struct key *key) in asymmetric_key_destroy()
Dsignature.c28 int verify_signature(const struct key *key, in verify_signature()
Dx509_public_key.c82 struct key *key; in x509_request_asymmetric_key() local
255 struct key *key; in x509_validate_trust() local
Drsa.c90 static int RSAVP1(const struct public_key *key, MPI s, MPI *_m) in RSAVP1()
210 static int RSA_verify_signature(const struct public_key *key, in RSA_verify_signature()
Dpkcs7_trust.c32 struct key *key; in pkcs7_validate_trust_one() local

123