Home
last modified time | relevance | path

Searched defs:b (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/openssl/test/
H A Dtestutil.h290 # define PRINTF_FORMAT(a, b) argument
300 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument
432 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument
433 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument
434 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument
527 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) argument
528 # define TEST_BN_ne(a, b) test_BN_ne(__FILE__, __LINE__, #a, #b, a, b) argument
529 # define TEST_BN_lt(a, b) test_BN_lt(__FILE__, __LINE__, #a, #b, a, b) argument
530 # define TEST_BN_gt(a, b) test_BN_gt(__FILE__, __LINE__, #a, #b, a, b) argument
531 # define TEST_BN_le(a, b) test_BN_le(__FILE__, __LINE__, #a, #b, a, b) argument
[all …]
H A Dconstant_time_test.c61 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 Dsafe_math_test.c29 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 Dbio.h.in252 # define BIO_set_retry_special(b) \ argument
254 # define BIO_set_retry_read(b) \ argument
256 # define BIO_set_retry_write(b) \ argument
260 # define BIO_clear_retry_flags(b) \ argument
262 # define BIO_get_retry_flags(b) \ argument
641 # define BIO_dgram_recv_timedout(b) \ argument
643 # define BIO_dgram_send_timedout(b) \ argument
661 # define BIO_dgram_get_caps(b) \ argument
665 # define BIO_dgram_get_no_trunc(b) \ argument
669 # define BIO_dgram_get_mtu(b) \ argument
[all …]
/openssl/include/internal/
H A Dconstant_time.h122 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()
171 BN_ULONG b) in constant_time_eq_bn()
178 BN_ULONG b) in constant_time_select_bn()
185 unsigned int b) in constant_time_ge()
190 static ossl_inline size_t constant_time_ge_s(size_t a, size_t b) in constant_time_ge_s()
326 size_t b) in constant_time_select_s()
339 int b) in constant_time_select_int()
351 uint32_t b) in constant_time_select_32()
357 uint64_t b) in constant_time_select_64()
[all …]
H A Dsockets.h177 # 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 …]
H A Dbio.h62 # 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
68 # define BIO_should_ktls_ctrl_msg_flag(b) \ argument
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
77 # define BIO_set_ktls_ctrl_msg(b, record_type) \ argument
79 # define BIO_clear_ktls_ctrl_msg(b) \ argument
81 # define BIO_set_ktls_tx_zerocopy_sendfile(b) \ argument
H A Dtime.h148 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b) in ossl_time_compare()
172 OSSL_TIME ossl_time_add(OSSL_TIME a, OSSL_TIME b) in ossl_time_add()
182 OSSL_TIME ossl_time_subtract(OSSL_TIME a, OSSL_TIME b) in ossl_time_subtract()
193 OSSL_TIME ossl_time_abs_difference(OSSL_TIME a, OSSL_TIME b) in ossl_time_abs_difference()
200 OSSL_TIME ossl_time_multiply(OSSL_TIME a, uint64_t b) in ossl_time_multiply()
210 OSSL_TIME ossl_time_divide(OSSL_TIME a, uint64_t b) in ossl_time_divide()
220 OSSL_TIME ossl_time_muldiv(OSSL_TIME a, uint64_t b, uint64_t c) in ossl_time_muldiv()
231 OSSL_TIME ossl_time_max(OSSL_TIME a, OSSL_TIME b) in ossl_time_max()
238 OSSL_TIME ossl_time_min(OSSL_TIME a, OSSL_TIME b) in ossl_time_min()
/openssl/crypto/bio/
H A Dbio_lib.c199 void BIO_clear_flags(BIO *b, int flags) in BIO_clear_flags()
209 void BIO_set_flags(BIO *b, int flags) in BIO_set_flags()
251 int BIO_method_type(const BIO *b) in BIO_method_type()
498 int BIO_puts(BIO *b, const char *buf) in BIO_puts()
746 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push()
764 BIO *BIO_pop(BIO *b) in BIO_pop()
786 BIO *b, *last; in BIO_get_retry_BIO() local
837 BIO *BIO_next(BIO *b) in BIO_next()
844 void BIO_set_next(BIO *b, BIO *next) in BIO_set_next()
851 BIO *b; in BIO_free_all() local
[all …]
H A Dbf_prefix.c52 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 Dbf_readbuff.c74 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 Dbss_dgram_pair.c273 #define is_dgram_pair(b) (b->peer != NULL) argument
298 struct bio_dgram_pair_st *b; in dgram_mem_init() local
318 struct bio_dgram_pair_st *b; in dgram_pair_free() local
457 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_set_write_buf_size() local
482 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_reset() local
527 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_get_write_guarantee() local
580 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_get_caps() local
588 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_set_caps() local
597 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_get_local_addr_enable() local
605 struct bio_dgram_pair_st *b = bio->ptr; in dgram_pair_ctrl_set_local_addr_enable() local
[all …]
H A Dbf_buff.c73 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()
412 static long buffer_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in buffer_callback_ctrl()
419 static int buffer_gets(BIO *b, char *buf, int size) in buffer_gets()
466 static int buffer_puts(BIO *b, const char *str) in buffer_puts()
H A Dbf_lbuf.c78 BIO_LINEBUFFER_CTX *b; in linebuffer_free() local
91 static int linebuffer_read(BIO *b, char *out, int outl) in linebuffer_read()
105 static int linebuffer_write(BIO *b, const char *in, int inl) in linebuffer_write()
200 static long linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr) in linebuffer_ctrl()
298 static long linebuffer_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in linebuffer_callback_ctrl()
305 static int linebuffer_gets(BIO *b, char *buf, int size) in linebuffer_gets()
312 static int linebuffer_puts(BIO *b, const char *str) in linebuffer_puts()
H A Dbf_null.c45 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 Dbss_null.c40 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 Dbss_bio.c78 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
652 struct bio_bio_st *b = bio->ptr; in bio_destroy_pair() local
/openssl/crypto/bn/
H A Dbn_blind.c91 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_update()
127 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_convert()
160 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) in BN_BLINDING_invert()
165 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, in BN_BLINDING_invert_ex()
202 int BN_BLINDING_is_current_thread(BN_BLINDING *b) in BN_BLINDING_is_current_thread()
207 void BN_BLINDING_set_current_thread(BN_BLINDING *b) in BN_BLINDING_set_current_thread()
212 int BN_BLINDING_lock(BN_BLINDING *b) in BN_BLINDING_lock()
217 int BN_BLINDING_unlock(BN_BLINDING *b) in BN_BLINDING_unlock()
222 unsigned long BN_BLINDING_get_flags(const BN_BLINDING *b) in BN_BLINDING_get_flags()
227 void BN_BLINDING_set_flags(BN_BLINDING *b, unsigned long flags) in BN_BLINDING_set_flags()
[all …]
H A Dbn_mul.c28 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 Dbn_add.c14 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 Dbio_asn1.c99 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 Da_i2d_fp.c20 BIO *b; in ASN1_i2d_fp() local
36 char *b; in ASN1_i2d_bio() local
71 BIO *b; in ASN1_item_i2d_fp() local
87 unsigned char *b = NULL; in ASN1_item_i2d_bio() local
/openssl/crypto/md5/
H A Dmd5_local.h59 #define F(b,c,d) ((((c) ^ (d)) & (b)) ^ (d)) argument
60 #define G(b,c,d) ((((b) ^ (c)) & (d)) ^ (c)) argument
61 #define H(b,c,d) ((b) ^ (c) ^ (d)) argument
62 #define I(b,c,d) (((~(d)) | (b)) ^ (c)) argument
64 #define R0(a,b,c,d,k,s,t) { \ argument
69 #define R1(a,b,c,d,k,s,t) { \ argument
74 #define R2(a,b,c,d,k,s,t) { \ argument
79 #define R3(a,b,c,d,k,s,t) { \ argument
/openssl/crypto/md4/
H A Dmd4_local.h46 #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/crypto/evp/
H A Dbio_ok.c168 static int ok_read(BIO *b, char *out, int outl) in ok_read()
254 static int ok_write(BIO *b, const char *in, int inl) in ok_write()
319 static long ok_ctrl(BIO *b, int cmd, long num, void *ptr) in ok_ctrl()
405 static long ok_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in ok_callback_ctrl()
432 static int sig_out(BIO *b) in sig_out()
476 static int sig_in(BIO *b) in sig_in()
526 static int block_out(BIO *b) in block_out()
559 static int block_in(BIO *b) in block_in()

Completed in 52 milliseconds

12345678910>>...13