Home
last modified time | relevance | path

Searched refs:rctx (Results 1 – 5 of 5) sorted by relevance

/external/openssl/crypto/ocsp/
Docsp_ht.c112 void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx) in OCSP_REQ_CTX_free() argument
114 if (rctx->mem) in OCSP_REQ_CTX_free()
115 BIO_free(rctx->mem); in OCSP_REQ_CTX_free()
116 if (rctx->iobuf) in OCSP_REQ_CTX_free()
117 OPENSSL_free(rctx->iobuf); in OCSP_REQ_CTX_free()
118 OPENSSL_free(rctx); in OCSP_REQ_CTX_free()
121 int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req) in OCSP_REQ_CTX_set1_req() argument
126 if (BIO_printf(rctx->mem, req_hdr, i2d_OCSP_REQUEST(req, NULL)) <= 0) in OCSP_REQ_CTX_set1_req()
128 if (i2d_OCSP_REQUEST_bio(rctx->mem, req) <= 0) in OCSP_REQ_CTX_set1_req()
130 rctx->state = OHS_ASN1_WRITE; in OCSP_REQ_CTX_set1_req()
[all …]
Docsp.h407 int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx);
408 void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx);
409 int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req);
410 int OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx,
/external/openssl/crypto/rsa/
Drsa_pmeth.c90 RSA_PKEY_CTX *rctx; in pkey_rsa_init() local
91 rctx = OPENSSL_malloc(sizeof(RSA_PKEY_CTX)); in pkey_rsa_init()
92 if (!rctx) in pkey_rsa_init()
94 rctx->nbits = 1024; in pkey_rsa_init()
95 rctx->pub_exp = NULL; in pkey_rsa_init()
96 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init()
97 rctx->md = NULL; in pkey_rsa_init()
98 rctx->tbuf = NULL; in pkey_rsa_init()
100 rctx->saltlen = -2; in pkey_rsa_init()
102 ctx->data = rctx; in pkey_rsa_init()
[all …]
/external/openssl/crypto/evp/
Dpmeth_lib.c254 EVP_PKEY_CTX *rctx; in EVP_PKEY_CTX_dup() local
265 rctx = OPENSSL_malloc(sizeof(EVP_PKEY_CTX)); in EVP_PKEY_CTX_dup()
266 if (!rctx) in EVP_PKEY_CTX_dup()
269 rctx->pmeth = pctx->pmeth; in EVP_PKEY_CTX_dup()
271 rctx->engine = pctx->engine; in EVP_PKEY_CTX_dup()
277 rctx->pkey = pctx->pkey; in EVP_PKEY_CTX_dup()
282 rctx->peerkey = pctx->peerkey; in EVP_PKEY_CTX_dup()
284 rctx->data = NULL; in EVP_PKEY_CTX_dup()
285 rctx->app_data = NULL; in EVP_PKEY_CTX_dup()
286 rctx->operation = pctx->operation; in EVP_PKEY_CTX_dup()
[all …]
/external/openssl/include/openssl/
Docsp.h407 int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx);
408 void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx);
409 int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req);
410 int OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx,