Home
last modified time | relevance | path

Searched refs:EVP_DigestSignFinal (Results 1 - 25 of 30) sorted by relevance

12

/third_party/openssl/demos/signature/
H A Drsa_pss_hash.c80 if (EVP_DigestSignFinal(mctx, NULL, sig_len) == 0) { in sign()
93 if (EVP_DigestSignFinal(mctx, *sig, sig_len) == 0) { in sign()
H A DEVP_Signature_demo.c116 /* Call EVP_DigestSignFinal to get signature length sig_len */ in demo_sign()
117 if (!EVP_DigestSignFinal(sign_context, NULL, &sig_len)) { in demo_sign()
118 fprintf(stderr, "EVP_DigestSignFinal failed.\n"); in demo_sign()
122 fprintf(stderr, "EVP_DigestSignFinal returned invalid signature length.\n"); in demo_sign()
130 if (!EVP_DigestSignFinal(sign_context, sig_value, &sig_len)) { in demo_sign()
131 fprintf(stderr, "EVP_DigestSignFinal failed.\n"); in demo_sign()
/third_party/libwebsockets/lib/tls/openssl/
H A Dlws-genhash.c162 n = EVP_DigestSignFinal(ctx->ctx, result, &size); in lws_genhmac_destroy()
H A Dlws-genrsa.c382 if (EVP_DigestSignFinal(mdctx, sig, &sig_len)) {
383 lwsl_err("%s: EVP_DigestSignFinal failed\n", __func__);
H A Dlws-genec.c502 if (EVP_DigestSignFinal(mdctx, sig, &sig_len)) {
503 lwsl_err("%s: EVP_DigestSignFinal failed\n", __func__);
/third_party/node/deps/openssl/openssl/apps/
H A Ddgst.c585 if (!EVP_DigestSignFinal(ctx, NULL, &tmplen)) { in do_fp()
594 if (!EVP_DigestSignFinal(ctx, buf, &len)) { in do_fp()
H A Dpkeyutl.c790 rv = EVP_DigestSignFinal(mctx, NULL, poutlen); in do_raw_keyop()
793 rv = EVP_DigestSignFinal(mctx, *out, poutlen); in do_raw_keyop()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dm_sigver.c468 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_DigestSignFinal() function
589 return EVP_DigestSignFinal(ctx, sigret, siglen); in EVP_DigestSign()
/third_party/openssl/apps/
H A Dpkeyutl.c790 rv = EVP_DigestSignFinal(mctx, NULL, poutlen); in do_raw_keyop()
793 rv = EVP_DigestSignFinal(mctx, *out, poutlen); in do_raw_keyop()
H A Ddgst.c585 if (!EVP_DigestSignFinal(ctx, NULL, &tmplen)) { in do_fp()
594 if (!EVP_DigestSignFinal(ctx, buf, &len)) { in do_fp()
/third_party/openssl/crypto/evp/
H A Dm_sigver.c468 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_DigestSignFinal() function
589 return EVP_DigestSignFinal(ctx, sigret, siglen); in EVP_DigestSign()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dsign.rs286 /// OpenSSL documentation at [`EVP_DigestSignFinal`].
288 /// [`EVP_DigestSignFinal`]: https://www.openssl.org/docs/manmaster/crypto/EVP_DigestSignFinal.html
297 cvt(ffi::EVP_DigestSignFinal( in len_intern()
326 /// OpenSSL documentation at [`EVP_DigestSignFinal`].
328 /// [`EVP_DigestSignFinal`]: https://www.openssl.org/docs/manmaster/crypto/EVP_DigestSignFinal.html
332 cvt(ffi::EVP_DigestSignFinal( in sign()
/third_party/node/src/crypto/
H A Dcrypto_sig.cc776 !EVP_DigestSignFinal(context.get(), nullptr, &len)) { in DeriveBits()
781 if (!EVP_DigestSignFinal( in DeriveBits()
/third_party/openssl/test/
H A Devp_extra_test.c1352 if (!TEST_true(EVP_DigestSignFinal(md_ctx, NULL, &sig_len)) in test_EVP_DigestSignInit()
1358 || !TEST_false(EVP_DigestSignFinal(md_ctx, sig, &shortsig_len)) in test_EVP_DigestSignInit()
1359 || !TEST_true(EVP_DigestSignFinal(md_ctx, sig, &sig_len))) in test_EVP_DigestSignInit()
1397 if (!TEST_true(EVP_DigestSignFinal(md_ctx, NULL, &sig2_len)) in test_EVP_DigestSignInit()
1399 || !TEST_true(EVP_DigestSignFinal(md_ctx, sig2, &sig2_len))) in test_EVP_DigestSignInit()
1492 if (!TEST_true(EVP_DigestSignFinal(mdctx, digest, &len))) in test_siphash_digestsign()
1988 if (!TEST_true(EVP_DigestSignFinal(md_ctx, NULL, &sig_len))) in test_EVP_SM2()
1994 if (!TEST_true(EVP_DigestSignFinal(md_ctx, sig, &sig_len))) in test_EVP_SM2()
2333 || !TEST_true(EVP_DigestSignFinal(mdctx, mac, &maclen)) in get_cmac_val()
4290 || !TEST_true(EVP_DigestSignFinal(ct in test_custom_pmeth()
[all...]
H A Devp_test.c1380 if (!EVP_DigestSignFinal(mctx, NULL, &got_len)) { in mac_test_run_pkey()
1388 if (!EVP_DigestSignFinal(mctx, got, &got_len) in mac_test_run_pkey()
3300 if (!EVP_DigestSignFinal(expected->ctx, NULL, &got_len)) { in digestsign_test_run()
3309 if (!EVP_DigestSignFinal(expected->ctx, got, &got_len)) { in digestsign_test_run()
/third_party/node/deps/openssl/openssl/crypto/pkcs7/
H A Dpk7_doit.c940 if (EVP_DigestSignFinal(mctx, NULL, &siglen) <= 0) in PKCS7_SIGNER_INFO_sign()
945 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) in PKCS7_SIGNER_INFO_sign()
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_sd.c825 if (EVP_DigestSignFinal(mctx, NULL, &siglen) <= 0) in CMS_SignerInfo_sign()
831 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) in CMS_SignerInfo_sign()
/third_party/openssl/crypto/cms/
H A Dcms_sd.c823 if (EVP_DigestSignFinal(mctx, NULL, &siglen) <= 0) in CMS_SignerInfo_sign()
829 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) in CMS_SignerInfo_sign()
/third_party/openssl/crypto/pkcs7/
H A Dpk7_doit.c940 if (EVP_DigestSignFinal(mctx, NULL, &siglen) <= 0) in PKCS7_SIGNER_INFO_sign()
945 if (EVP_DigestSignFinal(mctx, abuf, &siglen) <= 0) in PKCS7_SIGNER_INFO_sign()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Devp.rs151 pub fn EVP_DigestSignFinal( in EVP_DigestSignFinal() functions
/third_party/node/deps/openssl/openssl/ssl/statem/
H A Dstatem_lib.c352 * Here we use EVP_DigestSignUpdate followed by EVP_DigestSignFinal in tls_construct_cert_verify()
359 || EVP_DigestSignFinal(mctx, NULL, &siglen) <= 0) { in tls_construct_cert_verify()
366 || EVP_DigestSignFinal(mctx, sig, &siglen) <= 0) { in tls_construct_cert_verify()
373 * support streaming via EVP_DigestSignUpdate/EVP_DigestSignFinal in tls_construct_cert_verify()
H A Dextensions.c1646 || EVP_DigestSignFinal(mctx, binderout, &bindersize) <= 0 in tls_psk_do_binder()
/third_party/openssl/ssl/statem/
H A Dstatem_lib.c331 * Here we use EVP_DigestSignUpdate followed by EVP_DigestSignFinal in tls_construct_cert_verify()
338 || EVP_DigestSignFinal(mctx, NULL, &siglen) <= 0) { in tls_construct_cert_verify()
345 || EVP_DigestSignFinal(mctx, sig, &siglen) <= 0) { in tls_construct_cert_verify()
352 * support streaming via EVP_DigestSignUpdate/EVP_DigestSignFinal in tls_construct_cert_verify()
H A Dextensions.c1614 || EVP_DigestSignFinal(mctx, binderout, &bindersize) <= 0 in tls_psk_do_binder()
/third_party/node/deps/openssl/openssl/ssl/record/
H A Dssl3_record.c1484 || EVP_DigestSignFinal(mac_ctx, md, &md_size) <= 0) { in tls1_mac()

Completed in 40 milliseconds

12