Searched refs:prsactx (Results 1 – 3 of 3) sorted by relevance
/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 161 #define rsa_pss_restricted(prsactx) (prsactx->min_saltlen != -1) argument 252 return prsactx; in rsa_newctx() 737 prsactx->tbuf[tbslen] = RSA_X931_hash_id(prsactx->mdnid); in rsa_sign_directly() 836 if (prsactx == NULL || prsactx->mdctx == NULL) in rsa_signverify_message_update() 1048 if (rsa_verify_recover(prsactx, prsactx->tbuf, &rslen, 0, in rsa_verify_directly() 1157 return rsa_verify_directly(prsactx, prsactx->sig, prsactx->siglen, in rsa_verify_message_final() 1205 && !rsa_setup_md(prsactx, mdname, prsactx->propq, desc)) in rsa_digest_signverify_init() 1216 if (!EVP_DigestInit_ex2(prsactx->mdctx, prsactx->md, params)) in rsa_digest_signverify_init() 1331 OPENSSL_clear_free(prsactx, sizeof(*prsactx)); in rsa_freectx() 1816 if (prsactx != NULL && !prsactx->flag_allow_md) in rsa_settable_ctx_params() [all …]
|
/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 83 PROV_RSA_CTX *prsactx; in rsa_newctx() local 88 if (prsactx == NULL) in rsa_newctx() 93 return prsactx; in rsa_newctx() 110 prsactx->rsa = vrsa; in rsa_init() 189 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_encrypt() 299 prsactx->client_version, prsactx->alt_version); in rsa_decrypt() 367 if (prsactx == NULL) in rsa_get_ctx_params() 409 EVP_MD *mgf1_md = prsactx->mgf1_md == NULL ? prsactx->oaep_md in rsa_get_ctx_params() 467 if (prsactx == NULL) in rsa_set_ctx_params() 494 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params() [all …]
|
/openssl/providers/implementations/kem/ |
H A D | rsa_kem.c | 86 PROV_RSA_CTX *prsactx; in rsakem_newctx() local 92 if (prsactx == NULL) in rsakem_newctx() 98 return prsactx; in rsakem_newctx() 105 RSA_free(prsactx->rsa); in rsakem_freectx() 106 OPENSSL_free(prsactx); in rsakem_freectx() 146 RSA_free(prsactx->rsa); in rsakem_init() 147 prsactx->rsa = vrsa; in rsakem_init() 204 if (prsactx == NULL) in rsakem_set_ctx_params() 219 prsactx->op = op; in rsakem_set_ctx_params() 406 switch (prsactx->op) { in rsakem_generate() [all …]
|
Completed in 17 milliseconds