Home
last modified time | relevance | path

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

12

/third_party/node/deps/openssl/openssl/crypto/evp/
Dm_sigver.c468 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_DigestSignFinal() argument
480 if (sigret == NULL || (ctx->flags & EVP_MD_CTX_FLAG_FINALISE) != 0) in EVP_DigestSignFinal()
482 sigret, siglen, in EVP_DigestSignFinal()
483 sigret == NULL ? 0 : *siglen); in EVP_DigestSignFinal()
489 sigret, siglen, in EVP_DigestSignFinal()
507 if (sigret == NULL) in EVP_DigestSignFinal()
508 return pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
510 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
515 r = dctx->pmeth->signctx(dctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
524 if (sigret != NULL) { in EVP_DigestSignFinal()
[all …]
Dp_sign.c17 int EVP_SignFinal_ex(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_SignFinal_ex() argument
56 if (EVP_PKEY_sign(pkctx, sigret, &sltmp, m, m_len) <= 0) in EVP_SignFinal_ex()
65 int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_SignFinal() argument
68 return EVP_SignFinal_ex(ctx, sigret, siglen, pkey, NULL, NULL); in EVP_SignFinal()
/third_party/openssl/crypto/evp/
Dm_sigver.c468 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_DigestSignFinal() argument
480 if (sigret == NULL || (ctx->flags & EVP_MD_CTX_FLAG_FINALISE) != 0) in EVP_DigestSignFinal()
482 sigret, siglen, in EVP_DigestSignFinal()
483 sigret == NULL ? 0 : *siglen); in EVP_DigestSignFinal()
489 sigret, siglen, in EVP_DigestSignFinal()
507 if (sigret == NULL) in EVP_DigestSignFinal()
508 return pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
510 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
515 r = dctx->pmeth->signctx(dctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
524 if (sigret != NULL) { in EVP_DigestSignFinal()
[all …]
Dp_sign.c17 int EVP_SignFinal_ex(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_SignFinal_ex() argument
56 if (EVP_PKEY_sign(pkctx, sigret, &sltmp, m, m_len) <= 0) in EVP_SignFinal_ex()
65 int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in EVP_SignFinal() argument
68 return EVP_SignFinal_ex(ctx, sigret, siglen, pkey, NULL, NULL); in EVP_SignFinal()
/third_party/node/deps/openssl/openssl/providers/implementations/signature/
Deddsa_sig.c149 int ed25519_digest_sign(void *vpeddsactx, unsigned char *sigret, in ed25519_digest_sign() argument
159 if (sigret == NULL) { in ed25519_digest_sign()
173 if (s390x_ed25519_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed25519_digest_sign()
181 if (ossl_ed25519_sign(sigret, tbs, tbslen, edkey->pubkey, edkey->privkey, in ed25519_digest_sign()
190 int ed448_digest_sign(void *vpeddsactx, unsigned char *sigret, in ed448_digest_sign() argument
200 if (sigret == NULL) { in ed448_digest_sign()
214 if (s390x_ed448_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed448_digest_sign()
222 if (ossl_ed448_sign(peddsactx->libctx, sigret, tbs, tbslen, edkey->pubkey, in ed448_digest_sign()
/third_party/openssl/providers/implementations/signature/
Deddsa_sig.c149 int ed25519_digest_sign(void *vpeddsactx, unsigned char *sigret, in ed25519_digest_sign() argument
159 if (sigret == NULL) { in ed25519_digest_sign()
173 if (s390x_ed25519_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed25519_digest_sign()
181 if (ossl_ed25519_sign(sigret, tbs, tbslen, edkey->pubkey, edkey->privkey, in ed25519_digest_sign()
190 int ed448_digest_sign(void *vpeddsactx, unsigned char *sigret, in ed448_digest_sign() argument
200 if (sigret == NULL) { in ed448_digest_sign()
214 if (s390x_ed448_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed448_digest_sign()
222 if (ossl_ed448_sign(peddsactx->libctx, sigret, tbs, tbslen, edkey->pubkey, in ed448_digest_sign()
/third_party/node/deps/openssl/openssl/crypto/pem/
Dpem_sign.c28 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in PEM_SignFinal() argument
44 i = EVP_EncodeBlock(sigret, m, m_len); in PEM_SignFinal()
/third_party/openssl/crypto/pem/
Dpem_sign.c28 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, in PEM_SignFinal() argument
44 i = EVP_EncodeBlock(sigret, m, m_len); in PEM_SignFinal()
/third_party/openssl/doc/man3/
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
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.
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.
/third_party/openssl/crypto/rsa/
Drsa_saos.c25 unsigned char *sigret, unsigned int *siglen, in RSA_sign_ASN1_OCTET_STRING() argument
49 i = RSA_private_encrypt(i, s, sigret, rsa, RSA_PKCS1_PADDING); in RSA_sign_ASN1_OCTET_STRING()
Drsa_sign.c274 unsigned char *sigret, unsigned int *siglen, RSA *rsa) in RSA_sign() argument
283 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa) > 0; in RSA_sign()
309 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, in RSA_sign()
Drsa_meth.c232 unsigned char *sigret, unsigned int *siglen, in RSA_meth_get_sign()
241 unsigned char *sigret, unsigned int *siglen, in RSA_meth_set_sign() argument
/third_party/node/deps/openssl/openssl/crypto/rsa/
Drsa_saos.c25 unsigned char *sigret, unsigned int *siglen, in RSA_sign_ASN1_OCTET_STRING() argument
49 i = RSA_private_encrypt(i, s, sigret, rsa, RSA_PKCS1_PADDING); in RSA_sign_ASN1_OCTET_STRING()
Drsa_sign.c274 unsigned char *sigret, unsigned int *siglen, RSA *rsa) in RSA_sign() argument
283 return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa) > 0; in RSA_sign()
309 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, in RSA_sign()
Drsa_meth.c232 unsigned char *sigret, unsigned int *siglen, in RSA_meth_get_sign()
241 unsigned char *sigret, unsigned int *siglen, in RSA_meth_set_sign() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Dwpa_evp_key.c62 unsigned char *sigret, unsigned int *siglen, const RSA *rsa) in rsa_sign() argument
74 os_memcpy(sigret, signature.data, signature.size); in rsa_sign()
/third_party/openssl/ohos_lite/include/openssl/
Drsa.h315 unsigned char *sigret, unsigned int *siglen, RSA *rsa);
325 unsigned char *sigret, unsigned int *siglen,
481 unsigned char *sigret, unsigned int *siglen,
486 unsigned char *sigret, unsigned int *siglen,
/third_party/openssl/include/openssl/
Drsa.h349 unsigned int m_length, unsigned char *sigret,
363 unsigned char *sigret, unsigned int *siglen,
559 unsigned char *sigret,
566 unsigned char *sigret, unsigned int *siglen,
/third_party/node/deps/openssl/openssl/include/openssl/
Drsa.h349 unsigned int m_length, unsigned char *sigret,
363 unsigned char *sigret, unsigned int *siglen,
559 unsigned char *sigret,
566 unsigned char *sigret, unsigned int *siglen,
/third_party/openssl/engines/
De_capi.c129 unsigned int m_len, unsigned char *sigret,
832 unsigned char *sigret, unsigned int *siglen, const RSA *rsa) in capi_rsa_sign() argument
902 if (!CryptSignHash(hash, capi_key->keyspec, NULL, 0, sigret, &slen)) { in capi_rsa_sign()
911 c = sigret[i]; in capi_rsa_sign()
912 sigret[i] = sigret[slen - i - 1]; in capi_rsa_sign()
913 sigret[slen - i - 1] = c; in capi_rsa_sign()
/third_party/node/deps/openssl/openssl/engines/
De_capi.c129 unsigned int m_len, unsigned char *sigret,
832 unsigned char *sigret, unsigned int *siglen, const RSA *rsa) in capi_rsa_sign() argument
902 if (!CryptSignHash(hash, capi_key->keyspec, NULL, 0, sigret, &slen)) { in capi_rsa_sign()
911 c = sigret[i]; in capi_rsa_sign()
912 sigret[i] = sigret[slen - i - 1]; in capi_rsa_sign()
913 sigret[slen - i - 1] = c; in capi_rsa_sign()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Ddsa.rs26 sigret: *mut c_uchar, in DSA_sign()
Devp.rs245 sigret: *mut c_uchar,
253 sigret: *const c_uchar,
265 sigret: #[const_ptr_if(any(ossl102, libressl280))] c_uchar,

12