Home
last modified time | relevance | path

Searched refs:rr (Results 1 – 25 of 36) sorted by relevance

12

/openssl/crypto/cms/
H A Dcms_ess.c29 CMS_ReceiptRequest *rr; in IMPLEMENT_ASN1_FUNCTIONS() local
39 if (rr == NULL) in IMPLEMENT_ASN1_FUNCTIONS()
42 *prr = rr; in IMPLEMENT_ASN1_FUNCTIONS()
44 CMS_ReceiptRequest_free(rr); in IMPLEMENT_ASN1_FUNCTIONS()
121 CMS_ReceiptRequest *rr; in CMS_ReceiptRequest_create0_ex() local
123 rr = CMS_ReceiptRequest_new(); in CMS_ReceiptRequest_create0_ex()
124 if (rr == NULL) { in CMS_ReceiptRequest_create0_ex()
141 rr->receiptsTo = receiptsTo; in CMS_ReceiptRequest_create0_ex()
151 return rr; in CMS_ReceiptRequest_create0_ex()
154 CMS_ReceiptRequest_free(rr); in CMS_ReceiptRequest_create0_ex()
[all …]
/openssl/ssl/record/methods/
H A Ddtls_meth.c112 TLS_RL_RECORD *rr; in dtls_process_record() local
119 rr = &rl->rrec[0]; in dtls_process_record()
146 rr->data = rr->input; in dtls_process_record()
147 rr->orig_len = rr->length; in dtls_process_record()
170 mac = rr->data + rr->length; in dtls_process_record()
205 rr->length = 0; in dtls_process_record()
212 BIO_dump_indent(trc_out, rr->data, rr->length, 4); in dtls_process_record()
231 rr->length = 0; in dtls_process_record()
258 rr->off = 0; in dtls_process_record()
382 TLS_RL_RECORD *rr; in dtls_get_more_records() local
[all …]
H A Dtls_common.c548 TLS_RL_RECORD *rr, *thisrr; in tls_get_more_records() local
560 rr = rl->rrec; in tls_get_more_records()
575 thisrr = &rr[num_recs]; in tls_get_more_records()
792 thisrr = &rr[j]; in tls_get_more_records()
823 enc_err = rl->funcs->cipher(rl, rr, num_recs, 0, macbufs, mac_size); in tls_get_more_records()
851 thisrr = &rr[0]; in tls_get_more_records()
876 BIO_printf(trc_out, "dec %lu\n", (unsigned long)rr[0].length); in tls_get_more_records()
877 BIO_dump_indent(trc_out, rr[0].data, rr[0].length, 4); in tls_get_more_records()
887 thisrr = &rr[j]; in tls_get_more_records()
922 thisrr = &rr[j]; in tls_get_more_records()
[all …]
/openssl/ssl/record/
H A Drec_layer_d1.c204 TLS_RECORD *rr; in dtls1_read_bytes() local
255 &rr->version, &rr->type, in dtls1_read_bytes()
256 &rr->data, &rr->length, in dtls1_read_bytes()
269 rr->off = 0; in dtls1_read_bytes()
280 if (rr->type != SSL3_RT_ALERT && rr->length != 0) in dtls1_read_bytes()
313 if (type == rr->type in dtls1_read_bytes()
341 if (rr->length == 0 && !ssl_release_record(sc, rr, 0)) in dtls1_read_bytes()
351 memcpy(buf, &(rr->data[rr->off]), n); in dtls1_read_bytes()
353 if (rr->length == 0 && !ssl_release_record(sc, rr, 0)) in dtls1_read_bytes()
383 const unsigned char *alert_bytes = rr->data + rr->off; in dtls1_read_bytes()
[all …]
H A Drec_layer_s3.c576 if (rr->length > 0) in ssl_release_record()
579 rr->off = 0; in ssl_release_record()
620 TLS_RECORD *rr; in ssl3_read_bytes() local
719 if (rr->type != SSL3_RT_ALERT && rr->length != 0) in ssl3_read_bytes()
777 if (rr->length == 0 && !ssl_release_record(s, rr, 0)) in ssl3_read_bytes()
791 memcpy(buf, &(rr->data[rr->off]), n); in ssl3_read_bytes()
795 if (rr->length == 0 && !ssl_release_record(s, rr, 0)) in ssl3_read_bytes()
803 rr++; in ssl3_read_bytes()
858 const unsigned char *alert_bytes = rr->data + rr->off; in ssl3_read_bytes()
995 memcpy(dest + *dest_len, rr->data + rr->off, n); in ssl3_read_bytes()
[all …]
H A Drecord.h163 int ssl_release_record(SSL_CONNECTION *s, TLS_RECORD *rr, size_t length);
/openssl/crypto/bn/
H A Dbn_sqr.c31 BIGNUM *tmp, *rr; in bn_sqr_fixed_top() local
43 rr = (a != r) ? r : BN_CTX_get(ctx); in bn_sqr_fixed_top()
45 if (rr == NULL || tmp == NULL) in bn_sqr_fixed_top()
49 if (bn_wexpand(rr, max) == NULL) in bn_sqr_fixed_top()
57 bn_sqr_comba4(rr->d, a->d); in bn_sqr_fixed_top()
64 bn_sqr_comba8(rr->d, a->d); in bn_sqr_fixed_top()
94 rr->neg = 0; in bn_sqr_fixed_top()
95 rr->top = max; in bn_sqr_fixed_top()
96 rr->flags |= BN_FLG_FIXED_TOP; in bn_sqr_fixed_top()
97 if (r != rr && BN_copy(r, rr) == NULL) in bn_sqr_fixed_top()
[all …]
H A Dbn_mul.c511 BIGNUM *rr; in bn_mul_fixed_top() local
538 rr = r; in bn_mul_fixed_top()
549 rr->top = 8; in bn_mul_fixed_top()
557 rr->top = 16; in bn_mul_fixed_top()
597 rr->top = top; in bn_mul_fixed_top()
604 rr->top = top; in bn_mul_fixed_top()
610 rr->neg = a->neg ^ b->neg; in bn_mul_fixed_top()
612 if (r != rr && BN_copy(r, rr) == NULL) in bn_mul_fixed_top()
624 BN_ULONG *rr; in bn_mul_normal() local
638 rr = &(r[na]); in bn_mul_normal()
[all …]
H A Dbn_exp.c52 BIGNUM *v, *rr; in BN_exp() local
75 if (!BN_one(rr)) in BN_exp()
83 if (!BN_mul(rr, rr, v, ctx)) in BN_exp()
87 if (r != rr && BN_copy(r, rr) == NULL) in BN_exp()
485 bn_check_top(rr); in BN_mod_exp_mont()
694 rr->top = 16; in BN_mod_exp_mont_consttime()
695 rr->neg = 0; in BN_mod_exp_mont_consttime()
703 rr->top = 8; in BN_mod_exp_mont_consttime()
704 rr->neg = 0; in BN_mod_exp_mont_consttime()
1218 BN_zero(rr); in BN_mod_exp_mont_word()
[all …]
H A Dbn_exp2.c16 int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1, in BN_mod_exp2_mont() argument
42 ret = BN_one(rr); in BN_mod_exp2_mont()
78 BN_zero(rr); in BN_mod_exp2_mont()
107 BN_zero(rr); in BN_mod_exp2_mont()
192 if (!BN_from_montgomery(rr, r, mont, ctx)) in BN_mod_exp2_mont()
199 bn_check_top(rr); in BN_mod_exp2_mont()
H A Drsaz_exp_x2.c99 const BN_ULONG *rr, const BN_ULONG k0[2],
292 const BN_ULONG *rr,
387 damm(&red_table[0 * 2 * red_digits], (const BN_ULONG*)red_X, rr, m, k0);
388 damm(&red_table[1 * 2 * red_digits], base, rr, m, k0);
H A Dbn_mont.c469 int ossl_bn_mont_ctx_set(BN_MONT_CTX *ctx, const BIGNUM *modulus, int ri, const unsigned char *rr, in ossl_bn_mont_ctx_set() argument
474 if (BN_bin2bn(rr, rrlen, &ctx->RR) == NULL) in ossl_bn_mont_ctx_set()
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_commands.csv17 1,revreason unspecified, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,_RESULT_DIR/test.cert.pem, -…
25 1,revreason superseded, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,_RESULT_DIR/test.cert.pem, -r…
39 0,without oldcert, -section,, -cmd,rr,,BLANK,,,BLANK,,,BLANK,,BLANK,
40 0,oldcert file nonexistent, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,idontexist,BLANK,
41 0,empty oldcert file, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,empty.txt,BLANK,
42 0,oldcert and key do not match, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,trusted.crt, -revreas…
46 1,use csr for revocation, -section,, -cmd,rr,,BLANK,,,BLANK,,,BLANK,, -revreason,0, -csr,csr.pem
56 0,rr without oldcert/csr/issuer/serial, -section,, -cmd,rr,,BLANK,,,BLANK,,,BLANK,,BLANK,
57 0,rr with oldcert file nonexistent, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,idontexist,BLANK,
58 0,rr with empty oldcert file, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,empty.txt,BLANK,
[all …]
/openssl/doc/man3/
H A DBN_mod_exp_mont.pod12 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
15 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
28 BN_mod_exp_mont() computes I<a> to the I<p>-th power modulo I<m> (C<rr=a^p % m>)
34 (C<rr=a^p % m>) using Montgomery multiplication. It is a variant of
H A DCMS_get1_ReceiptRequest.pod20 int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);
22 void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid,
42 The CMS_add1_ReceiptRequest() function adds a signed receipt request B<rr>
H A DDSA_meth_new.pod53 int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
57 int DSA_meth_set_mod_exp(DSA_METHOD *dsam, int (*mod_exp)(DSA *dsa, BIGNUM *rr,
147 rr = a1^p1 * a2^p2 mod m
150 of a DSA signature. The result is stored in the B<rr> parameter. This function
/openssl/apps/
H A Dcms.c285 CMS_ReceiptRequest *rr = NULL; in cms_main() local
1122 if (rr != NULL && !CMS_add1_ReceiptRequest(si, rr)) in cms_main()
1279 CMS_ReceiptRequest_free(rr); in cms_main()
1367 CMS_ReceiptRequest *rr; in receipt_request_print() local
1375 rv = CMS_get1_ReceiptRequest(si, &rr); in receipt_request_print()
1385 CMS_ReceiptRequest_get0_values(rr, &scid, &allorfirst, in receipt_request_print()
1405 CMS_ReceiptRequest_free(rr); in receipt_request_print()
1448 CMS_ReceiptRequest *rr; in make_receipt_request() local
1460 rr = CMS_ReceiptRequest_create0_ex(NULL, -1, rr_allorfirst, rct_from, in make_receipt_request()
1462 if (rr == NULL) in make_receipt_request()
[all …]
/openssl/crypto/cmp/
H A Dcmp_client.c896 OSSL_CMP_MSG *rr = NULL; in OSSL_CMP_exec_RR_ses() local
917 if ((rr = ossl_cmp_rr_new(ctx)) == NULL) in OSSL_CMP_exec_RR_ses()
921 if (!send_receive_also_delayed(ctx, rr, &rp, OSSL_CMP_PKIBODY_RP)) in OSSL_CMP_exec_RR_ses()
976 sk_OSSL_CMP_REVDETAILS_value(rr->body->value.rr, rsid)->certDetails; in OSSL_CMP_exec_RR_ses()
1021 OSSL_CMP_MSG_free(rr); in OSSL_CMP_exec_RR_ses()
H A Dcmp_server.c321 if (sk_OSSL_CMP_REVDETAILS_num(req->body->value.rr) != 1) { in process_rr()
325 details = sk_OSSL_CMP_REVDETAILS_value(req->body->value.rr, 0); in process_rr()
/openssl/crypto/dsa/
H A Ddsa_local.h53 int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, const BIGNUM *a1,
/openssl/apps/lib/
H A Dcmp_mock_srv.c383 const OSSL_CMP_MSG *rr, in process_rr() argument
389 if (ctx == NULL || rr == NULL) { in process_rr()
394 || ctx->sendError == OSSL_CMP_MSG_get_bodytype(rr)) { in process_rr()
/openssl/include/crypto/
H A Dbn.h140 const unsigned char *rr, size_t rrlen,
/openssl/crypto/conf/
H A Dconf_def.c644 int q, r, rr = 0, to = 0, len = 0; in str_copy() local
726 rr = *e; in str_copy()
756 *rrp = rr; in str_copy()
/openssl/fuzz/
H A Dcmp.c116 const OSSL_CMP_MSG *rr, in process_rr() argument
/openssl/doc/internal/man3/
H A Dossl_cmp_mock_srv_new.pod51 to be expected for rr messages and for any oldCertID included in kur messages.

Completed in 79 milliseconds

12