| /include/internal/ |
| A D | constant_time.h | 127 return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt() 132 return constant_time_msb_s(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_s() 143 return constant_time_msb_32(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_32() 148 return constant_time_msb_64(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_64() 170 return constant_time_msb_bn(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_bn() 395 uint32_t xor = *a ^ *b; in constant_time_cond_swap_32() 399 *b ^= xor; in constant_time_cond_swap_32() 415 uint64_t xor = *a ^ *b; in constant_time_cond_swap_64() 419 *b ^= xor; in constant_time_cond_swap_64() 443 tmp = a[i] ^ b[i]; in constant_time_cond_swap_buff() [all …]
|
| A D | safe_math.h | 36 type b, \ 41 if (!__builtin_add_overflow(a, b, &r)) \ 49 type b, \ 54 if (!__builtin_add_overflow(a, b, &r)) \ 63 type b, \ 110 || (b > 0 && a >= min + b) \ 111 || (b < 0 && a <= max + b) \ 174 const type y = b < 0 ? -b : b; \ 188 if (b != 0 && a > max / b) \ 393 return (a + b - 1) / b; \ [all …]
|
| A D | sockets.h | 177 # define readsocket(s,b,n) recv((s),(b),(n),0) argument 181 # define readsocket(s,b,n) read_s(s,b,n) argument 182 # define writesocket(s,b,n) send(s,b,n,0) argument 184 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 194 # define readsocket(s,b,n) read((s),(b),(n)) argument 195 # define writesocket(s,b,n) write((s),(b),(n)) argument 196 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 199 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 201 # define readsocket(s,b,n) read((s),(b),(n)) argument 202 # define writesocket(s,b,n) write((s),(b),(n)) argument [all …]
|
| A D | bio.h | 62 # define BIO_set_ktls_flag(b, is_tx) \ argument 64 # define BIO_should_ktls_flag(b, is_tx) \ argument 66 # define BIO_set_ktls_ctrl_msg_flag(b) \ argument 67 BIO_set_flags(b, BIO_FLAGS_KTLS_TX_CTRL_MSG) 68 # define BIO_should_ktls_ctrl_msg_flag(b) \ argument 69 BIO_test_flags(b, BIO_FLAGS_KTLS_TX_CTRL_MSG) 70 # define BIO_clear_ktls_ctrl_msg_flag(b) \ argument 72 # define BIO_set_ktls_zerocopy_sendfile_flag(b) \ argument 75 # define BIO_set_ktls(b, keyblob, is_tx) \ argument 79 # define BIO_clear_ktls_ctrl_msg(b) \ argument [all …]
|
| A D | time.h | 148 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b) in ossl_time_compare() argument 150 if (a.t > b.t) in ossl_time_compare() 152 if (a.t < b.t) in ossl_time_compare() 177 r.t = safe_add_time(a.t, b.t, &err); in ossl_time_add() 187 r.t = safe_sub_time(a.t, b.t, &err); in ossl_time_subtract() 195 return a.t > b.t ? ossl_time_subtract(a, b) in ossl_time_abs_difference() 205 r.t = safe_mul_time(a.t, b, &err); in ossl_time_multiply() 215 r.t = safe_div_time(a.t, b, &err); in ossl_time_divide() 225 r.t = safe_muldiv_time(a.t, b, c, &err); in ossl_time_muldiv() 233 return a.t > b.t ? a : b; in ossl_time_max() [all …]
|
| A D | quic_types.h | 59 static ossl_unused ossl_inline QUIC_PN ossl_quic_pn_max(QUIC_PN a, QUIC_PN b) in ossl_quic_pn_max() argument 61 return a > b ? a : b; in ossl_quic_pn_max() 64 static ossl_unused ossl_inline QUIC_PN ossl_quic_pn_min(QUIC_PN a, QUIC_PN b) in ossl_quic_pn_min() argument 66 return a < b ? a : b; in ossl_quic_pn_min() 83 const QUIC_CONN_ID *b) in ossl_quic_conn_id_eq() argument 85 if (a->id_len != b->id_len || a->id_len > QUIC_MAX_CONN_ID_LEN) in ossl_quic_conn_id_eq() 87 return memcmp(a->id, b->id, a->id_len) == 0; in ossl_quic_conn_id_eq()
|
| A D | e_os.h | 267 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 313 # define accept(a,b,c) accept(a,(struct sockaddr *)b,c) argument 314 # define recvfrom(a,b,c,d,e,f) recvfrom(a,b,(socklen_t)c,d,e,f) argument
|
| A D | der.h | 80 int ossl_DER_w_boolean(WPACKET *pkt, int tag, int b);
|
| A D | property.h | 90 const OSSL_PROPERTY_LIST *b);
|
| A D | ffc.h | 150 int ossl_ffc_params_cmp(const FFC_PARAMS *a, const FFC_PARAMS *b, int ignore_q);
|
| /include/openssl/ |
| A D | bio.h.in | 252 # define BIO_get_flags(b) BIO_test_flags(b, ~(0x0)) argument 516 /* #define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL) */ 532 # define BIO_do_connect(b) BIO_do_handshake(b) argument 533 # define BIO_do_accept(b) BIO_do_handshake(b) argument 538 # define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd) argument 546 # define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL) argument 547 # define BIO_tell(b) (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL) argument 567 # define BIO_rw_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \ argument 607 # define BIO_eof(b) (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL) argument 621 # define BIO_buffer_get_num_lines(b) BIO_ctrl(b,BIO_CTRL_GET,0,NULL) argument [all …]
|
| A D | bn.h | 76 void BN_set_flags(BIGNUM *b, int n); 77 int BN_get_flags(const BIGNUM *b, int n); 179 # define BN_prime_checks_for_size(b) ((b) >= 3747 ? 3 : \ argument 242 void BN_swap(BIGNUM *a, BIGNUM *b); 268 void BN_set_negative(BIGNUM *b, int n); 273 int BN_is_negative(const BIGNUM *b); 426 void BN_BLINDING_free(BN_BLINDING *b); 436 int BN_BLINDING_lock(BN_BLINDING *b); 437 int BN_BLINDING_unlock(BN_BLINDING *b); 480 # define BN_GF2m_sub(r, a, b) BN_GF2m_add(r, a, b) argument [all …]
|
| A D | objects.h | 50 # define OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c) argument 76 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); 125 type2 const *b = b_; \ 126 return nm##_cmp(a,b); \ 139 type2 const *b = b_; \ 140 return nm##_cmp(a,b); \
|
| A D | ec.h | 317 const BIGNUM *b, BN_CTX *ctx); 329 int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, 345 const BIGNUM *b, 359 BIGNUM *a, BIGNUM *b, 375 const BIGNUM *b, 389 BIGNUM *a, BIGNUM *b, 420 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx); 436 const BIGNUM *b, BN_CTX *ctx); 447 const BIGNUM *b, BN_CTX *ctx); 816 const EC_POINT *b, BN_CTX *ctx); [all …]
|
| A D | evp.h | 692 # define EVP_SignInit_ex(a,b,c) EVP_DigestInit_ex(a,b,c) argument 693 # define EVP_SignInit(a,b) EVP_DigestInit(a,b) argument 694 # define EVP_SignUpdate(a,b,c) EVP_DigestUpdate(a,b,c) argument 695 # define EVP_VerifyInit_ex(a,b,c) EVP_DigestInit_ex(a,b,c) argument 696 # define EVP_VerifyInit(a,b) EVP_DigestInit(a,b) argument 697 # define EVP_VerifyUpdate(a,b,c) EVP_DigestUpdate(a,b,c) argument 698 # define EVP_OpenUpdate(a,b,c,d,e) EVP_DecryptUpdate(a,b,c,d,e) argument 699 # define EVP_SealUpdate(a,b,c,d,e) EVP_EncryptUpdate(a,b,c,d,e) argument 706 # define BIO_get_md(b,mdp) BIO_ctrl(b,BIO_C_GET_MD,0,(mdp)) argument 707 # define BIO_get_md_ctx(b,mdcp) BIO_ctrl(b,BIO_C_GET_MD_CTX,0,(mdcp)) argument [all …]
|
| A D | ripemd.h | 52 const unsigned char *b);
|
| A D | md4.h | 55 OSSL_DEPRECATEDIN_3_0 void MD4_Transform(MD4_CTX *c, const unsigned char *b);
|
| A D | md5.h | 54 OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b);
|
| A D | srp.h.in | 164 const BIGNUM *b, const BIGNUM *N); 166 BIGNUM *SRP_Calc_B_ex(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g, 169 BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g,
|
| A D | lhash.h.in | 72 const o_type *b = arg2; \ 73 return name##_cmp(a,b); } 82 a_type *b = arg2; \ 83 name##_doall_arg(a, b); } 158 typedef int (*lh_##type##_compfunc)(const type *a, const type *b); \
|
| A D | safestack.h.in | 39 typedef int (*sk_##t1##_compfunc)(const t3 * const *a, const t3 *const *b); \ 74 typedef int (*sk_##t1##_compfunc)(const t3 * const *a, const t3 *const *b); \ 212 * b) The string may have be immutable.
|
| A D | x509.h.in | 313 # define X509_name_cmp(a,b) X509_NAME_cmp((a),(b)) argument 495 int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b); 790 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b); 793 int X509_issuer_name_cmp(const X509 *a, const X509 *b); 796 int X509_subject_name_cmp(const X509 *a, const X509 *b); 812 int X509_cmp(const X509 *a, const X509 *b); 813 int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b); 823 int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b); 824 int X509_CRL_match(const X509_CRL *a, const X509_CRL *b); 1105 int X509_PUBKEY_eq(const X509_PUBKEY *a, const X509_PUBKEY *b);
|
| /include/crypto/ |
| A D | lms_util.h | 23 #define HASH_NOT_MATCHED(a, b) \ argument 24 (a)->n != (b)->n || (strcmp((a)->digestname, (b)->digestname) != 0)
|
| A D | bn.h | 74 int bn_mul_mont_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, 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, 87 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
|
| A D | asn1.h | 31 int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b); 46 int (*param_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
|