Home
last modified time | relevance | path

Searched refs:sigret (Results 1 – 18 of 18) sorted by relevance

/openssl/crypto/evp/
H A Dm_sigver.c466 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_DigestSignFinal() argument
491 sigret, siglen, in EVP_DigestSignFinal()
493 if (dctx == NULL && sigret != NULL) in EVP_DigestSignFinal()
512 if (sigret == NULL) in EVP_DigestSignFinal()
515 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
521 r = dctx->pmeth->signctx(dctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
530 if (sigret != NULL) { in EVP_DigestSignFinal()
557 if (EVP_PKEY_sign(pctx, sigret, siglen, md, mdlen) <= 0) in EVP_DigestSignFinal()
588 if (sigret != NULL) in EVP_DigestSign()
603 return EVP_DigestSignFinal(ctx, sigret, siglen); in EVP_DigestSign()
[all …]
H A Dp_sign.c17 int EVP_SignFinal_ex(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_SignFinal_ex() argument
58 if (EVP_PKEY_sign(pkctx, sigret, &sltmp, m, m_len) <= 0) in EVP_SignFinal_ex()
67 int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_SignFinal() argument
70 return EVP_SignFinal_ex(ctx, sigret, siglen, pkey, NULL, NULL); in EVP_SignFinal()
/openssl/providers/implementations/signature/
H A Deddsa_sig.c393 if (sigret == NULL) { in ed25519_sign()
417 if (s390x_ed25519_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed25519_sign()
490 unsigned char *sigret, size_t *siglen, size_t sigsize, in ed448_sign() argument
501 if (sigret == NULL) { in ed448_sign()
523 if (s390x_ed448_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed448_sign()
549 if (ossl_ed448_sign(peddsactx->libctx, sigret, tbs, tbslen, in ed448_sign()
695 return ed25519_sign(vpeddsactx, sigret, siglen, sigsize, tbs, tbslen); in ed25519_digest_sign()
702 return ed25519_verify(vpeddsactx, sigret, siglen, tbs, tbslen); in ed25519_digest_verify()
729 return ed448_sign(vpeddsactx, sigret, siglen, sigsize, tbs, tbslen); in ed448_digest_sign()
733 const unsigned char *sigret, size_t siglen, in ed448_digest_verify() argument
[all …]
/openssl/crypto/pem/
H A Dpem_sign.c28 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in PEM_SignFinal() argument
42 i = EVP_EncodeBlock(sigret, m, m_len); in PEM_SignFinal()
/openssl/crypto/rsa/
H A Drsa_saos.c25 unsigned char *sigret, unsigned int *siglen, in RSA_sign_ASN1_OCTET_STRING() argument
47 i = RSA_private_encrypt(i, s, sigret, rsa, RSA_PKCS1_PADDING); in RSA_sign_ASN1_OCTET_STRING()
H A Drsa_sign.c288 unsigned char *sigret, unsigned int *siglen, RSA *rsa) in RSA_sign() argument
297 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa) > 0; in RSA_sign()
323 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, in RSA_sign()
H A Drsa_meth.c228 unsigned char *sigret, unsigned int *siglen, in RSA_meth_get_sign()
237 unsigned char *sigret, unsigned int *siglen, in RSA_meth_set_sign() argument
H A Drsa_local.h134 unsigned char *sigret, unsigned int *siglen,
/openssl/doc/man3/
H A DRSA_sign_ASN1_OCTET_STRING.pod16 unsigned int m_len, unsigned char *sigret,
30 padding. It stores the signature in B<sigret> and the signature size
31 in B<siglen>. B<sigret> must point to B<RSA_size(rsa)> bytes of
H A DRSA_sign.pod16 unsigned char *sigret, unsigned int *siglen, RSA *rsa);
29 stores the signature in B<sigret> and the signature size in B<siglen>.
30 B<sigret> must point to RSA_size(B<rsa>) bytes of memory.
H A DDSA_sign.pod16 unsigned char *sigret, unsigned int *siglen, DSA *dsa);
31 encoding at B<sigret>. The length of the signature is places in
32 *B<siglen>. B<sigret> must point to DSA_size(B<dsa>) bytes of memory.
H A DRSA_meth_new.pod96 unsigned char *sigret,
100 unsigned int m_length, unsigned char *sigret,
H A DRSA_set_method.pod134 unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
/openssl/include/openssl/
H A Drsa.h360 unsigned int m_length, unsigned char *sigret,
374 unsigned char *sigret, unsigned int *siglen,
570 unsigned char *sigret,
577 unsigned char *sigret, unsigned int *siglen,
H A Devp.h840 __owur int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret,
850 __owur int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret,
862 __owur int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
H A Dpem.h431 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
H A Dcore_dispatch.h820 (void *ctx, unsigned char *sigret, size_t *siglen,
/openssl/engines/
H A De_capi.c129 unsigned int m_len, unsigned char *sigret,
850 unsigned char *sigret, unsigned int *siglen, const RSA *rsa) in capi_rsa_sign() argument
920 if (!CryptSignHash(hash, capi_key->keyspec, NULL, 0, sigret, &slen)) { in capi_rsa_sign()
929 c = sigret[i]; in capi_rsa_sign()
930 sigret[i] = sigret[slen - i - 1]; in capi_rsa_sign()
931 sigret[slen - i - 1] = c; in capi_rsa_sign()

Completed in 57 milliseconds