/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ecdsa_sign.c | 26 const BIGNUM *kinv, const BIGNUM *rp, in ECDSA_do_sign_ex() 30 return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey); in ECDSA_do_sign_ex() 42 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, in ECDSA_sign_ex() 46 return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey); in ECDSA_sign_ex() 25 ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey) ECDSA_do_sign_ex() argument 41 ECDSA_sign_ex(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) ECDSA_sign_ex() argument
|
H A D | ecdsa_ossl.c | 69 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) in ossl_ecdsa_sign() 73 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_sign() 210 BIGNUM *kinv = NULL, *s, *m = NULL; in ossl_ecdsa_simple_sign_sig() local 271 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) { in ossl_ecdsa_simple_sign_sig() 275 ckinv = kinv; in ossl_ecdsa_simple_sign_sig() 312 * if kinv and r have been supplied by the caller, don't in ossl_ecdsa_simple_sign_sig() 313 * generate new kinv and r values in ossl_ecdsa_simple_sign_sig() 338 BN_clear_free(kinv); in ossl_ecdsa_simple_sign_sig() 67 ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) ossl_ecdsa_sign() argument
|
H A D | ecp_s390x_nistp.c | 127 const BIGNUM *kinv, in ecdsa_s390x_nistp_sign_sig() 175 if (r == NULL || kinv == NULL) { in ecdsa_s390x_nistp_sign_sig() 193 if (ossl_ec_group_do_inverse_ord(group, k, kinv, NULL) == 0 in ecdsa_s390x_nistp_sign_sig() 303 const BIGNUM *kinv,\ 307 return ecdsa_s390x_nistp_sign_sig(dgst, dgstlen, kinv, r, eckey, \ 125 ecdsa_s390x_nistp_sign_sig(const unsigned char *dgst, int dgstlen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey, unsigned int fc, int len) ecdsa_s390x_nistp_sign_sig() argument
|
H A D | ec_kmeth.c | 237 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_set_sign() 312 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_get_sign() 233 EC_KEY_METHOD_set_sign(EC_KEY_METHOD *meth, int (*sign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey), int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp), ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)) EC_KEY_METHOD_set_sign() argument 308 EC_KEY_METHOD_get_sign(const EC_KEY_METHOD *meth, int (**psign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey), int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp), ECDSA_SIG *(**psign_sig)(const unsigned char *dgst, int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)) EC_KEY_METHOD_get_sign() argument
|
H A D | ec_local.h | 182 const BIGNUM *kinv, const BIGNUM *r, 649 *sig, unsigned int *siglen, const BIGNUM *kinv, 683 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
|
/third_party/openssl/crypto/ec/ |
H A D | ecdsa_sign.c | 26 const BIGNUM *kinv, const BIGNUM *rp, in ECDSA_do_sign_ex() 30 return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey); in ECDSA_do_sign_ex() 42 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, in ECDSA_sign_ex() 46 return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey); in ECDSA_sign_ex() 25 ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey) ECDSA_do_sign_ex() argument 41 ECDSA_sign_ex(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) ECDSA_sign_ex() argument
|
H A D | ecdsa_ossl.c | 69 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) in ossl_ecdsa_sign() 73 if (sig == NULL && (kinv == NULL || r == NULL)) { in ossl_ecdsa_sign() 78 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_sign() 215 BIGNUM *kinv = NULL, *s, *m = NULL; in ossl_ecdsa_simple_sign_sig() local 276 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) { in ossl_ecdsa_simple_sign_sig() 280 ckinv = kinv; in ossl_ecdsa_simple_sign_sig() 317 * if kinv and r have been supplied by the caller, don't in ossl_ecdsa_simple_sign_sig() 318 * generate new kinv and r values in ossl_ecdsa_simple_sign_sig() 343 BN_clear_free(kinv); in ossl_ecdsa_simple_sign_sig() 67 ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) ossl_ecdsa_sign() argument
|
H A D | ecp_s390x_nistp.c | 127 const BIGNUM *kinv, in ecdsa_s390x_nistp_sign_sig() 175 if (r == NULL || kinv == NULL) { in ecdsa_s390x_nistp_sign_sig() 193 if (ossl_ec_group_do_inverse_ord(group, k, kinv, NULL) == 0 in ecdsa_s390x_nistp_sign_sig() 303 const BIGNUM *kinv,\ 307 return ecdsa_s390x_nistp_sign_sig(dgst, dgstlen, kinv, r, eckey, \ 125 ecdsa_s390x_nistp_sign_sig(const unsigned char *dgst, int dgstlen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey, unsigned int fc, int len) ecdsa_s390x_nistp_sign_sig() argument
|
H A D | ec_kmeth.c | 237 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_set_sign() 312 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_get_sign() 233 EC_KEY_METHOD_set_sign(EC_KEY_METHOD *meth, int (*sign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey), int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp), ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)) EC_KEY_METHOD_set_sign() argument 308 EC_KEY_METHOD_get_sign(const EC_KEY_METHOD *meth, int (**psign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey), int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp), ECDSA_SIG *(**psign_sig)(const unsigned char *dgst, int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)) EC_KEY_METHOD_get_sign() argument
|
H A D | ec_local.h | 182 const BIGNUM *kinv, const BIGNUM *r, 649 *sig, unsigned int *siglen, const BIGNUM *kinv, 683 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
|
/third_party/openssl/test/ |
H A D | ecdsatest.c | 86 BIGNUM *kinv = NULL, *rp = NULL; in x9_62_tests() local 131 if (!TEST_true(ECDSA_sign_setup(key, NULL, &kinv, &rp)) in x9_62_tests() 133 kinv, rp, key)) in x9_62_tests() 155 BN_clear_free(kinv); in x9_62_tests() 358 BIGNUM *kinv = NULL, *rp = NULL; in test_ecdsa_sig_NULL() local 372 && TEST_int_eq(ECDSA_sign_setup(eckey, NULL, &kinv, &rp), 1) in test_ecdsa_sig_NULL() 374 kinv, rp, eckey), 1) in test_ecdsa_sig_NULL() 378 kinv, rp, eckey), 1) in test_ecdsa_sig_NULL() 384 BN_free(kinv); in test_ecdsa_sig_NULL()
|
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 75 BIGNUM *kinv = NULL; in ossl_dsa_do_sign_int() local 113 if (!dsa_sign_setup(dsa, ctx, &kinv, &ret->r, dgst, dlen)) in ossl_dsa_do_sign_int() 164 if (!BN_mod_mul(ret->s, ret->s, kinv, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 194 BN_clear_free(kinv); in ossl_dsa_do_sign_int() 214 BIGNUM *k, *kinv = NULL, *r = *rp; in dsa_sign_setup() local 316 if ((kinv = dsa_mod_inverse_fermat(k, dsa->params.q, ctx)) == NULL) in dsa_sign_setup() 320 *kinvp = kinv; in dsa_sign_setup() 321 kinv = NULL; in dsa_sign_setup()
|
/third_party/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 75 BIGNUM *kinv = NULL; in ossl_dsa_do_sign_int() local 113 if (!dsa_sign_setup(dsa, ctx, &kinv, &ret->r, dgst, dlen)) in ossl_dsa_do_sign_int() 164 if (!BN_mod_mul(ret->s, ret->s, kinv, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 194 BN_clear_free(kinv); in ossl_dsa_do_sign_int() 214 BIGNUM *k, *kinv = NULL, *r = *rp; in dsa_sign_setup() local 316 if ((kinv = dsa_mod_inverse_fermat(k, dsa->params.q, ctx)) == NULL) in dsa_sign_setup() 320 *kinvp = kinv; in dsa_sign_setup() 321 kinv = NULL; in dsa_sign_setup()
|
/third_party/node/deps/openssl/openssl/providers/implementations/signature/ |
H A D | ecdsa_sig.c | 93 BIGNUM *kinv; member 186 if (ctx->kattest && !ECDSA_sign_setup(ctx->ec, NULL, &ctx->kinv, &ctx->r)) in ecdsa_sign() 196 ret = ECDSA_sign_ex(0, tbs, tbslen, sig, &sltmp, ctx->kinv, ctx->r, ctx->ec); in ecdsa_sign() 385 BN_clear_free(ctx->kinv); in ecdsa_freectx() 411 if (srcctx->kinv != NULL || srcctx->r != NULL) in ecdsa_dupctx()
|
/third_party/openssl/providers/implementations/signature/ |
H A D | ecdsa_sig.c | 93 BIGNUM *kinv; member 186 if (ctx->kattest && !ECDSA_sign_setup(ctx->ec, NULL, &ctx->kinv, &ctx->r)) in ecdsa_sign() 196 ret = ECDSA_sign_ex(0, tbs, tbslen, sig, &sltmp, ctx->kinv, ctx->r, ctx->ec); in ecdsa_sign() 385 BN_clear_free(ctx->kinv); in ecdsa_freectx() 411 if (srcctx->kinv != NULL || srcctx->r != NULL) in ecdsa_dupctx()
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | ec.h | 1372 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1379 int dgstlen, const BIGNUM *kinv, 1397 * \param kinv BIGNUM pointer for the inverse of k 1402 BIGNUM **kinv, BIGNUM **rp); 1425 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1433 unsigned int *siglen, const BIGNUM *kinv, 1485 const BIGNUM *kinv, const BIGNUM *r, 1529 const BIGNUM *kinv, const BIGNUM *r,
|
/third_party/openssl/include/openssl/ |
H A D | ec.h | 1372 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1379 int dgstlen, const BIGNUM *kinv, 1397 * \param kinv BIGNUM pointer for the inverse of k 1402 BIGNUM **kinv, BIGNUM **rp); 1425 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1433 unsigned int *siglen, const BIGNUM *kinv, 1485 const BIGNUM *kinv, const BIGNUM *r, 1529 const BIGNUM *kinv, const BIGNUM *r,
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | ec.h | 1198 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1205 const BIGNUM *kinv, const BIGNUM *rp, 1223 * \param kinv BIGNUM pointer for the inverse of k 1227 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); 1249 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1257 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); 1308 const BIGNUM *kinv, const BIGNUM *r, 1352 const BIGNUM *kinv, const BIGNUM *r,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
H A D | wpa_evp_key.c | 103 unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
in ec_sign() 102 ec_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) ec_sign() argument
|
/third_party/openssl/ohos_lite/crypto/ec/ |
H A D | ec_local.h | 617 *sig, unsigned int *siglen, const BIGNUM *kinv, 648 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | types.rs | 190 pub kinv: *mut BIGNUM,
|