Lines Matching refs:key

112 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher);
120 void * aes_encrypt_init(const u8 *key, size_t len);
143 void * aes_decrypt_init(const u8 *key, size_t len);
182 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key,
238 const u8 *iv, const u8 *key,
299 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len);
316 struct crypto_private_key * crypto_private_key_import(const u8 *key,
351 struct crypto_public_key *key, const u8 *in, size_t inlen,
368 struct crypto_private_key *key, const u8 *in, size_t inlen,
384 int __must_check crypto_private_key_sign_pkcs1(struct crypto_private_key *key,
396 void crypto_public_key_free(struct crypto_public_key *key);
406 void crypto_private_key_free(struct crypto_private_key *key);
418 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
485 int rc4_skip(const u8 *key, size_t keylen, size_t skip,
942 int crypto_ec_get_publickey_buf(struct crypto_key *key, u8 *key_buf, int len);
949 struct crypto_ec_group *crypto_ec_get_group_from_key(struct crypto_key *key);
956 struct crypto_bignum *crypto_ec_get_private_key(struct crypto_key *key);
1029 int crypto_is_ec_key(struct crypto_key *key);
1044 int crypto_ec_write_pub_key(struct crypto_key *key, unsigned char **key_buf);
1059 void crypto_ec_free_key(struct crypto_key *key);
1066 void crypto_debug_print_ec_key(const char *title, struct crypto_key *key);
1073 struct crypto_ec_point *crypto_ec_get_public_key(struct crypto_key *key);
1127 int crypto_ec_get_priv_key_der(struct crypto_key *key, unsigned char **key_data, int *key_len);
1148 const u8 *key, size_t len);
1168 int crypto_ec_key_group(struct crypto_ec_key *key);
1174 void crypto_ec_key_deinit(struct crypto_ec_key *key);
1185 int crypto_ec_key_verify_signature(struct crypto_ec_key *key, const u8 *data,