/openssl/fuzz/corpora/conf/ |
H A D | 006d8b0d4f7b5a4552130cf0d9ded70c919a4298 | 1 …b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\…
|
H A D | f98b71e8fc82f4ad850e4d0ae0b1f8a8b8324b9e | 1 =\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
|
H A D | 39bb0b34dd4ccdffd50b3bcfd3a497a122b1b0f9 | 1 =\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
|
/openssl/test/ |
H A D | testutil.h | 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 397 # define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) argument 398 # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) argument 399 # define TEST_int_ge(a, b) test_int_ge(__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 [all …]
|
H A D | constant_time_test.c | 264 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 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 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 D | bio_enc_test.c | 41 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() 87 BIO_free_all(b); in do_bio_cipher() 126 if (!TEST_ptr(b)) in do_bio_cipher() 134 BIO_push(b, mem); in do_bio_cipher() 135 (void)BIO_flush(b); in do_bio_cipher() 138 BIO_free_all(b); in do_bio_cipher() [all …]
|
/openssl/crypto/aes/asm/ |
H A D | bsaes-armv8.pl | 1078 eor v1.16b, v4.16b, v1.16b 1080 eor v2.16b, v2.16b, v4.16b 1081 eor v0.16b, v6.16b, v0.16b 1085 eor v0.16b, v7.16b, v4.16b 1091 eor v0.16b, v5.16b, v2.16b 1092 eor v1.16b, v3.16b, v1.16b 1130 eor v1.16b, v1.16b, v5.16b 1132 eor v6.16b, v6.16b, v8.16b 1134 eor v4.16b, v4.16b, v9.16b 1137 eor v0.16b, v7.16b, v0.16b [all …]
|
/openssl/crypto/bio/ |
H A D | bio_lib.c | 25 # define HAS_CALLBACK(b) ((b)->callback != NULL || (b)->callback_ex != NULL) argument 27 # define HAS_CALLBACK(b) ((b)->callback_ex != NULL) argument 519 ret = b->method->bputs(b, buf); in BIO_puts() 573 ret = b->method->bgets(b, buf, size); in BIO_gets() 673 ret = b->method->ctrl(b, cmd, larg, parg); in BIO_ctrl() 701 ret = b->method->callback_ctrl(b, cmd, fp); in BIO_callback_ctrl() 752 BIO_ctrl(b, BIO_CTRL_POP, 0, b); in BIO_pop() 755 b->prev_bio->next_bio = b->next_bio; in BIO_pop() 757 b->next_bio->prev_bio = b->prev_bio; in BIO_pop() 773 b = b->next_bio; in BIO_get_retry_BIO() [all …]
|
H A D | bss_bio.c | 291 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 D | bf_prefix.c | 21 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 …]
|
H A D | bss_sock.c | 168 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() 194 b->shutdown = (int)num; 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() [all …]
|
/openssl/include/internal/ |
H A D | constant_time.h | 124 return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt() 129 return constant_time_msb_s(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_s() 140 return constant_time_msb_64(a ^ ((a ^ b) | ((a - b) ^ b))); in constant_time_lt_64() 146 return ~constant_time_lt(a, b); in constant_time_ge() 151 return ~constant_time_lt_s(a, b); in constant_time_ge_s() 334 uint32_t xor = *a ^ *b; in constant_time_cond_swap_32() 338 *b ^= xor; in constant_time_cond_swap_32() 354 uint64_t xor = *a ^ *b; in constant_time_cond_swap_64() 358 *b ^= xor; in constant_time_cond_swap_64() 382 tmp = a[i] ^ b[i]; in constant_time_cond_swap_buff() [all …]
|
H A D | safe_math.h | 34 type b, \ 39 if (!__builtin_add_overflow(a, b, &r)) \ 47 type b, \ 52 if (!__builtin_add_overflow(a, b, &r)) \ 61 type b, \ 64 if ((a < 0) ^ (b < 0) \ 108 || (b > 0 && a >= min + b) \ 109 || (b < 0 && a <= max + b) \ 172 const type y = b < 0 ? -b : b; \ 391 return (a + b - 1) / b; \ [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 …]
|
/openssl/crypto/bn/ |
H A D | bn_blind.c | 97 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_update() 105 if (++b->counter == BN_BLINDING_COUNTER && b->e != NULL && in BN_BLINDING_update() 112 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx) in BN_BLINDING_update() 113 || !bn_mul_mont_fixed_top(b->A, b->A, b->A, b->m_ctx, ctx)) in BN_BLINDING_update() 116 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update() 117 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 140 if ((b->A == NULL) || (b->Ai == NULL)) { in BN_BLINDING_convert_ex() 155 ret = BN_mod_mul_montgomery(n, n, b->A, b->m_ctx, ctx); in BN_BLINDING_convert_ex() 157 ret = BN_mod_mul(n, n, b->A, b->mod, ctx); in BN_BLINDING_convert_ex() 246 if (b == NULL) in BN_BLINDING_create_param() [all …]
|
H A D | bn_mul.c | 41 b += cl; in bn_sub_part_words() 45 t = b[0]; in bn_sub_part_words() 73 b += 4; in bn_sub_part_words() 209 c2 = bn_cmp_part_words(&(b[n]), b, tnb, tnb - n); in bn_mul_recursive() 239 bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); in bn_mul_recursive() 336 c2 = bn_cmp_part_words(&(b[n]), b, tnb, tnb - n); in bn_mul_part_recursive() 360 bn_sub_part_words(&(t[n]), &(b[n]), b, tnb, tnb - n); in bn_mul_part_recursive() 525 bl = b->top; in bn_mul_fixed_top() 634 a = b; in bn_mul_normal() 660 b += 4; in bn_mul_normal() [all …]
|
/openssl/crypto/rc5/ |
H A D | rc5_enc.c | 98 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 D | armv4-gf2m.pl | 75 $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 D | x86_64-gcc.c | 270 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/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 …]
|
/openssl/include/openssl/ |
H A D | bio.h.in | 226 # define BIO_get_flags(b) BIO_test_flags(b, ~(0x0)) argument 468 /* #define BIO_set_nbio(b,n) BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL) */ 484 # define BIO_do_connect(b) BIO_do_handshake(b) argument 485 # define BIO_do_accept(b) BIO_do_handshake(b) argument 490 # define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd) argument 498 # define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL) argument 499 # define BIO_tell(b) (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL) argument 519 # define BIO_rw_filename(b,name) (int)BIO_ctrl(b,BIO_C_SET_FILENAME, \ argument 559 # define BIO_eof(b) (int)BIO_ctrl(b,BIO_CTRL_EOF,0,NULL) argument 573 # define BIO_buffer_get_num_lines(b) BIO_ctrl(b,BIO_CTRL_GET,0,NULL) argument [all …]
|
/openssl/crypto/asn1/ |
H A D | bio_asn1.c | 111 BIO_set_data(b, ctx); in asn1_bio_new() 112 BIO_set_init(b, 1); in asn1_bio_new() 134 if (b == NULL) in asn1_bio_free() 137 ctx = BIO_get_data(b); in asn1_bio_free() 148 BIO_set_data(b, NULL); in asn1_bio_free() 149 BIO_set_init(b, 0); in asn1_bio_free() 161 ctx = BIO_get_data(b); in asn1_bio_write() 162 next = BIO_next(b); in asn1_bio_write() 248 BIO_copy_next_retry(b); in asn1_bio_write() 331 ctx = BIO_get_data(b); in asn1_bio_ctrl() [all …]
|
/openssl/crypto/sha/asm/ |
H A D | sha1-sparcv9a.pl | 168 srl $b,2,$b 188 srl $b,2,$b 220 srl $b,2,$b 239 srl $b,2,$b 257 srl $b,2,$b 271 srl $b,2,$b 299 srl $b,2,$b 320 srl $b,2,$b 350 srl $b,2,$b 370 srl $b,2,$b [all …]
|
H A D | sha1-alpha.pl | 78 sll $b,30,$b 90 or $t3,$b,$b 101 sll $b,30,$b 110 or $t3,$b,$b 128 sll $b,30,$b 136 or $t3,$b,$b 156 srl $b,2,$b 166 or $t3,$b,$b 184 srl $b,2,$b 193 or $t3,$b,$b [all …]
|