Home
last modified time | relevance | path

Searched refs:prsactx (Results 1 – 3 of 3) sorted by relevance

/openssl-master/providers/implementations/signature/
A Drsa_sig.c114 #define rsa_pss_restricted(prsactx) (prsactx->min_saltlen != -1) argument
193 return prsactx; in rsa_newctx()
466 && rsa_setup_md(prsactx, mdname, prsactx->propq) in rsa_signverify_init()
572 prsactx->tbuf[tbslen] = RSA_X931_hash_id(prsactx->mdnid); in rsa_sign()
609 && prsactx->saltlen < prsactx->min_saltlen) { in rsa_sign()
778 if (rsa_verify_recover(prsactx, prsactx->tbuf, &rslen, 0, in rsa_verify()
854 && !rsa_setup_md(prsactx, mdname, prsactx->propq)) in rsa_digest_signverify_init()
865 if (!EVP_DigestInit_ex2(prsactx->mdctx, prsactx->md, params)) in rsa_digest_signverify_init()
882 if (prsactx == NULL || prsactx->mdctx == NULL) in rsa_digest_signverify_update()
974 OPENSSL_clear_free(prsactx, sizeof(*prsactx)); in rsa_freectx()
[all …]
/openssl-master/providers/implementations/asymciphers/
A Drsa_enc.c82 PROV_RSA_CTX *prsactx; in rsa_newctx() local
87 if (prsactx == NULL) in rsa_newctx()
91 return prsactx; in rsa_newctx()
108 prsactx->rsa = vrsa; in rsa_init()
165 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_encrypt()
273 prsactx->client_version, prsactx->alt_version); in rsa_decrypt()
337 if (prsactx == NULL) in rsa_get_ctx_params()
379 EVP_MD *mgf1_md = prsactx->mgf1_md == NULL ? prsactx->oaep_md in rsa_get_ctx_params()
430 if (prsactx == NULL) in rsa_set_ctx_params()
449 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params()
[all …]
/openssl-master/providers/implementations/kem/
A Drsa_kem.c87 if (prsactx == NULL) in rsakem_newctx()
90 prsactx->op = KEM_OP_UNDEFINED; in rsakem_newctx()
92 return prsactx; in rsakem_newctx()
99 RSA_free(prsactx->rsa); in rsakem_freectx()
100 OPENSSL_free(prsactx); in rsakem_freectx()
133 RSA_free(prsactx->rsa); in rsakem_init()
134 prsactx->rsa = vrsa; in rsakem_init()
174 if (prsactx == NULL) in rsakem_set_ctx_params()
187 prsactx->op = op; in rsakem_set_ctx_params()
324 switch (prsactx->op) { in rsakem_generate()
[all …]

Completed in 11 milliseconds