Lines Matching refs:crypto_ec_key
1797 …bedtls_keypair_gen(group, &pk) == 0 ? crypto_ecdh_init2(group, (struct crypto_ec_key *)&pk) : NULL; in crypto_ecdh_init()
1802 struct crypto_ecdh *crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2()
2377 struct crypto_ec_key *crypto_ec_key_parse_priv(const u8 *der, size_t der_len) in crypto_ec_key_parse_priv()
2388 return (struct crypto_ec_key *)ctx; in crypto_ec_key_parse_priv()
2505 struct crypto_ec_key *crypto_ec_key_parse_pub(const u8 *der, size_t der_len) in crypto_ec_key_parse_pub()
2514 return (struct crypto_ec_key *)ctx; in crypto_ec_key_parse_pub()
2521 return (struct crypto_ec_key *)ctx; in crypto_ec_key_parse_pub()
2530 static struct crypto_ec_key *crypto_ec_key_set_pub_point_for_group(mbedtls_ecp_group_id grp_id, in crypto_ec_key_set_pub_point_for_group()
2557 return (struct crypto_ec_key *)ctx; in crypto_ec_key_set_pub_point_for_group()
2566 struct crypto_ec_key *crypto_ec_key_set_pub(int group, const u8 *x, const u8 *y, size_t len) in crypto_ec_key_set_pub()
2581 struct crypto_ec_key *crypto_ec_key_set_pub_point(struct crypto_ec *e, const struct crypto_ec_point… in crypto_ec_key_set_pub_point()
2588 struct crypto_ec_key *crypto_ec_key_gen(int group) in crypto_ec_key_gen()
2595 return (struct crypto_ec_key *)ctx; in crypto_ec_key_gen()
2603 void crypto_ec_key_deinit(struct crypto_ec_key *key) in crypto_ec_key_deinit()
2609 struct wpabuf *crypto_ec_key_get_subject_public_key(struct crypto_ec_key *key) in crypto_ec_key_get_subject_public_key()
2663 struct wpabuf *crypto_ec_key_get_ecprivate_key(struct crypto_ec_key *key, bool include_pub) in crypto_ec_key_get_ecprivate_key()
2712 struct wpabuf *crypto_ec_key_get_pubkey_point(struct crypto_ec_key *key, int prefix) in crypto_ec_key_get_pubkey_point()
2744 struct crypto_ec_point *crypto_ec_key_get_public_key(struct crypto_ec_key *key) in crypto_ec_key_get_public_key()
2765 struct crypto_bignum *crypto_ec_key_get_private_key(struct crypto_ec_key *key) in crypto_ec_key_get_private_key()
2808 struct wpabuf *crypto_ec_key_sign(struct crypto_ec_key *key, const u8 *data, size_t len) in crypto_ec_key_sign()
2836 struct wpabuf *crypto_ec_key_sign_r_s(struct crypto_ec_key *key, const u8 *data, size_t len) in crypto_ec_key_sign_r_s()
2893 int crypto_ec_key_verify_signature(struct crypto_ec_key *key, const u8 *data, size_t len, const u8 … in crypto_ec_key_verify_signature()
2909 …struct crypto_ec_key *key, const u8 *data, size_t len, const u8 *r, size_t r_len, const u8 *s, siz… in crypto_ec_key_verify_signature_r_s()
2935 int crypto_ec_key_group(struct crypto_ec_key *key) in crypto_ec_key_group()
2946 int crypto_ec_key_cmp(struct crypto_ec_key *key1, struct crypto_ec_key *key2) in crypto_ec_key_cmp()
2959 void crypto_ec_key_debug_print(const struct crypto_ec_key *key, const char *title) in crypto_ec_key_debug_print()
3031 int crypto_csr_set_ec_public_key(struct crypto_csr *csr, struct crypto_ec_key *key) in crypto_csr_set_ec_public_key()
3194 struct wpabuf *crypto_csr_sign(struct crypto_csr *csr, struct crypto_ec_key *key, enum crypto_hash_… in crypto_csr_sign()