/openssl/crypto/evp/ |
H A D | m_sigver.c | 466 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 D | p_sign.c | 17 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 D | eddsa_sig.c | 393 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 D | pem_sign.c | 28 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 D | rsa_saos.c | 25 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 D | rsa_sign.c | 288 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 D | rsa_meth.c | 228 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 D | rsa_local.h | 134 unsigned char *sigret, unsigned int *siglen,
|
/openssl/doc/man3/ |
H A D | RSA_sign_ASN1_OCTET_STRING.pod | 16 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 D | RSA_sign.pod | 16 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 D | DSA_sign.pod | 16 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 D | RSA_meth_new.pod | 96 unsigned char *sigret, 100 unsigned int m_length, unsigned char *sigret,
|
H A D | RSA_set_method.pod | 134 unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
|
/openssl/include/openssl/ |
H A D | rsa.h | 360 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 D | evp.h | 840 __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 D | pem.h | 431 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
|
H A D | core_dispatch.h | 820 (void *ctx, unsigned char *sigret, size_t *siglen,
|
/openssl/engines/ |
H A D | e_capi.c | 129 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()
|