Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 635) sorted by relevance

12345678910>>...26

/openssl/test/
H A Dtestutil.h432 # 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
435 # define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) argument
436 # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) argument
437 # define TEST_int_ge(a, b) test_int_ge(__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
[all …]
H A Dconstant_time_test.c264 a, b, a < b) in test_binops()
266 b, a, b < a) in test_binops()
268 a, b, a >= b) in test_binops()
270 b, a, b >= a) in test_binops()
272 a, b, a == b) in test_binops()
274 b, a, b == a)) in test_binops()
290 a, b, a < b) in test_binops_8()
292 b, a, b < a) in test_binops_8()
294 a, b, a >= b) in test_binops_8()
318 a, b, a < b) in test_binops_s()
[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
120 || (!err && !TEST_int_eq(r, b < 0 ? -b : b))) in test_int_ops()
147 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops() local
182 || (!err && !TEST_uint_eq(r, a / b + (a % b != 0)))) in test_uint_ops()
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
265 || (!err && !TEST_size_t_eq(r, a / b + (a % b != 0)))) in test_size_t_ops()
294 int a, b, c; member
318 const int b = test_muldiv_ints[n].b; in test_int_muldiv() local
[all …]
H A Dbio_enc_test.c41 BIO *b, *mem; in do_bio_cipher() local
54 if (!TEST_ptr(b)) in do_bio_cipher()
61 BIO_push(b, mem); in do_bio_cipher()
63 BIO_free_all(b); in do_bio_cipher()
68 if (!TEST_ptr(b)) in do_bio_cipher()
94 BIO_free_all(b); in do_bio_cipher()
133 if (!TEST_ptr(b)) in do_bio_cipher()
141 BIO_push(b, mem); in do_bio_cipher()
142 (void)BIO_flush(b); in do_bio_cipher()
145 BIO_free_all(b); in do_bio_cipher()
[all …]
H A Dquic_record_test_util.h20 b_data = b->data; in cmp_pkt_hdr()
21 b_len = b->len; in cmp_pkt_hdr()
24 if (!TEST_int_eq(a->type, b->type) in cmp_pkt_hdr()
27 || !TEST_int_eq(a->pn_len, b->pn_len) in cmp_pkt_hdr()
29 || !TEST_int_eq(a->fixed, b->fixed) in cmp_pkt_hdr()
30 || !TEST_int_eq(a->unused, b->unused) in cmp_pkt_hdr()
35 || !TEST_mem_eq(a->pn, sizeof(a->pn), b->pn, sizeof(b->pn)) in cmp_pkt_hdr()
37 || !TEST_uint64_t_eq(a->len, b->len)) in cmp_pkt_hdr()
40 if (a->token_len > 0 && b->token_len > 0 in cmp_pkt_hdr()
41 && !TEST_mem_eq(a->token, a->token_len, b->token, b->token_len)) in cmp_pkt_hdr()
[all …]
/openssl/crypto/aes/asm/
H A Dbsaes-armv8.pl1087 eor v1.16b, v4.16b, v1.16b
1089 eor v2.16b, v2.16b, v4.16b
1090 eor v0.16b, v6.16b, v0.16b
1094 eor v0.16b, v7.16b, v4.16b
1100 eor v0.16b, v5.16b, v2.16b
1101 eor v1.16b, v3.16b, v1.16b
1139 eor v1.16b, v1.16b, v5.16b
1141 eor v6.16b, v6.16b, v8.16b
1143 eor v4.16b, v4.16b, v9.16b
1146 eor v0.16b, v7.16b, v0.16b
[all …]
/openssl/include/internal/
H A Dconstant_time.h127 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()
383 uint32_t xor = *a ^ *b; in constant_time_cond_swap_32()
387 *b ^= xor; in constant_time_cond_swap_32()
403 uint64_t xor = *a ^ *b; in constant_time_cond_swap_64()
407 *b ^= xor; in constant_time_cond_swap_64()
431 tmp = a[i] ^ b[i]; in constant_time_cond_swap_buff()
[all …]
H A Dsafe_math.h36 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 …]
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 …]
/openssl/crypto/bio/
H A Dbio_lib.c26 # define HAS_CALLBACK(b) ((b)->callback != NULL || (b)->callback_ex != NULL) argument
28 # define HAS_CALLBACK(b) ((b)->callback_ex != NULL) argument
523 ret = b->method->bputs(b, buf); in BIO_puts()
577 ret = b->method->bgets(b, buf, size); in BIO_gets()
677 ret = b->method->ctrl(b, cmd, larg, parg); in BIO_ctrl()
705 ret = b->method->callback_ctrl(b, cmd, fp); in BIO_callback_ctrl()
772 BIO_ctrl(b, BIO_CTRL_POP, 0, b); in BIO_pop()
775 b->prev_bio->next_bio = b->next_bio; in BIO_pop()
777 b->next_bio->prev_bio = b->prev_bio; in BIO_pop()
793 b = b->next_bio; in BIO_get_retry_BIO()
[all …]
H A Dbss_bio.c291 assert(b->len <= b->size); in bio_write()
293 if (b->len == b->size) { in bio_write()
299 if (num > b->size - b->len) in bio_write()
300 num = b->size - b->len; in bio_write()
311 assert(b->len + rest <= b->size); in bio_write()
328 assert(b->len <= b->size); in bio_write()
367 assert(b->len <= b->size); in bio_nwrite0()
369 if (b->len == b->size) { in bio_nwrite0()
374 num = b->size - b->len; in bio_nwrite0()
375 write_offset = b->offset + b->len; in bio_nwrite0()
[all …]
H A Dbss_dgram_pair.c273 #define is_dgram_pair(b) (b->peer != NULL) argument
277 struct bio_dgram_pair_st *b = OPENSSL_zalloc(sizeof(*b)); in dgram_pair_init() local
279 if (b == NULL) in dgram_pair_init()
284 b->req_buf_len = 9 * (sizeof(struct dgram_hdr) + b->mtu); in dgram_pair_init()
292 bio->ptr = b; in dgram_pair_init()
303 b = bio->ptr; in dgram_mem_init()
305 if (ring_buf_init(&b->rbuf, b->req_buf_len) == 0) { in dgram_mem_init()
323 b = bio->ptr; in dgram_pair_free()
532 l = b->rbuf.len - b->rbuf.count; in dgram_pair_ctrl_get_write_guarantee()
627 b->mtu = mtu; in dgram_pair_ctrl_set_mtu()
[all …]
H A Dbss_sock.c168 BIO_clear_retry_flags(b); in sock_write()
188 if (b->shutdown) { in sock_ctrl()
189 if (b->init) in sock_ctrl()
191 b->flags = 0; in sock_ctrl()
193 b->num = *((int *)ptr); in sock_ctrl()
195 b->init = 1; in sock_ctrl()
200 if (b->init) { in sock_ctrl()
203 *ip = b->num; in sock_ctrl()
204 ret = b->num; in sock_ctrl()
209 ret = b->shutdown; in sock_ctrl()
[all …]
H A Dbf_prefix.c21 static int prefix_create(BIO *b);
22 static int prefix_destroy(BIO *b);
52 static int prefix_create(BIO *b) in prefix_create() argument
62 BIO_set_data(b, ctx); in prefix_create()
63 BIO_set_init(b, 1); in prefix_create()
67 static int prefix_destroy(BIO *b) in prefix_destroy() argument
69 PREFIX_CTX *ctx = BIO_get_data(b); in prefix_destroy()
84 PREFIX_CTX *ctx = BIO_get_data(b); in prefix_write()
156 if (b == NULL || (ctx = BIO_get_data(b)) == NULL) in prefix_ctrl()
187 if (BIO_next(b) != NULL) in prefix_ctrl()
[all …]
/openssl/crypto/bn/
H A Dbn_blind.c95 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_update()
103 if (++b->counter == BN_BLINDING_COUNTER && b->e != NULL && in BN_BLINDING_update()
110 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx) in BN_BLINDING_update()
111 || !bn_mul_mont_fixed_top(b->A, b->A, b->A, b->m_ctx, ctx)) in BN_BLINDING_update()
114 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update()
115 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update()
138 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_convert_ex()
153 ret = BN_mod_mul_montgomery(n, n, b->A, b->m_ctx, ctx); in BN_BLINDING_convert_ex()
155 ret = BN_mod_mul(n, n, b->A, b->mod, ctx); in BN_BLINDING_convert_ex()
245 if (b == NULL) in BN_BLINDING_create_param()
[all …]
/openssl/test/recipes/15-test_ml_kem_codecs_data/
H A Dprv-1024-seed.txt9 f7:7b:7f:6b:15:c7:3f:e2:cc:54:6b:67:fb:77:4c:
12 c8:31:1c:55:96:3f:50:0a:3c:7b:1b:8f:2a:58:55:
33 73:16:26:ab:b2:6e:c4:e4:31:b8:eb:6b:3b:0b:c1:
78 94:24:b8:1b:99:6b:1d:f2:2e:a0:62:3e:c6:5c:6b:
108 0f:64:49:44:0b:78:4b:a7:8f:5d:ac:44:d8:f6:5b:
151 8c:e7:7b:3d:8b:04:eb:0b:3c:22:56:01:1e:4c:71:
203 95:11:6e:72:04:27:38:93:39:0b:f4:6b:89:9b:36:
206 c4:f9:31:9d:41:0b:34:e6:43:3b:90:03:e2:17:6b:
210 5a:f5:08:9b:ea:be:b0:5b:2f:aa:b4:89:6b:a6:0f:
314 38:93:39:0b:f4:6b:89:9b:36:28:6b:0e:bf:19:47:
[all …]
H A Dprv-1024-priv.txt3 f7:7b:7f:6b:15:c7:3f:e2:cc:54:6b:67:fb:77:4c:
6 c8:31:1c:55:96:3f:50:0a:3c:7b:1b:8f:2a:58:55:
27 73:16:26:ab:b2:6e:c4:e4:31:b8:eb:6b:3b:0b:c1:
72 94:24:b8:1b:99:6b:1d:f2:2e:a0:62:3e:c6:5c:6b:
102 0f:64:49:44:0b:78:4b:a7:8f:5d:ac:44:d8:f6:5b:
145 8c:e7:7b:3d:8b:04:eb:0b:3c:22:56:01:1e:4c:71:
197 95:11:6e:72:04:27:38:93:39:0b:f4:6b:89:9b:36:
200 c4:f9:31:9d:41:0b:34:e6:43:3b:90:03:e2:17:6b:
204 5a:f5:08:9b:ea:be:b0:5b:2f:aa:b4:89:6b:a6:0f:
308 38:93:39:0b:f4:6b:89:9b:36:28:6b:0e:bf:19:47:
[all …]
H A Dprv-768-priv.txt25 33:ba:77:46:80:9c:c3:f8:ad:e1:b3:63:9b:d5:7b:
31 97:e9:3e:2f:2b:2f:83:da:0b:ee:f4:aa:85:ba:9e:
37 0e:a1:b6:7b:f2:4f:2c:78:cf:6b:a8:81:aa:ea:61:
39 a8:2c:21:e3:8c:63:6e:3b:1c:52:32:44:98:6b:0b:
57 a4:cb:c4:dc:50:8b:a9:4b:a8:3b:89:c3:a5:c7:8f:
58 8b:b2:6b:bd:9b:79:be:b8:c8:18:24:90:f5:79:3e:
62 a3:7b:2c:ff:8b:0a:37:8b:47:cb:d0:b4:d4:93:98:
93 1b:55:b5:d5:55:7c:d6:80:a1:a8:f7:1b:4e:b8:6b:
140 a9:aa:8b:e6:99:8a:da:30:c2:6b:7c:3d:8c:6b:55:
177 8b:ac:41:1b:55:b5:d5:55:7c:d6:80:a1:a8:f7:1b:
[all …]
H A Dprv-768-seed.txt31 33:ba:77:46:80:9c:c3:f8:ad:e1:b3:63:9b:d5:7b:
37 97:e9:3e:2f:2b:2f:83:da:0b:ee:f4:aa:85:ba:9e:
43 0e:a1:b6:7b:f2:4f:2c:78:cf:6b:a8:81:aa:ea:61:
45 a8:2c:21:e3:8c:63:6e:3b:1c:52:32:44:98:6b:0b:
63 a4:cb:c4:dc:50:8b:a9:4b:a8:3b:89:c3:a5:c7:8f:
64 8b:b2:6b:bd:9b:79:be:b8:c8:18:24:90:f5:79:3e:
68 a3:7b:2c:ff:8b:0a:37:8b:47:cb:d0:b4:d4:93:98:
99 1b:55:b5:d5:55:7c:d6:80:a1:a8:f7:1b:4e:b8:6b:
146 a9:aa:8b:e6:99:8a:da:30:c2:6b:7c:3d:8c:6b:55:
183 8b:ac:41:1b:55:b5:d5:55:7c:d6:80:a1:a8:f7:1b:
[all …]
H A Dprv-512-seed.txt15 af:f2:26:75:6b:bc:60:1b:65:68:ab:78:4a:cb:ae:
39 4e:31:ca:e0:86:20:6b:34:30:2b:52:0f:5d:17:7a:
46 2b:d9:94:4b:c4:8b:c7:d1:a5:34:33:8b:ad:0b:ad:
65 e4:9b:69:35:12:b6:ce:99:2a:8b:80:16:dd:fc:1a:
82 c0:5b:34:47:83:6c:b2:15:0b:e1:82:9d:ae:6b:04:
86 3b:5b:7f:09:a7:8b:cc:48:82:32:78:35:61:d1:6f:
88 7a:d1:25:22:94:73:6e:8b:01:86:1a:4b:5a:74:51:
89 9b:8b:6f:e5:14:89:a5:07:23:92:e5:87:62:6c:71:
103 31:a6:83:1d:5b:54:c0:b7:90:d2:25:cf:6b:b9:2d:
109 dd:e4:53:9b:4a:b0:82:36:36:83:f0:4b:f7:a0:9c:
[all …]
H A Dprv-512-priv.txt9 af:f2:26:75:6b:bc:60:1b:65:68:ab:78:4a:cb:ae:
33 4e:31:ca:e0:86:20:6b:34:30:2b:52:0f:5d:17:7a:
40 2b:d9:94:4b:c4:8b:c7:d1:a5:34:33:8b:ad:0b:ad:
59 e4:9b:69:35:12:b6:ce:99:2a:8b:80:16:dd:fc:1a:
76 c0:5b:34:47:83:6c:b2:15:0b:e1:82:9d:ae:6b:04:
80 3b:5b:7f:09:a7:8b:cc:48:82:32:78:35:61:d1:6f:
82 7a:d1:25:22:94:73:6e:8b:01:86:1a:4b:5a:74:51:
83 9b:8b:6f:e5:14:89:a5:07:23:92:e5:87:62:6c:71:
97 31:a6:83:1d:5b:54:c0:b7:90:d2:25:cf:6b:b9:2d:
103 dd:e4:53:9b:4a:b0:82:36:36:83:f0:4b:f7:a0:9c:
[all …]
/openssl/crypto/rc5/
H A Drc5_enc.c98 RC5_32_INT a, b, *s; in RC5_32_encrypt() local
103 b = d[1] + s[1]; in RC5_32_encrypt()
104 E_RC5_32(a, b, s, 2); in RC5_32_encrypt()
105 E_RC5_32(a, b, s, 4); in RC5_32_encrypt()
106 E_RC5_32(a, b, s, 6); in RC5_32_encrypt()
107 E_RC5_32(a, b, s, 8); in RC5_32_encrypt()
129 d[1] = b; in RC5_32_encrypt()
134 RC5_32_INT a, b, *s; in RC5_32_decrypt() local
139 b = d[1]; in RC5_32_decrypt()
160 D_RC5_32(a, b, s, 8); in RC5_32_decrypt()
[all …]
/openssl/crypto/bn/asm/
H A Darmv4-gf2m.pl75 $b="r0";
201 mov $b,r3 @ $b=b1
214 eor $b,$b,r3 @ flip b0 and b1
216 eor r3,r3,$b
218 eor $b,$b,r3
225 eor $b,$b,r3
265 vmov $b, r12, r3
272 vext.8 $r#lo, $b, $b, #1 @ B1
276 vext.8 $t3#lo, $b, $b, #2 @ B2
281 vext.8 $r#lo, $b, $b, #3 @ B3
[all …]
H A Dx86_64-gcc.c270 t2 = b[0]; in bn_sub_words()
278 t2 = b[1]; in bn_sub_words()
286 t2 = b[2]; in bn_sub_words()
294 t2 = b[3]; in bn_sub_words()
302 b += 4; in bn_sub_words()
400 mul_add_c(a[0], b[0], c1, c2, c3); in bn_mul_comba8()
403 mul_add_c(a[0], b[1], c2, c3, c1); in bn_mul_comba8()
404 mul_add_c(a[1], b[0], c2, c3, c1); in bn_mul_comba8()
407 mul_add_c(a[2], b[0], c3, c1, c2); in bn_mul_comba8()
408 mul_add_c(a[1], b[1], c3, c1, c2); in bn_mul_comba8()
[all …]
/openssl/include/openssl/
H A Dbio.h.in251 # define BIO_get_flags(b) BIO_test_flags(b, ~(0x0)) argument
515 /* #define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL) */
531 # define BIO_do_connect(b) BIO_do_handshake(b) argument
532 # define BIO_do_accept(b) BIO_do_handshake(b) argument
537 # define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd) argument
545 # define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL) argument
546 # define BIO_tell(b) (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL) argument
566 # define BIO_rw_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \ argument
606 # define BIO_eof(b) (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL) argument
620 # define BIO_buffer_get_num_lines(b) BIO_ctrl(b,BIO_CTRL_GET,0,NULL) argument
[all …]

Completed in 2776 milliseconds

12345678910>>...26