Home
last modified time | relevance | path

Searched refs:ECDSA_SIG (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/crypto/openssl/doc/man3/
H A DECDSA_SIG_new.pod7 - Functions for creating, destroying and manipulating ECDSA_SIG objects
13 ECDSA_SIG *ECDSA_SIG_new(void);
14 void ECDSA_SIG_free(ECDSA_SIG *sig);
16 const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
17 const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
18 int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
30 ECDSA_SIG_new() allocates an empty B<ECDSA_SIG> structure.
33 ECDSA_SIG_free() frees the B<ECDSA_SIG> structure I<sig>.
65 ECDSA_SIG *obj;
68 /* Load a signature into the ECDSA_SIG object */
[all …]
H A DECDSA_sign.pod22 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dgst_len,
28 const ECDSA_SIG *sig, EC_KEY* eckey);
30 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen,
40 See L<ECDSA_SIG_new(3)> for a description of the B<ECDSA_SIG> object.
61 as a newly allocated B<ECDSA_SIG> structure (or NULL on error). ECDSA_do_sign()
70 presented in the form of a pointer to an B<ECDSA_SIG> structure.
89 returned as a newly allocated B<ECDSA_SIG> structure (or NULL on error).
99 B<ECDSA_SIG> structure or NULL on error.
115 ECDSA_SIG *sig;
H A Dd2i_X509.pod467 =item B<ECDSA_SIG>
/freebsd/crypto/openssl/include/openssl/
H A Dec.h1304 typedef struct ECDSA_SIG_st ECDSA_SIG; typedef
1309 ECDSA_SIG *ECDSA_SIG_new(void);
1314 void ECDSA_SIG_free(ECDSA_SIG *sig);
1323 DECLARE_ASN1_ENCODE_FUNCTIONS_only(ECDSA_SIG, ECDSA_SIG)
1343 const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
1348 const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
1355 int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
1365 OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,
1489 ECDSA_SIG *(*sign_sig)(const unsigned char *dgst,
1533 ECDSA_SIG *(**psign_sig)(const unsigned char *dgst,
[all …]
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_sign.c197 static ECDSA_SIG *sm2_sig_gen(const EC_KEY *key, const BIGNUM *e) in sm2_sig_gen()
202 ECDSA_SIG *sig = NULL; in sm2_sig_gen()
312 static int sm2_sig_verify(const EC_KEY *key, const ECDSA_SIG *sig, in sm2_sig_verify()
391 ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key, in ossl_sm2_do_sign()
398 ECDSA_SIG *sig = NULL; in ossl_sm2_do_sign()
415 const ECDSA_SIG *sig, in ossl_sm2_do_verify()
441 ECDSA_SIG *s = NULL; in ossl_sm2_internal_sign()
476 ECDSA_SIG *s = NULL; in ossl_sm2_internal_verify()
/freebsd/crypto/openssl/crypto/ec/
H A Decdsa_ossl.c43 ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_sign_sig()
57 const ECDSA_SIG *sig, EC_KEY *eckey) in ossl_ecdsa_verify_sig()
71 ECDSA_SIG *s; in ossl_ecdsa_sign()
204 ECDSA_SIG *ossl_ecdsa_simple_sign_sig(const unsigned char *dgst, int dgst_len, in ossl_ecdsa_simple_sign_sig()
214 ECDSA_SIG *ret; in ossl_ecdsa_simple_sign_sig()
351 ECDSA_SIG *s; in ossl_ecdsa_verify()
374 const ECDSA_SIG *sig, EC_KEY *eckey) in ossl_ecdsa_simple_verify_sig()
H A Dec_asn1.c1197 DECLARE_ASN1_FUNCTIONS(ECDSA_SIG)
1198 DECLARE_ASN1_ENCODE_FUNCTIONS_name(ECDSA_SIG, ECDSA_SIG) in DECLARE_ASN1_ENCODE_FUNCTIONS_name() argument
1202 ECDSA_SIG *ECDSA_SIG_new(void) in DECLARE_ASN1_ENCODE_FUNCTIONS_name()
1204 ECDSA_SIG *sig = OPENSSL_zalloc(sizeof(*sig)); in DECLARE_ASN1_ENCODE_FUNCTIONS_name()
1210 void ECDSA_SIG_free(ECDSA_SIG *sig) in ECDSA_SIG_free()
1219 ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **psig, const unsigned char **ppin, long len) in d2i_ECDSA_SIG()
1221 ECDSA_SIG *sig; in d2i_ECDSA_SIG()
1296 const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig) in ECDSA_SIG_get0_r()
1301 const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig) in ECDSA_SIG_get0_s()
1306 int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) in ECDSA_SIG_set0()
[all …]
H A Decdsa_sign.c20 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) in ECDSA_do_sign()
25 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, in ECDSA_do_sign_ex()
H A Decp_s390x_nistp.c125 static ECDSA_SIG *ecdsa_s390x_nistp_sign_sig(const unsigned char *dgst, in ecdsa_s390x_nistp_sign_sig()
135 ECDSA_SIG *sig; in ecdsa_s390x_nistp_sign_sig()
225 const ECDSA_SIG *sig, EC_KEY *eckey, in ecdsa_s390x_nistp_verify_sig()
300 static ECDSA_SIG *ecdsa_s390x_nistp##bits##_sign_sig(const unsigned \
315 const ECDSA_SIG *sig, \
H A Dec_kmeth.c241 ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, in EC_KEY_METHOD_set_sign()
259 const ECDSA_SIG *sig, in EC_KEY_METHOD_set_verify()
316 ECDSA_SIG *(**psign_sig)(const unsigned char *dgst, in EC_KEY_METHOD_get_sign()
337 const ECDSA_SIG *sig, in EC_KEY_METHOD_get_verify()
H A Dec_local.h181 ECDSA_SIG *(*ecdsa_sign_sig)(const unsigned char *dgst, int dgstlen,
185 const ECDSA_SIG *sig, EC_KEY *eckey);
653 ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, int dgst_len,
660 const ECDSA_SIG *sig, EC_KEY *eckey);
684 ECDSA_SIG *ossl_ecdsa_sign_sig(const unsigned char *dgst, int dgst_len,
690 const ECDSA_SIG *sig, EC_KEY *eckey);
693 ECDSA_SIG *ossl_ecdsa_simple_sign_sig(const unsigned char *dgst, int dgst_len,
697 const ECDSA_SIG *sig, EC_KEY *eckey);
H A Decdsa_vrf.c27 const ECDSA_SIG *sig, EC_KEY *eckey) in ECDSA_do_verify()
H A Dec_key.c1012 ECDSA_SIG *sig = NULL; in ecdsa_keygen_pairwise_test()
/freebsd/crypto/openssl/include/crypto/
H A Dsm2.h37 ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key,
45 const ECDSA_SIG *signature,
/freebsd/crypto/openssh/
H A Dssh-ecdsa.c231 ECDSA_SIG *esig = NULL; in ssh_ecdsa_sign()
296 ECDSA_SIG *esig = NULL; in ssh_ecdsa_verify()
H A Dssh-pkcs11-client.c326 static ECDSA_SIG *
332 ECDSA_SIG *ret = NULL; in ecdsa_do_sign()
H A Dssh-ecdsa-sk.c239 ECDSA_SIG *esig = NULL; in ssh_ecdsa_sk_verify()
H A Dssh-pkcs11.c512 static ECDSA_SIG *
521 ECDSA_SIG *ret = NULL; in ecdsa_do_sign()
/freebsd/crypto/openssl/test/
H A Dsm2_internal_test.c315 ECDSA_SIG *sig = NULL; in test_sm2_sign()
H A Decdsatest.c84 ECDSA_SIG *signature = NULL; in x9_62_tests()
H A Dacvp_test.c214 ECDSA_SIG *sign = d2i_ECDSA_SIG(NULL, &sig, sig_len); in get_ecdsa_sig_rs_bytes()
279 ECDSA_SIG *sign = NULL; in ecdsa_sigver_test()
/freebsd/crypto/openssl/fuzz/
H A Dasn1.c360 DO_TEST_NO_PRINT(ECDSA_SIG, d2i_ECDSA_SIG, i2d_ECDSA_SIG); in FuzzerTestOneInput()
/freebsd/crypto/openssh/regress/misc/sk-dummy/
H A Dsk-dummy.c314 ECDSA_SIG *sig = NULL; in sig_ecdsa()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c98 static int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) in ECDSA_SIG_set0()
106 static void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, in ECDSA_SIG_get0()
2786 ECDSA_SIG *sig = NULL; in crypto_ec_key_sign_r_s()
2862 ECDSA_SIG *sig; in crypto_ec_key_verify_signature_r_s()
/freebsd/crypto/openssl/util/
H A Dindent.pro197 -T ECDSA_SIG

12