/openssl-master/test/ |
A D | testutil.h | 253 # define PRINTF_FORMAT(a, b) argument 261 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 391 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 392 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 393 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 472 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) argument 473 # define TEST_BN_ne(a, b) test_BN_ne(__FILE__, __LINE__, #a, #b, a, b) argument 474 # define TEST_BN_lt(a, b) test_BN_lt(__FILE__, __LINE__, #a, #b, a, b) argument 475 # define TEST_BN_gt(a, b) test_BN_gt(__FILE__, __LINE__, #a, #b, a, b) argument 476 # define TEST_BN_le(a, b) test_BN_le(__FILE__, __LINE__, #a, #b, a, b) argument [all …]
|
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 …]
|
A D | safe_math_test.c | 29 int a, b; member 52 const int a = test_ints[n].a, b = test_ints[n].b; in test_int_ops() local 114 unsigned int a, b; member 130 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops() local 188 size_t a, b; member 204 const size_t a = test_size_ts[n].a, b = test_size_ts[n].b; in test_size_t_ops() local 262 int a, b, c; member 286 const int b = test_muldiv_ints[n].b; in test_int_muldiv() local 301 unsigned int a, b, c; member 318 const unsigned int b = test_muldiv_uints[n].b; in test_uint_muldiv() local
|
/openssl-master/include/openssl/ |
A D | bio.h.in | 221 # define BIO_set_retry_special(b) \ argument 223 # define BIO_set_retry_read(b) \ argument 225 # define BIO_set_retry_write(b) \ argument 229 # define BIO_clear_retry_flags(b) \ argument 231 # define BIO_get_retry_flags(b) \ argument 505 # define BIO_get_num_renegotiates(b) \ argument 517 # define BIO_set_mem_eof_return(b,v) \ argument 566 # define BIO_dgram_recv_timedout(b) \ argument 568 # define BIO_dgram_send_timedout(b) \ argument 570 # define BIO_dgram_get_peer(b,peer) \ argument [all …]
|
/openssl-master/include/internal/ |
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 …]
|
A D | sockets.h | 132 # define readsocket(s,b,n) recv((s),(b),(n),0) argument 133 # define writesocket(s,b,n) send((s),(b),(n),0) argument 138 # define readsocket(s,b,n) read_s(s,b,n) argument 139 # define writesocket(s,b,n) send(s,b,n,0) argument 141 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 156 # define readsocket(s,b,n) read((s),(b),(n)) argument 159 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 162 # define ioctlsocket(a,b,c) ioctl(a,b,c) argument 164 # define readsocket(s,b,n) read((s),(b),(n)) argument 165 # define writesocket(s,b,n) write((s),(b),(n)) argument [all …]
|
A D | bio.h | 56 # define BIO_set_ktls_flag(b, is_tx) \ argument 58 # define BIO_should_ktls_flag(b, is_tx) \ argument 60 # define BIO_set_ktls_ctrl_msg_flag(b) \ argument 62 # define BIO_should_ktls_ctrl_msg_flag(b) \ argument 64 # define BIO_clear_ktls_ctrl_msg_flag(b) \ argument 67 # define BIO_set_ktls(b, keyblob, is_tx) \ argument 69 # define BIO_set_ktls_ctrl_msg(b, record_type) \ argument 71 # define BIO_clear_ktls_ctrl_msg(b) \ argument
|
/openssl-master/crypto/bio/ |
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() 400 int BIO_puts(BIO *b, const char *buf) in BIO_puts() 632 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push() 650 BIO *BIO_pop(BIO *b) in BIO_pop() 672 BIO *b, *last; in BIO_get_retry_BIO() local 723 BIO *BIO_next(BIO *b) in BIO_next() 730 void BIO_set_next(BIO *b, BIO *next) in BIO_set_next() 737 BIO *b; in BIO_free_all() local [all …]
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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-master/crypto/bn/ |
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 …]
|
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()
|
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-master/crypto/asn1/ |
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 …]
|
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-master/crypto/md5/ |
A D | md5_local.h | 57 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument 58 #define G(b,c,d) ((((b) ^ (c)) & (d)) ^ (c)) argument 59 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument 60 #define I(b,c,d) (((~(d)) | (b)) ^ (c)) argument 62 #define R0(a,b,c,d,k,s,t) { \ argument 67 #define R1(a,b,c,d,k,s,t) { \ argument 72 #define R2(a,b,c,d,k,s,t) { \ argument 77 #define R3(a,b,c,d,k,s,t) { \ argument
|
/openssl-master/ssl/record/ |
A D | record_local.h | 56 #define SSL3_BUFFER_get_buf(b) ((b)->buf) argument 57 #define SSL3_BUFFER_set_buf(b, n) ((b)->buf = (n)) argument 58 #define SSL3_BUFFER_get_len(b) ((b)->len) argument 59 #define SSL3_BUFFER_set_len(b, l) ((b)->len = (l)) argument 60 #define SSL3_BUFFER_get_left(b) ((b)->left) argument 61 #define SSL3_BUFFER_set_left(b, l) ((b)->left = (l)) argument 62 #define SSL3_BUFFER_sub_left(b, l) ((b)->left -= (l)) argument 63 #define SSL3_BUFFER_get_offset(b) ((b)->offset) argument 64 #define SSL3_BUFFER_set_offset(b, o) ((b)->offset = (o)) argument 66 #define SSL3_BUFFER_is_initialised(b) ((b)->buf != NULL) argument [all …]
|
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() 41 SSL3_BUFFER *b; in ssl3_setup_read_buffer() local 177 SSL3_BUFFER *b; in ssl3_release_read_buffer() local
|
/openssl-master/crypto/md4/ |
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
|
/openssl-master/crypto/x509/ |
A D | v3_genn.c | 61 static int edipartyname_cmp(const EDIPARTYNAME *a, const EDIPARTYNAME *b) in edipartyname_cmp() 93 int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b) in GENERAL_NAME_cmp() 134 int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b) in OTHERNAME_cmp()
|