Lines Matching refs:EC_KEY
167 size_t (*priv2oct)(const EC_KEY *eckey, unsigned char *buf, size_t len);
168 int (*oct2priv)(EC_KEY *eckey, const unsigned char *buf, size_t len);
169 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
170 int (*keygen)(EC_KEY *eckey);
171 int (*keycheck)(const EC_KEY *eckey);
172 int (*keygenpub)(EC_KEY *eckey);
173 int (*keycopy)(EC_KEY *dst, const EC_KEY *src);
174 void (*keyfinish)(EC_KEY *eckey);
177 const EC_POINT *pub_key, const EC_KEY *ecdh);
179 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinvp,
183 EC_KEY *eckey);
185 const ECDSA_SIG *sig, EC_KEY *eckey);
624 size_t ossl_ec_key_simple_priv2oct(const EC_KEY *eckey,
626 int ossl_ec_key_simple_oct2priv(EC_KEY *eckey, const unsigned char *buf,
628 int ossl_ec_key_simple_generate_key(EC_KEY *eckey);
629 int ossl_ec_key_simple_generate_public_key(EC_KEY *eckey);
630 int ossl_ec_key_simple_check_key(const EC_KEY *eckey);
639 int (*init)(EC_KEY *key);
640 void (*finish)(EC_KEY *key);
641 int (*copy)(EC_KEY *dest, const EC_KEY *src);
642 int (*set_group)(EC_KEY *key, const EC_GROUP *grp);
643 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
644 int (*set_public)(EC_KEY *key, const EC_POINT *pub_key);
645 int (*keygen)(EC_KEY *key);
647 const EC_POINT *pub_key, const EC_KEY *ecdh);
650 const BIGNUM *r, EC_KEY *eckey);
651 int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
655 EC_KEY *eckey);
658 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey);
660 const ECDSA_SIG *sig, EC_KEY *eckey);
665 EC_KEY *ossl_ec_key_new_method_int(OSSL_LIB_CTX *libctx, const char *propq,
668 int ossl_ec_key_gen(EC_KEY *eckey);
670 const EC_POINT *pub_key, const EC_KEY *ecdh);
672 const EC_POINT *pub_key, const EC_KEY *ecdh);
679 int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
683 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
686 EC_KEY *eckey);
688 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey);
690 const ECDSA_SIG *sig, EC_KEY *eckey);
691 int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
695 EC_KEY *eckey);
697 const ECDSA_SIG *sig, EC_KEY *eckey);