/freebsd/crypto/openssl/fuzz/ |
H A D | server.c | 545 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 547 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 553 OPENSSL_assert(privkey != NULL); in FuzzerTestOneInput() 557 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 563 OPENSSL_assert(cert != NULL); in FuzzerTestOneInput() 565 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 572 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSAPrivateKeyPEM, sizeof(ECDSAPrivateKeyPEM)) == sizeo… in FuzzerTestOneInput() 575 OPENSSL_assert(ecdsakey != NULL); in FuzzerTestOneInput() 580 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 584 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSACertPEM, sizeof(ECDSACertPEM)) == sizeof(ECDSACertP… in FuzzerTestOneInput() [all …]
|
H A D | bignum.c | 66 OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1); in FuzzerTestOneInput() 68 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput() 69 OPENSSL_assert(BN_bin2bn(buf + l1 + l2, l3, b3) == b3); in FuzzerTestOneInput() 78 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput() 79 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx)); in FuzzerTestOneInput() 96 OPENSSL_assert(success); in FuzzerTestOneInput()
|
H A D | bndiv.c | 72 OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1); in FuzzerTestOneInput() 74 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput() 83 OPENSSL_assert(BN_div(b3, b4, b1, b2, ctx)); in FuzzerTestOneInput() 92 OPENSSL_assert(BN_mul(b5, b3, b2, ctx)); in FuzzerTestOneInput() 93 OPENSSL_assert(BN_add(b5, b5, b4)); in FuzzerTestOneInput() 117 OPENSSL_assert(success); in FuzzerTestOneInput()
|
H A D | client.c | 74 OPENSSL_assert(SSL_set_min_proto_version(client, 0) == 1); in FuzzerTestOneInput() 75 OPENSSL_assert(SSL_set_cipher_list(client, "ALL:eNULL:@SECLEVEL=0") == 1); in FuzzerTestOneInput() 87 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
H A D | conf.c | 37 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
H A D | cms.c | 37 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
H A D | test-corpus.c | 54 OPENSSL_assert(s == (size_t)st.st_size); in testfile()
|
H A D | cmp.c | 167 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
/freebsd/crypto/openssl/crypto/ |
H A D | mem_sec.c | 332 OPENSSL_assert((bit & 1) == 0); in sh_getlist() 343 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_testbit() 344 OPENSSL_assert(((ptr - sh.arena) & ((sh.arena_size >> list) - 1)) == 0); in sh_testbit() 346 OPENSSL_assert(bit > 0 && bit < sh.bittable_size); in sh_testbit() 354 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_clearbit() 355 OPENSSL_assert(((ptr - sh.arena) & ((sh.arena_size >> list) - 1)) == 0); in sh_clearbit() 357 OPENSSL_assert(bit > 0 && bit < sh.bittable_size); in sh_clearbit() 358 OPENSSL_assert(TESTBIT(table, bit)); in sh_clearbit() 366 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_setbit() 367 OPENSSL_assert(((ptr - sh.arena) & ((sh.arena_size >> list) - 1)) == 0); in sh_setbit() [all …]
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | bio_b64.c | 135 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read() 139 OPENSSL_assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read() 349 OPENSSL_assert(ctx->buf_off < (int)sizeof(ctx->buf)); in b64_write() 350 OPENSSL_assert(ctx->buf_len <= (int)sizeof(ctx->buf)); in b64_write() 351 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write() 359 OPENSSL_assert(i <= n); in b64_write() 361 OPENSSL_assert(ctx->buf_off <= (int)sizeof(ctx->buf)); in b64_write() 362 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write() 377 OPENSSL_assert(ctx->tmp_len <= 3); in b64_write() 392 OPENSSL_assert(ctx->buf_len <= (int)sizeof(ctx->buf)); in b64_write() [all …]
|
H A D | evp_key.c | 90 OPENSSL_assert(nkey <= EVP_MAX_KEY_LENGTH); in EVP_BytesToKey() 91 OPENSSL_assert(niv <= EVP_MAX_IV_LENGTH); in EVP_BytesToKey()
|
H A D | encode.c | 171 OPENSSL_assert(ctx->length <= (int)sizeof(ctx->enc_data)); in EVP_EncodeUpdate() 367 OPENSSL_assert(n < (int)sizeof(ctx->enc_data)); in EVP_DecodeUpdate()
|
H A D | e_rc2.c | 140 OPENSSL_assert(l <= sizeof(iv)); in rc2_get_asn1_type_and_iv()
|
H A D | evp_enc.c | 371 OPENSSL_assert(ctx->cipher->block_size == 1 in evp_cipher_init_internal() 603 OPENSSL_assert(bl <= (int)sizeof(ctx->buf)); in evp_EncryptDecryptUpdate() 771 OPENSSL_assert(b <= sizeof(ctx->buf)); in EVP_EncryptFinal_ex() 876 OPENSSL_assert(b <= sizeof(ctx->final)); in EVP_DecryptUpdate() 1007 OPENSSL_assert(b <= sizeof(ctx->final)); in EVP_DecryptFinal_ex()
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | opt.c | 188 OPENSSL_assert(o->name[0] != '-'); in opt_init() 190 OPENSSL_assert(o->retval == OPT_PARAM); in opt_init() 192 OPENSSL_assert(o->retval == OPT_DUP || o->retval > OPT_PARAM); in opt_init() 200 OPENSSL_assert(0); in opt_init() 213 OPENSSL_assert(!duplicated); in opt_init() 218 OPENSSL_assert(unknown == NULL); in opt_init() 220 OPENSSL_assert(unknown->valtype == 0 || unknown->valtype == '-'); in opt_init() 685 OPENSSL_assert(vpm != NULL); in opt_verify() 686 OPENSSL_assert(opt > OPT_V__FIRST); in opt_verify() 687 OPENSSL_assert(opt < OPT_V__LAST); in opt_verify() [all …]
|
H A D | s_socket.c | 112 OPENSSL_assert((family == AF_UNSPEC in init_client() 286 OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) in do_server()
|
/freebsd/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 58 OPENSSL_assert(in && out && key && ivec); in AES_ige_encrypt() 59 OPENSSL_assert((AES_ENCRYPT == enc) || (AES_DECRYPT == enc)); in AES_ige_encrypt() 60 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0); in AES_ige_encrypt() 200 OPENSSL_assert(in && out && key && ivec); in AES_bi_ige_encrypt() 201 OPENSSL_assert((AES_ENCRYPT == enc) || (AES_DECRYPT == enc)); in AES_bi_ige_encrypt() 202 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0); in AES_bi_ige_encrypt()
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | basic_output.c | 41 OPENSSL_assert(bio_out != NULL); in test_open_streams() 42 OPENSSL_assert(bio_err != NULL); in test_open_streams()
|
H A D | options.c | 43 OPENSSL_assert(n < sizeof(used)); in test_get_argument()
|
/freebsd/crypto/openssl/test/ |
H A D | bio_prefix_text.c | 155 OPENSSL_assert(bio_in != NULL); in setup() 156 OPENSSL_assert(bio_out != NULL); in setup() 157 OPENSSL_assert(bio_err != NULL); in setup()
|
H A D | asn1_encode_test.c | 570 OPENSSL_assert(len < 0x8000); in der_encode_length() 663 OPENSSL_assert(seqbytes == (size_t)(p - *encoding)); in make_custom_der() 716 OPENSSL_assert(package->encode_expectations_elem_size <= DATA_BUF_SIZE); in do_print_item() 741 OPENSSL_assert(nelems == in test_intern()
|
/freebsd/crypto/openssl/crypto/ts/ |
H A D | ts_verify_ctx.c | 26 OPENSSL_assert(ctx != NULL); in TS_VERIFY_CTX_init() 110 OPENSSL_assert(req != NULL); in TS_REQ_to_TS_VERIFY_CTX()
|
/freebsd/crypto/openssl/util/ |
H A D | missingmacro.txt | 55 OPENSSL_assert(3)
|
H A D | missingmacro111.txt | 64 OPENSSL_assert(3)
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bss_dgram.c | 221 OPENSSL_assert(sz <= sizeof(data->socket_timeout)); in dgram_adjust_rcv_timeout() 626 OPENSSL_assert(sz <= sizeof(struct timeval)); in dgram_ctrl() 677 OPENSSL_assert(sz <= sizeof(struct timeval)); in dgram_ctrl() 1135 OPENSSL_assert(optval >= 18445); in dgram_sctp_read() 1146 OPENSSL_assert(optval >= 18445); in dgram_sctp_read() 1151 OPENSSL_assert(!(msg.msg_flags & MSG_NOTIFICATION)); in dgram_sctp_read()
|