Lines Matching refs:crypto_ec_key

2077 struct crypto_ec_key {  struct
2153 struct crypto_ecdh * crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2()
2295 static struct crypto_ec_key * crypto_ec_key_init(void) in crypto_ec_key_init()
2297 struct crypto_ec_key *key; in crypto_ec_key_init()
2299 key = os_zalloc(sizeof(struct crypto_ec_key)); in crypto_ec_key_init()
2315 void crypto_ec_key_deinit(struct crypto_ec_key *key) in crypto_ec_key_deinit()
2325 static WC_RNG * crypto_ec_key_init_rng(struct crypto_ec_key *key) in crypto_ec_key_init_rng()
2337 struct crypto_ec_key * crypto_ec_key_parse_priv(const u8 *der, size_t der_len) in crypto_ec_key_parse_priv()
2339 struct crypto_ec_key *ret; in crypto_ec_key_parse_priv()
2363 int crypto_ec_key_group(struct crypto_ec_key *key) in crypto_ec_key_group()
2400 static int crypto_ec_key_gen_public_key(struct crypto_ec_key *key) in crypto_ec_key_gen_public_key()
2426 struct wpabuf * crypto_ec_key_get_subject_public_key(struct crypto_ec_key *key) in crypto_ec_key_get_subject_public_key()
2490 struct crypto_ec_key * crypto_ec_key_parse_pub(const u8 *der, size_t der_len) in crypto_ec_key_parse_pub()
2493 struct crypto_ec_key *ret = NULL; in crypto_ec_key_parse_pub()
2515 struct wpabuf * crypto_ec_key_sign(struct crypto_ec_key *key, const u8 *data, in crypto_ec_key_sign()
2561 int crypto_ec_key_verify_signature(struct crypto_ec_key *key, const u8 *data, in crypto_ec_key_verify_signature()
2587 struct wpabuf * crypto_ec_key_get_ecprivate_key(struct crypto_ec_key *key, in crypto_ec_key_get_ecprivate_key()
2649 struct wpabuf * crypto_ec_key_get_pubkey_point(struct crypto_ec_key *key, in crypto_ec_key_get_pubkey_point()
2699 struct crypto_ec_key * crypto_ec_key_set_pub(int group, const u8 *x, in crypto_ec_key_set_pub()
2702 struct crypto_ec_key *ret = NULL; in crypto_ec_key_set_pub()
2731 int crypto_ec_key_cmp(struct crypto_ec_key *key1, struct crypto_ec_key *key2) in crypto_ec_key_cmp()
2754 void crypto_ec_key_debug_print(const struct crypto_ec_key *key, in crypto_ec_key_debug_print()
2769 (struct crypto_ec_key *) key); in crypto_ec_key_debug_print()
2772 (struct crypto_ec_key *) key, 1); in crypto_ec_key_debug_print()
2847 struct crypto_ec_key * crypto_ec_key_gen(int group) in crypto_ec_key_gen()
2851 struct crypto_ec_key * ret = NULL; in crypto_ec_key_gen()
2882 int crypto_ec_key_verify_signature_r_s(struct crypto_ec_key *key, in crypto_ec_key_verify_signature_r_s()
2907 struct crypto_ec_point * crypto_ec_key_get_public_key(struct crypto_ec_key *key) in crypto_ec_key_get_public_key()
2967 struct crypto_bignum * crypto_ec_key_get_private_key(struct crypto_ec_key *key) in crypto_ec_key_get_private_key()
3004 struct wpabuf * crypto_ec_key_sign_r_s(struct crypto_ec_key *key, in crypto_ec_key_sign_r_s()
3076 struct crypto_ec_key *
3080 struct crypto_ec_key *ret = NULL; in crypto_ec_key_set_pub_point()
3228 struct crypto_ec_key *pubkey;
3299 struct crypto_ec_key *key) in crypto_csr_set_ec_public_key()
3439 struct crypto_ec_key *key, in crypto_csr_sign()