| /crypto/ |
| D | rsa_helper.c | 24 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()
|
| D | rsa.c | 21 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()
|
| D | speck.c | 93 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()
|
| D | cast6_generic.c | 101 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()
|
| D | tcrypt.h | 21 const char *key; member 26 const char *key; member
|
| D | cipher.c | 23 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()
|
| D | crc32.c | 50 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()
|
| D | crc32c_generic.c | 49 u32 key; member 76 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
|
| D | crypto_null.c | 64 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()
|
| D | ansi_cprng.c | 282 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
|
| D | aead.c | 31 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()
|
| D | skcipher.c | 35 const u8 *key, unsigned int keylen) in skcipher_setkey_blkcipher() 127 const u8 *key, unsigned int keylen) in skcipher_setkey_ablkcipher()
|
| D | poly1305_generic.c | 54 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()
|
| D | camellia_generic.c | 558 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
|
| D | shash.c | 27 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()
|
| D | des_generic.c | 781 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()
|
| D | ahash.c | 190 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()
|
| D | tea.c | 51 const __le32 *key = (const __le32 *)in_key; in tea_setkey() local 124 const __le32 *key = (const __le32 *)in_key; in xtea_setkey() local
|
| D | twofish_common.c | 583 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/ |
| D | public_key.c | 52 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()
|
| D | asymmetric_type.c | 158 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()
|
| D | signature.c | 28 int verify_signature(const struct key *key, in verify_signature()
|
| D | x509_public_key.c | 82 struct key *key; in x509_request_asymmetric_key() local 255 struct key *key; in x509_validate_trust() local
|
| D | rsa.c | 90 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()
|
| D | pkcs7_trust.c | 32 struct key *key; in pkcs7_validate_trust_one() local
|