Home
last modified time | relevance | path

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

/openssl/doc/man3/
H A DEVP_DigestSignInit.pod6 EVP_DigestSignFinal, EVP_DigestSign - EVP signing functions
21 int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sig,
131 EVP_DigestSign() is similar to a single call to EVP_DigestSignUpdate() and
133 Unless I<sig> is NULL, EVP_DigestSign() signs the data I<tbs> of length I<tbslen>
141 EVP_DigestSign() return 1 for success and 0 for failure.
151 EVP_DigestSign() is a one shot operation which signs a single block of data
181 EVP_DigestSign() can not be called again, once a signature is generated (by
187 EVP_DigestSignUpdate(), EVP_DigestSignFinal(), or EVP_DigestSign().
H A DEVP_SignInit.pod94 The previous two bugs are fixed in the newer EVP_DigestSign*() functions.
H A DEVP_PKEY_meth_new.pod323 a B<EVP_MD_CTX> object. They are called by the EVP_DigestSign functions. See
368 a signature in a one-shot mode. They could be called by L<EVP_DigestSign(3)>
H A DEVP_DigestInit.pod608 Some functions such as EVP_DigestSign only finalise copies of internal
/openssl/demos/signature/
H A DEVP_ED_Signature_demo.c60 if (!EVP_DigestSign(sign_context, NULL, &sig_len, tbs, tbs_len)) { in demo_sign()
70 if (!EVP_DigestSign(sign_context, sig_value, &sig_len, tbs, tbs_len)) { in demo_sign()
/openssl/crypto/asn1/
H A Da_sign.c263 if (!EVP_DigestSign(ctx, NULL, &outll, buf_in, inl)) { in ASN1_item_sign_ctx()
275 if (!EVP_DigestSign(ctx, buf_out, &outl, buf_in, inl)) { in ASN1_item_sign_ctx()
/openssl/doc/man7/
H A DEVP_SIGNATURE-ED25519.pod110 EVP_DigestSign() and EVP_DigestVerify() functions.
157 EVP_DigestSign(md_ctx, NULL, &sig_len, msg, msg_len);
160 EVP_DigestSign(md_ctx, sig, &sig_len, msg, msg_len);
H A Devp.pod19 The L<B<EVP_DigestSign>I<XXX>|EVP_DigestSignInit(3)> and
H A Dossl-guide-migration.pod215 L<EVP_DigestSign(3)> and L<EVP_DigestVerify(3)>.
1117 L<EVP_DigestSign(3)> and L<EVP_DigestVerify(3)>.
/openssl/test/recipes/30-test_evp_data/
H A Devppkey_rsa_sigalg.txt132 # That command uses the EVP_DigestSign API.
/openssl/apps/
H A Dpkeyutl.c801 rv = EVP_DigestSign(mctx, NULL, poutlen, mbuf, buf_len); in do_raw_keyop()
804 rv = EVP_DigestSign(mctx, *out, poutlen, mbuf, buf_len); in do_raw_keyop()
H A Dspeed.c1217 ret = EVP_DigestSign(edctx[testnum], eddsasig, eddsasigsize, buf, 20); in EdDSA_sign_loop()
1279 ret = EVP_DigestSign(sm2ctx[testnum], sm2sig, &sm2sigsize, in SM2_sign_loop()
3434 st = EVP_DigestSign(loopargs[i].eddsa_ctx[testnum], in speed_main()
3565 st = EVP_DigestSign(loopargs[i].sm2_ctx[testnum], in speed_main()
/openssl/test/
H A Drsa_test.c502 && TEST_true(EVP_DigestSign(ctx, sigbuf, &buflen, msgbuf, msglen))); in test_EVP_rsa_legacy_key()
H A Decdsatest.c251 || !TEST_true(EVP_DigestSign(mctx, sig, &sig_len, tbs, sizeof(tbs))) in test_builtin()
H A Devp_extra_test.c1790 if (!TEST_true(EVP_DigestSign(md_ctx, NULL, &sig_len, kMsg, in test_EVP_DigestSignInit()
1796 if (!TEST_false(EVP_DigestSign(md_ctx, sig, &shortsig_len, kMsg, in test_EVP_DigestSignInit()
1806 if (!TEST_true(EVP_DigestSign(md_ctx, sig, &sig_len, kMsg, in test_EVP_DigestSignInit()
5109 if (!TEST_true(EVP_DigestSign(ctx, res, &reslen, msg, sizeof(msg)))) in test_custom_pmeth()
5560 if (EVP_DigestSign(ctx, NULL, &maclen, msg, sizeof(msg)) != 1) in test_ecx_not_private_key()
5566 if (!TEST_int_eq(EVP_DigestSign(ctx, mac, &maclen, msg, sizeof(msg)), 0)) in test_ecx_not_private_key()
H A Dacvp_test.c108 || !TEST_int_gt(EVP_DigestSign(md_ctx, sig, &sig_len, msg, msg_len), 0)) in sig_gen()
H A Devp_test.c4486 if (!EVP_DigestSign(expected->ctx, NULL, &got_len, in oneshot_digestsign_test_run()
4496 if (!EVP_DigestSign(expected->ctx, got, &got_len, in oneshot_digestsign_test_run()
/openssl/crypto/evp/
H A Dm_sigver.c612 int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen, in EVP_DigestSign() function
/openssl/ssl/statem/
H A Dextensions_srvr.c776 || EVP_DigestSign(hctx, hmac, &hmaclen, data, in tls_parse_ctos_cookie()
1871 || EVP_DigestSign(hctx, hmac, &hmaclen, cookie, in tls_construct_stoc_cookie()
H A Dstatem_lib.c391 if (EVP_DigestSign(mctx, NULL, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify()
397 || EVP_DigestSign(mctx, sig, &siglen, hdata, hdatalen) <= 0) { in tls_construct_cert_verify()
H A Dstatem_srvr.c2798 if (EVP_DigestSign(md_ctx, NULL, &siglen, tbs, tbslen) <=0 in tls_construct_server_key_exchange()
2800 || EVP_DigestSign(md_ctx, sigbytes1, &siglen, tbs, tbslen) <= 0 in tls_construct_server_key_exchange()
/openssl/providers/fips/
H A Dself_test_kats.c515 if (EVP_DigestSign(mctx, sig, &siglen, t->msg, t->msg_len) <= 0) in self_test_digest_sign()
/openssl/include/openssl/
H A Devp.h819 __owur int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret,
/openssl/util/
H A Dlibcrypto.num4144 EVP_DigestSign 4236 3_0_0 EXIST::FUNCTION:
/openssl/
H A DCHANGES.md2691 * Corrected the documentation of the return values from the `EVP_DigestSign*`
3278 functionality such as `EVP_DigestSign*` and `EVP_DigestVerify*`.
10544 allows HMAC to be handled via the `EVP_DigestSign*()` interface. The

Completed in 199 milliseconds