/openssl/test/ |
H A D | testutil.h | 254 # define PRINTF_FORMAT(a, b) argument 262 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 394 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 395 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 396 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 482 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) argument 483 # define TEST_BN_ne(a, b) test_BN_ne(__FILE__, __LINE__, #a, #b, a, b) argument 484 # define TEST_BN_lt(a, b) test_BN_lt(__FILE__, __LINE__, #a, #b, a, b) argument 485 # define TEST_BN_gt(a, b) test_BN_gt(__FILE__, __LINE__, #a, #b, a, b) argument 486 # define TEST_BN_le(a, b) test_BN_le(__FILE__, __LINE__, #a, #b, a, b) argument [all …]
|
H A D | constant_time_test.c | 61 static int test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), in test_binary_op() 73 char (*op) (unsigned int a, unsigned int b), in test_binary_op_8() 84 static int test_binary_op_s(size_t (*op) (size_t a, size_t b), in test_binary_op_s() 95 static int test_binary_op_64(uint64_t (*op)(uint64_t a, uint64_t b), in test_binary_op_64() 210 static int test_select_int(int a, int b) in test_select_int() 219 static int test_eq_int_8(int a, int b) in test_eq_int_8() 228 static int test_eq_s(size_t a, size_t b) in test_eq_s() 237 static int test_eq_int(int a, int b) in test_eq_int() 260 unsigned int b = test_values[j]; in test_binops() local 287 unsigned int b = test_values_8[j]; in test_binops_8() local [all …]
|
H A D | safe_math_test.c | 29 int a, b; member 58 const int a = test_ints[n].a, b = test_ints[n].b; in test_int_ops() local 129 unsigned int a, b; member 147 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops() local 211 size_t a, b; member 230 const size_t a = test_size_ts[n].a, b = test_size_ts[n].b; in test_size_t_ops() local 294 int a, b, c; member 318 const int b = test_muldiv_ints[n].b; in test_int_muldiv() local 333 unsigned int a, b, c; member 350 const unsigned int b = test_muldiv_uints[n].b; in test_uint_muldiv() local
|
/openssl/include/openssl/ |
H A D | bio.h.in | 227 # define BIO_set_retry_special(b) \ argument 229 # define BIO_set_retry_read(b) \ argument 231 # define BIO_set_retry_write(b) \ argument 235 # define BIO_clear_retry_flags(b) \ argument 237 # define BIO_get_retry_flags(b) \ argument 533 # define BIO_get_num_renegotiates(b) \ argument 545 # define BIO_set_mem_eof_return(b,v) \ argument 594 # define BIO_dgram_recv_timedout(b) \ argument 596 # define BIO_dgram_send_timedout(b) \ argument 598 # define BIO_dgram_get_peer(b,peer) \ argument [all …]
|
/openssl/include/internal/ |
H A D | constant_time.h | 122 unsigned int b) in constant_time_lt() 127 static ossl_inline size_t constant_time_lt_s(size_t a, size_t b) in constant_time_lt_s() 144 unsigned int b) in constant_time_ge() 149 static ossl_inline size_t constant_time_ge_s(size_t a, size_t b) in constant_time_ge_s() 191 unsigned int b) in constant_time_eq() 196 static ossl_inline size_t constant_time_eq_s(size_t a, size_t b) in constant_time_eq_s() 285 size_t b) in constant_time_select_s() 298 int b) in constant_time_select_int() 310 uint32_t b) in constant_time_select_32() 316 uint64_t b) in constant_time_select_64() [all …]
|
H A D | sockets.h | 143 # define readsocket(s,b,n) recv((s),(b),(n),0) argument 144 # define writesocket(s,b,n) send((s),(b),(n),0) argument 149 # define readsocket(s,b,n) read_s(s,b,n) argument 150 # define writesocket(s,b,n) send(s,b,n,0) argument 152 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 167 # define readsocket(s,b,n) read((s),(b),(n)) argument 170 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 173 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 175 # define readsocket(s,b,n) read((s),(b),(n)) argument 176 # define writesocket(s,b,n) write((s),(b),(n)) argument [all …]
|
H A D | bio.h | 58 # define BIO_set_ktls_flag(b, is_tx) \ argument 60 # define BIO_should_ktls_flag(b, is_tx) \ argument 62 # define BIO_set_ktls_ctrl_msg_flag(b) \ argument 64 # define BIO_should_ktls_ctrl_msg_flag(b) \ argument 66 # define BIO_clear_ktls_ctrl_msg_flag(b) \ argument 69 # define BIO_set_ktls(b, keyblob, is_tx) \ argument 71 # define BIO_set_ktls_ctrl_msg(b, record_type) \ argument 73 # define BIO_clear_ktls_ctrl_msg(b) \ argument
|
H A D | time.h | 92 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b) in ossl_time_compare() 133 OSSL_TIME ossl_time_subtract(OSSL_TIME a, OSSL_TIME b) in ossl_time_subtract() 144 OSSL_TIME ossl_time_abs_difference(OSSL_TIME a, OSSL_TIME b) in ossl_time_abs_difference() 151 OSSL_TIME ossl_time_multiply(OSSL_TIME a, uint64_t b) in ossl_time_multiply() 161 OSSL_TIME ossl_time_divide(OSSL_TIME a, uint64_t b) in ossl_time_divide() 172 OSSL_TIME ossl_time_max(OSSL_TIME a, OSSL_TIME b) in ossl_time_max() 179 OSSL_TIME ossl_time_min(OSSL_TIME a, OSSL_TIME b) in ossl_time_min()
|
/openssl/crypto/bio/ |
H A D | bio_lib.c | 205 void BIO_clear_flags(BIO *b, int flags) in BIO_clear_flags() 215 void BIO_set_flags(BIO *b, int flags) in BIO_set_flags() 257 int BIO_method_type(const BIO *b) in BIO_method_type() 494 int BIO_puts(BIO *b, const char *buf) in BIO_puts() 726 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push() 744 BIO *BIO_pop(BIO *b) in BIO_pop() 766 BIO *b, *last; in BIO_get_retry_BIO() local 817 BIO *BIO_next(BIO *b) in BIO_next() 824 void BIO_set_next(BIO *b, BIO *next) in BIO_set_next() 831 BIO *b; in BIO_free_all() local [all …]
|
H A D | bf_prefix.c | 52 static int prefix_create(BIO *b) in prefix_create() 67 static int prefix_destroy(BIO *b) in prefix_destroy() 76 static int prefix_read(BIO *b, char *in, size_t size, size_t *numread) in prefix_read() 81 static int prefix_write(BIO *b, const char *out, size_t outl, in prefix_write() 151 static long prefix_ctrl(BIO *b, int cmd, long num, void *ptr) in prefix_ctrl() 194 static long prefix_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in prefix_callback_ctrl() 199 static int prefix_gets(BIO *b, char *buf, int size) in prefix_gets() 204 static int prefix_puts(BIO *b, const char *str) in prefix_puts()
|
H A D | bf_readbuff.c | 74 BIO_F_BUFFER_CTX *b; in readbuffer_free() local 106 static int readbuffer_read(BIO *b, char *out, int outl) in readbuffer_read() 153 static int readbuffer_write(BIO *b, const char *in, int inl) in readbuffer_write() 157 static int readbuffer_puts(BIO *b, const char *str) in readbuffer_puts() 162 static long readbuffer_ctrl(BIO *b, int cmd, long num, void *ptr) in readbuffer_ctrl() 211 static long readbuffer_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in readbuffer_callback_ctrl() 218 static int readbuffer_gets(BIO *b, char *buf, int size) in readbuffer_gets()
|
H A D | bf_buff.c | 73 BIO_F_BUFFER_CTX *b; in buffer_free() local 87 static int buffer_read(BIO *b, char *out, int outl) in buffer_read() 158 static int buffer_write(BIO *b, const char *in, int inl) in buffer_write() 235 static long buffer_ctrl(BIO *b, int cmd, long num, void *ptr) in buffer_ctrl() 413 static long buffer_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in buffer_callback_ctrl() 420 static int buffer_gets(BIO *b, char *buf, int size) in buffer_gets() 467 static int buffer_puts(BIO *b, const char *str) in buffer_puts()
|
H A D | bf_lbuf.c | 81 BIO_LINEBUFFER_CTX *b; in linebuffer_free() local 94 static int linebuffer_read(BIO *b, char *out, int outl) in linebuffer_read() 108 static int linebuffer_write(BIO *b, const char *in, int inl) in linebuffer_write() 203 static long linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr) in linebuffer_ctrl() 302 static long linebuffer_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in linebuffer_callback_ctrl() 309 static int linebuffer_gets(BIO *b, char *buf, int size) in linebuffer_gets() 316 static int linebuffer_puts(BIO *b, const char *str) in linebuffer_puts()
|
H A D | bf_null.c | 45 static int nullf_read(BIO *b, char *out, int outl) in nullf_read() 59 static int nullf_write(BIO *b, const char *in, int inl) in nullf_write() 73 static long nullf_ctrl(BIO *b, int cmd, long num, void *ptr) in nullf_ctrl() 94 static long nullf_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in nullf_callback_ctrl()
|
H A D | bss_null.c | 40 static int null_read(BIO *b, char *out, int outl) in null_read() 45 static int null_write(BIO *b, const char *in, int inl) in null_write() 50 static long null_ctrl(BIO *b, int cmd, long num, void *ptr) in null_ctrl()
|
H A D | bss_bio.c | 78 struct bio_bio_st *b = OPENSSL_zalloc(sizeof(*b)); in bio_new() local 92 struct bio_bio_st *b; in bio_free() local 113 struct bio_bio_st *b, *peer_b; in bio_read() local 202 struct bio_bio_st *b, *peer_b; in bio_nread0() local 239 struct bio_bio_st *b, *peer_b; in bio_nread() local 272 struct bio_bio_st *b; in bio_write() local 347 struct bio_bio_st *b; in bio_nwrite0() local 395 struct bio_bio_st *b; in bio_nwrite() local 419 struct bio_bio_st *b = bio->ptr; in bio_ctrl() local 656 struct bio_bio_st *b = bio->ptr; in bio_destroy_pair() local
|
/openssl/ssl/record/ |
H A D | record_local.h | 33 #define SSL3_BUFFER_get_buf(b) ((b)->buf) argument 34 #define SSL3_BUFFER_set_buf(b, n) ((b)->buf = (n)) argument 35 #define SSL3_BUFFER_get_len(b) ((b)->len) argument 36 #define SSL3_BUFFER_set_len(b, l) ((b)->len = (l)) argument 37 #define SSL3_BUFFER_get_left(b) ((b)->left) argument 38 #define SSL3_BUFFER_set_left(b, l) ((b)->left = (l)) argument 39 #define SSL3_BUFFER_sub_left(b, l) ((b)->left -= (l)) argument 40 #define SSL3_BUFFER_get_offset(b) ((b)->offset) argument 41 #define SSL3_BUFFER_set_offset(b, o) ((b)->offset = (o)) argument 43 #define SSL3_BUFFER_is_initialised(b) ((b)->buf != NULL) argument [all …]
|
H A D | ssl3_buffer.c | 13 void SSL3_BUFFER_set_data(SSL3_BUFFER *b, const unsigned char *d, size_t n) in SSL3_BUFFER_set_data() 25 void SSL3_BUFFER_clear(SSL3_BUFFER *b) in SSL3_BUFFER_clear() 31 void SSL3_BUFFER_release(SSL3_BUFFER *b) in SSL3_BUFFER_release()
|
/openssl/crypto/bn/ |
H A D | bn_blind.c | 93 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_update() 129 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert() 162 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_invert() 167 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, in BN_BLINDING_invert_ex() 203 int BN_BLINDING_is_current_thread(BN_BLINDING *b) in BN_BLINDING_is_current_thread() 208 void BN_BLINDING_set_current_thread(BN_BLINDING *b) in BN_BLINDING_set_current_thread() 213 int BN_BLINDING_lock(BN_BLINDING *b) in BN_BLINDING_lock() 218 int BN_BLINDING_unlock(BN_BLINDING *b) in BN_BLINDING_unlock() 223 unsigned long BN_BLINDING_get_flags(const BN_BLINDING *b) in BN_BLINDING_get_flags() 228 void BN_BLINDING_set_flags(BN_BLINDING *b, unsigned long flags) in BN_BLINDING_set_flags() [all …]
|
H A D | bn_mul.c | 28 const BN_ULONG *a, const BN_ULONG *b, in bn_sub_part_words() 175 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, in bn_mul_recursive() 322 void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n, in bn_mul_part_recursive() 477 void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, in bn_mul_low_recursive() 497 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in BN_mul() 507 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in bn_mul_fixed_top() 622 void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb) in bn_mul_normal() 664 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) in bn_mul_low_normal()
|
H A D | bn_add.c | 14 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_add() 45 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_sub() 76 int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_uadd() 125 int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_usub()
|
/openssl/crypto/asn1/ |
H A D | bio_asn1.c | 99 static int asn1_bio_new(BIO *b) in asn1_bio_new() 130 static int asn1_bio_free(BIO *b) in asn1_bio_free() 295 static int asn1_bio_read(BIO *b, char *in, int inl) in asn1_bio_read() 303 static int asn1_bio_puts(BIO *b, const char *str) in asn1_bio_puts() 308 static int asn1_bio_gets(BIO *b, char *str, int size) in asn1_bio_gets() 404 static int asn1_bio_set_ex(BIO *b, int cmd, in asn1_bio_set_ex() 413 static int asn1_bio_get_ex(BIO *b, int cmd, in asn1_bio_get_ex() 427 int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix, in BIO_asn1_set_prefix() 433 int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix, in BIO_asn1_get_prefix() 439 int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix, in BIO_asn1_set_suffix() [all …]
|
H A D | a_i2d_fp.c | 20 BIO *b; in ASN1_i2d_fp() local 36 char *b; in ASN1_i2d_bio() local 73 BIO *b; in ASN1_item_i2d_fp() local 89 unsigned char *b = NULL; in ASN1_item_i2d_bio() local
|
/openssl/crypto/md5/ |
H A D | md5_local.h | 58 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument 59 #define G(b,c,d) ((((b) ^ (c)) & (d)) ^ (c)) argument 60 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument 61 #define I(b,c,d) (((~(d)) | (b)) ^ (c)) argument 63 #define R0(a,b,c,d,k,s,t) { \ argument 68 #define R1(a,b,c,d,k,s,t) { \ argument 73 #define R2(a,b,c,d,k,s,t) { \ argument 78 #define R3(a,b,c,d,k,s,t) { \ argument
|
/openssl/crypto/md4/ |
H A D | md4_local.h | 46 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument 47 #define G(b,c,d) (((b) & (c)) | ((b) & (d)) | ((c) & (d))) argument 48 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument 50 #define R0(a,b,c,d,k,s,t) { \ argument 54 #define R1(a,b,c,d,k,s,t) { \ argument 58 #define R2(a,b,c,d,k,s,t) { \ argument
|