/third_party/openssl/fuzz/ |
D | server.c | 538 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 540 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 545 OPENSSL_assert(privkey != NULL); in FuzzerTestOneInput() 549 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 554 OPENSSL_assert(cert != NULL); in FuzzerTestOneInput() 556 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 562 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSAPrivateKeyPEM, sizeof(ECDSAPrivateKeyPEM)) == sizeo… in FuzzerTestOneInput() 565 OPENSSL_assert(ecdsakey != NULL); in FuzzerTestOneInput() 570 OPENSSL_assert(ret == 1); in FuzzerTestOneInput() 574 …OPENSSL_assert((size_t)BIO_write(bio_buf, ECDSACertPEM, sizeof(ECDSACertPEM)) == sizeof(ECDSACertP… in FuzzerTestOneInput() [all …]
|
D | bignum.c | 65 OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1); in FuzzerTestOneInput() 67 OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2); in FuzzerTestOneInput() 68 OPENSSL_assert(BN_bin2bn(buf + l1 + l2, l3, b3) == b3); in FuzzerTestOneInput() 77 OPENSSL_assert(BN_mod_exp(b4, b1, b2, b3, ctx)); in FuzzerTestOneInput() 78 OPENSSL_assert(BN_mod_exp_simple(b5, b1, b2, b3, ctx)); in FuzzerTestOneInput() 95 OPENSSL_assert(success); in FuzzerTestOneInput()
|
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()
|
D | client.c | 76 OPENSSL_assert(SSL_set_min_proto_version(client, 0) == 1); in FuzzerTestOneInput() 77 OPENSSL_assert(SSL_set_cipher_list(client, "ALL:eNULL:@SECLEVEL=0") == 1); in FuzzerTestOneInput() 83 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
D | conf.c | 37 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
D | cms.c | 37 OPENSSL_assert((size_t)BIO_write(in, buf, len) == len); in FuzzerTestOneInput()
|
D | test-corpus.c | 54 OPENSSL_assert(s == (size_t)st.st_size); in testfile()
|
/third_party/openssl/crypto/ |
D | mem_sec.c | 304 OPENSSL_assert((bit & 1) == 0); in sh_getlist() 315 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_testbit() 316 OPENSSL_assert(((ptr - sh.arena) & ((sh.arena_size >> list) - 1)) == 0); in sh_testbit() 318 OPENSSL_assert(bit > 0 && bit < sh.bittable_size); in sh_testbit() 326 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_clearbit() 327 OPENSSL_assert(((ptr - sh.arena) & ((sh.arena_size >> list) - 1)) == 0); in sh_clearbit() 329 OPENSSL_assert(bit > 0 && bit < sh.bittable_size); in sh_clearbit() 330 OPENSSL_assert(TESTBIT(table, bit)); in sh_clearbit() 338 OPENSSL_assert(list >= 0 && list < sh.freelist_size); in sh_setbit() 339 OPENSSL_assert(((ptr - sh.arena) & ((sh.arena_size >> list) - 1)) == 0); in sh_setbit() [all …]
|
/third_party/openssl/crypto/evp/ |
D | bio_b64.c | 137 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read() 141 OPENSSL_assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read() 351 OPENSSL_assert(ctx->buf_off < (int)sizeof(ctx->buf)); in b64_write() 352 OPENSSL_assert(ctx->buf_len <= (int)sizeof(ctx->buf)); in b64_write() 353 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write() 361 OPENSSL_assert(i <= n); in b64_write() 363 OPENSSL_assert(ctx->buf_off <= (int)sizeof(ctx->buf)); in b64_write() 364 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write() 379 OPENSSL_assert(ctx->tmp_len <= 3); in b64_write() 394 OPENSSL_assert(ctx->buf_len <= (int)sizeof(ctx->buf)); in b64_write() [all …]
|
D | evp_enc.c | 156 OPENSSL_assert(ctx->cipher->block_size == 1 in EVP_CipherInit_ex() 181 OPENSSL_assert(EVP_CIPHER_CTX_iv_length(ctx) <= in EVP_CipherInit_ex() 350 OPENSSL_assert(bl <= (int)sizeof(ctx->buf)); in evp_EncryptDecryptUpdate() 437 OPENSSL_assert(b <= sizeof(ctx->buf)); in EVP_EncryptFinal_ex() 510 OPENSSL_assert(b <= sizeof(ctx->final)); in EVP_DecryptUpdate() 602 OPENSSL_assert(b <= sizeof(ctx->final)); in EVP_DecryptFinal_ex()
|
D | evp_key.c | 86 OPENSSL_assert(nkey <= EVP_MAX_KEY_LENGTH); in EVP_BytesToKey() 87 OPENSSL_assert(niv <= EVP_MAX_IV_LENGTH); in EVP_BytesToKey()
|
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()
|
D | evp_lib.c | 94 OPENSSL_assert(l <= sizeof(c->iv)); in EVP_CIPHER_get_asn1_iv() 111 OPENSSL_assert(j <= sizeof(c->iv)); in EVP_CIPHER_set_asn1_iv()
|
D | e_rc2.c | 131 OPENSSL_assert(l <= sizeof(iv)); in rc2_get_asn1_type_and_iv()
|
D | p5_crpt2.c | 203 OPENSSL_assert(keylen <= sizeof(key)); in PKCS5_v2_PBKDF2_keyivgen()
|
D | digest.c | 183 OPENSSL_assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex()
|
/third_party/openssl/crypto/aes/ |
D | aes_ige.c | 51 OPENSSL_assert(in && out && key && ivec); in AES_ige_encrypt() 52 OPENSSL_assert((AES_ENCRYPT == enc) || (AES_DECRYPT == enc)); in AES_ige_encrypt() 53 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0); in AES_ige_encrypt() 187 OPENSSL_assert(in && out && key && ivec); in AES_bi_ige_encrypt() 188 OPENSSL_assert((AES_ENCRYPT == enc) || (AES_DECRYPT == enc)); in AES_bi_ige_encrypt() 189 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0); in AES_bi_ige_encrypt()
|
/third_party/openssl/test/testutil/ |
D | basic_output.c | 30 OPENSSL_assert(bio_out != NULL); in test_open_streams() 31 OPENSSL_assert(bio_err != NULL); in test_open_streams()
|
/third_party/openssl/crypto/ts/ |
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()
|
/third_party/openssl/test/ |
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()
|
/third_party/openssl/apps/ |
D | s_socket.c | 97 OPENSSL_assert((family == AF_UNSPEC in init_client() 233 OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) in do_server()
|
D | storeutl.c | 130 OPENSSL_assert(expected != 0); in storeutl_main()
|
D | s_cb.c | 782 OPENSSL_assert(length != 0); in generate_cookie_callback() 1102 OPENSSL_assert(num == 2); in print_raw_cipherlist()
|
/third_party/openssl/crypto/bio/ |
D | bss_dgram.c | 229 OPENSSL_assert(sz.s <= sizeof(data->socket_timeout)); in dgram_adjust_rcv_timeout() 639 OPENSSL_assert(sz.s <= sizeof(struct timeval)); in dgram_ctrl() 696 OPENSSL_assert(sz.s <= sizeof(struct timeval)); in dgram_ctrl() 1153 OPENSSL_assert(optval >= 18445); in dgram_sctp_read() 1164 OPENSSL_assert(optval >= 18445); in dgram_sctp_read() 1169 OPENSSL_assert(!(msg.msg_flags & MSG_NOTIFICATION)); in dgram_sctp_read()
|
/third_party/openssl/include/openssl/ |
D | crypto.h | 326 # define OPENSSL_assert(e) \ macro
|