| /include/internal/ |
| A D | ring_buf.h | 50 r->alloc = 0; in OSSL_SAFE_MATH_UNSIGNED() 51 r->head_offset = r->ctail_offset = 0; in OSSL_SAFE_MATH_UNSIGNED() 58 OPENSSL_clear_free(r->start, r->alloc); in ring_buf_destroy() 67 return (size_t)(r->head_offset - r->ctail_offset); in ring_buf_used() 72 return r->alloc - ring_buf_used(r); in ring_buf_avail() 131 idx = r->head_offset % r->alloc; in ring_buf_push() 208 if (cleanse && r->alloc > 0 && end > r->ctail_offset) { in ring_buf_cpop_range() 209 size_t idx = r->ctail_offset % r->alloc; in ring_buf_cpop_range() 227 if (r->head_offset < r->ctail_offset) in ring_buf_cpop_range() 228 r->head_offset = r->ctail_offset; in ring_buf_cpop_range() [all …]
|
| A D | time.h | 60 OSSL_TIME r; in OSSL_SAFE_MATH_UNSIGNED() local 62 r.t = ticks; in OSSL_SAFE_MATH_UNSIGNED() 63 return r; in OSSL_SAFE_MATH_UNSIGNED() 174 OSSL_TIME r; in ossl_time_add() local 184 OSSL_TIME r; in ossl_time_subtract() local 188 return err ? ossl_time_zero() : r; in ossl_time_subtract() 202 OSSL_TIME r; in ossl_time_multiply() local 205 r.t = safe_mul_time(a.t, b, &err); in ossl_time_multiply() 212 OSSL_TIME r; in ossl_time_divide() local 215 r.t = safe_div_time(a.t, b, &err); in ossl_time_divide() [all …]
|
| A D | quic_reactor.h | 81 ossl_quic_tick_result_merge_into(QUIC_TICK_RESULT *r, in ossl_quic_tick_result_merge_into() argument 84 r->net_read_desired = r->net_read_desired || src->net_read_desired; in ossl_quic_tick_result_merge_into() 85 r->net_write_desired = r->net_write_desired || src->net_write_desired; in ossl_quic_tick_result_merge_into() 86 r->notify_other_threads = r->notify_other_threads || src->notify_other_threads; in ossl_quic_tick_result_merge_into() 87 r->tick_deadline = ossl_time_min(r->tick_deadline, src->tick_deadline); in ossl_quic_tick_result_merge_into() 158 const BIO_POLL_DESCRIPTOR *r);
|
| A D | constant_time.h | 155 BN_ULONG r; in value_barrier_bn() local 160 return r; in value_barrier_bn() 281 unsigned int r; in value_barrier() local 286 return r; in value_barrier() 293 uint32_t r; in value_barrier_32() local 298 return r; in value_barrier_32() 305 uint64_t r; in value_barrier_64() local 310 return r; in value_barrier_64() 317 size_t r; in value_barrier_s() local 322 return r; in value_barrier_s() [all …]
|
| A D | safe_math.h | 39 type r; \ 41 if (!__builtin_add_overflow(a, b, &r)) \ 42 return r; \ 52 type r; \ 54 if (!__builtin_add_overflow(a, b, &r)) \ 55 return r; \ 95 type r; \ 97 if (!__builtin_sub_overflow(a, b, &r)) \ 98 return r; \ 139 type r; \ [all …]
|
| A D | statem.h | 148 # define SSLfatal(s, al, r) SSLfatal_data((s), (al), (r), NULL) argument
|
| A D | sha3.h | 60 size_t r);
|
| A D | quic_port.h | 153 void ossl_quic_port_subtick(QUIC_PORT *port, QUIC_TICK_RESULT *r,
|
| A D | quic_channel.h | 292 void ossl_quic_channel_subtick(QUIC_CHANNEL *ch, QUIC_TICK_RESULT *r,
|
| /include/openssl/ |
| A D | err.h.in | 131 # define BIOerr(f, r) ERR_raise_data(ERR_LIB_BIO, (r), NULL) argument 132 # define BNerr(f, r) ERR_raise_data(ERR_LIB_BN, (r), NULL) argument 133 # define BUFerr(f, r) ERR_raise_data(ERR_LIB_BUF, (r), NULL) argument 134 # define CMPerr(f, r) ERR_raise_data(ERR_LIB_CMP, (r), NULL) argument 135 # define CMSerr(f, r) ERR_raise_data(ERR_LIB_CMS, (r), NULL) argument 140 # define CTerr(f, r) ERR_raise_data(ERR_LIB_CT, (r), NULL) argument 141 # define DHerr(f, r) ERR_raise_data(ERR_LIB_DH, (r), NULL) argument 142 # define DSAerr(f, r) ERR_raise_data(ERR_LIB_DSA, (r), NULL) argument 146 # define ECerr(f, r) ERR_raise_data(ERR_LIB_EC, (r), NULL) argument 168 # define TSerr(f, r) ERR_raise_data(ERR_LIB_TS, (r), NULL) argument [all …]
|
| A D | bn.h | 226 int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range, 258 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 259 int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 261 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); 263 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 307 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n); 308 int BN_lshift1(BIGNUM *r, const BIGNUM *a); 337 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); 338 int BN_rshift1(BIGNUM *r, const BIGNUM *a); 480 # define BN_GF2m_sub(r, a, b) BN_GF2m_add(r, a, b) argument [all …]
|
| A D | rsa.h | 220 OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, 228 OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, 231 OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, 236 OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, 254 OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); 255 OSSL_DEPRECATEDIN_3_0 int RSA_get_version(RSA *r); 256 OSSL_DEPRECATEDIN_3_0 ENGINE *RSA_get0_engine(const RSA *r); 304 OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); 306 OSSL_DEPRECATEDIN_3_0 int RSA_up_ref(RSA *r); 307 OSSL_DEPRECATEDIN_3_0 int RSA_flags(const RSA *r); [all …]
|
| A D | dsa.h | 71 int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s); 132 OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); 134 OSSL_DEPRECATEDIN_3_0 int DSA_up_ref(DSA *r); 203 OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r);
|
| A D | ec.h | 548 size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems); 815 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, 825 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, 878 OSSL_DEPRECATEDIN_3_0 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, 893 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, 1374 int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s); 1504 const BIGNUM *kinv, const BIGNUM *r, 1548 const BIGNUM *kinv, const BIGNUM *r,
|
| A D | ocsp.h.in | 187 # define OCSP_REQ_CTX_i2d(r, it, req) \ argument 188 OSSL_HTTP_REQ_CTX_set1_req(r, "application/ocsp-request", it, req) 189 # define OCSP_REQ_CTX_set1_req(r, req) \ argument 190 OCSP_REQ_CTX_i2d(r, ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)(req)) 193 # define OCSP_sendreq_nbio(p, r) \ argument 194 OSSL_HTTP_REQ_CTX_nbio_d2i(r, (ASN1_VALUE **)(p), \
|
| A D | conf.h.in | 137 #define NCONF_get_number(c,g,n,r) NCONF_get_number_e(c,g,n,r) argument
|
| A D | kdf.h | 127 int EVP_PKEY_CTX_set_scrypt_r(EVP_PKEY_CTX *ctx, uint64_t r);
|
| A D | x509.h.in | 333 int X509_verify(X509 *a, EVP_PKEY *r); 336 int X509_REQ_verify_ex(X509_REQ *a, EVP_PKEY *r, OSSL_LIB_CTX *libctx, 338 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r); 339 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r); 340 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r); 518 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey); 578 int X509_set_ex_data(X509 *r, int idx, void *arg); 579 void *X509_get_ex_data(const X509 *r, int idx); 773 int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm); 775 X509_REVOKED_get0_extensions(const X509_REVOKED *r); [all …]
|
| A D | x509_acert.h.in | 50 int X509_ACERT_verify(X509_ACERT *a, EVP_PKEY *r);
|
| A D | ui.h.in | 223 int UI_set_ex_data(UI *r, int idx, void *arg); 224 void *UI_get_ex_data(const UI *r, int idx);
|
| A D | asn1.h.in | 706 int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r); 708 int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r); 716 int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r);
|
| A D | evp.h | 1567 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, 1571 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
|
| /include/crypto/ |
| A D | bn.h | 74 int bn_mul_mont_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, 79 int bn_to_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, 81 int bn_from_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, 83 int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, 85 int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, 88 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 89 int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n); 90 int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n); 95 int ossl_bn_priv_rand_range_fixed_top(BIGNUM *r, const BIGNUM *range, 135 int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, [all …]
|
| A D | rsa.h | 30 RSA_PSS_PARAMS_30 *ossl_rsa_get0_pss_params_30(RSA *r); 62 OSSL_LIB_CTX *ossl_rsa_get0_libctx(RSA *r); 63 void ossl_rsa_set0_libctx(RSA *r, OSSL_LIB_CTX *libctx); 65 int ossl_rsa_set0_all_params(RSA *r, STACK_OF(BIGNUM) *primes, 68 int ossl_rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes, 83 int ossl_rsa_set0_pss_params(RSA *r, RSA_PSS_PARAMS *pss); 135 int ossl_rsa_acvp_test_set_params(RSA *r, const OSSL_PARAM params[]); 136 int ossl_rsa_acvp_test_get_params(RSA *r, OSSL_PARAM params[]); 142 int ossl_rsa_check_factors(RSA *r);
|
| A D | asn1_dsa.h | 18 int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s); 21 size_t ossl_decode_der_dsa_sig(BIGNUM *r, BIGNUM *s, const unsigned char **ppin,
|