Lines Matching refs:EC_KEY

18 EC_KEY objects
30 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
31 EC_KEY *EC_KEY_new(void);
32 int EC_KEY_get_flags(const EC_KEY *key);
33 void EC_KEY_set_flags(EC_KEY *key, int flags);
34 void EC_KEY_clear_flags(EC_KEY *key, int flags);
35 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq,
37 EC_KEY *EC_KEY_new_by_curve_name(int nid);
38 void EC_KEY_free(EC_KEY *key);
39 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
40 EC_KEY *EC_KEY_dup(const EC_KEY *src);
41 int EC_KEY_up_ref(EC_KEY *key);
42 ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey);
43 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
44 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
45 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
46 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key);
47 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
48 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
49 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
50 void EC_KEY_set_conv_form(EC_KEY *eckey, point_conversion_form_t cform);
51 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
52 int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
53 int EC_KEY_generate_key(EC_KEY *key);
54 int EC_KEY_check_key(const EC_KEY *key);
55 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, BIGNUM *y);
56 const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
57 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
59 int EC_KEY_oct2key(EC_KEY *eckey, const unsigned char *buf, size_t len, BN_CTX *ctx);
60 size_t EC_KEY_key2buf(const EC_KEY *eckey, point_conversion_form_t form,
63 int EC_KEY_oct2priv(EC_KEY *eckey, const unsigned char *buf, size_t len);
64 size_t EC_KEY_priv2oct(const EC_KEY *eckey, unsigned char *buf, size_t len);
66 size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf);
67 int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
77 An EC_KEY represents a public key and, optionally, the associated private
79 A new EC_KEY with no associated curve can be constructed by calling
84 The reference count for the newly created EC_KEY is initially
86 A curve can be associated with the EC_KEY by calling
92 Alternatively a new EC_KEY can be constructed by calling
106 Calling EC_KEY_free() decrements the reference count for the EC_KEY object,
110 EC_KEY_copy() copies the contents of the EC_KEY in I<src> into I<dest>.
112 EC_KEY_dup() creates a new EC_KEY object and copies I<ec_key> into it.
114 EC_KEY_up_ref() increments the reference count associated with the EC_KEY
118 this EC_KEY object.
127 EC_KEY_check_key() performs various sanity checks on the EC_KEY object to
141 the private key component from the EC_KEY.
147 EC_KEY_set_flags() sets the flags in the I<flags> parameter on the EC_KEY
151 EC_KEY_get_flags() returns the current flags that are set for this EC_KEY.
182 an EC_KEY to it in octet format. The allocated buffer is written to I<*pbuf>
187 EC_KEY_priv2buf() converts an EC_KEY private key into an allocated buffer.
193 created EC_KEY object, or NULL on error.
195 EC_KEY_get_flags() returns the flags associated with the EC_KEY object as an
211 EC_KEY_get0_group() returns the EC_GROUP associated with the EC_KEY.
213 EC_KEY_get0_private_key() returns the private key associated with the EC_KEY.
215 EC_KEY_get_conv_form() return the point_conversion_form for the EC_KEY.