Home
last modified time | relevance | path

Searched refs:OPENSSL_assert (Results 1 – 19 of 19) sorted by relevance

/openbsd/lib/libcrypto/evp/
H A Dbio_b64.c178 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read()
375 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write()
383 OPENSSL_assert(i <= n); in b64_write()
386 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write()
401 OPENSSL_assert(ctx->tmp_len <= 3); in b64_write()
414 OPENSSL_assert(ctx->buf_len <= in b64_write()
431 OPENSSL_assert(ctx->buf_len <= in b64_write()
442 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write()
456 OPENSSL_assert(i <= n); in b64_write()
491 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_ctrl()
[all …]
H A Devp_encode.c159 OPENSSL_assert(ctx->length <= (int)sizeof(ctx->enc_data)); in EVP_EncodeUpdate()
319 OPENSSL_assert(n < (int)sizeof(ctx->enc_data)); in EVP_DecodeUpdate()
/openbsd/lib/libssl/
H A Ds3_cbc.c215 OPENSSL_assert(orig_len >= md_size); in ssl3_cbc_copy_mac()
216 OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE); in ssl3_cbc_copy_mac()
415 OPENSSL_assert(data_plus_mac_plus_padding_size < 1024*1024); in ssl3_cbc_digest_record()
463 OPENSSL_assert(0); in ssl3_cbc_digest_record()
469 OPENSSL_assert(md_length_size <= MAX_HASH_BIT_COUNT_BYTES); in ssl3_cbc_digest_record()
470 OPENSSL_assert(md_block_size <= MAX_HASH_BLOCK_SIZE); in ssl3_cbc_digest_record()
471 OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE); in ssl3_cbc_digest_record()
528 OPENSSL_assert(mac_secret_length <= sizeof(hmac_pad)); in ssl3_cbc_digest_record()
H A Dd1_both.c145 OPENSSL_assert((msg_len) > 0); \
237 OPENSSL_assert(s->d1->mtu >= dtls1_min_mtu()); in dtls1_do_write()
241 OPENSSL_assert(s->init_num == in dtls1_do_write()
269 OPENSSL_assert(s->init_off > DTLS1_HM_HEADER_LENGTH); in dtls1_do_write()
287 OPENSSL_assert(len >= DTLS1_HM_HEADER_LENGTH); in dtls1_do_write()
313 OPENSSL_assert(len == (unsigned int)ret); in dtls1_do_write()
951 OPENSSL_assert(s->init_off == 0); in dtls1_buffer_message()
959 OPENSSL_assert(s->d1->w_msg_hdr.msg_len + in dtls1_buffer_message()
H A Dt1_enc.c174 OPENSSL_assert(chunk >= 0); in tls1_P_hash()
H A Dd1_pkt.c978 OPENSSL_assert(len <= SSL3_RT_MAX_PLAIN_LENGTH); in dtls1_write_bytes()
999 OPENSSL_assert(0); /* XDTLS: want to see if we ever get here */ in do_dtls1_write()
H A Dssl_srvr.c2451 OPENSSL_assert(md_len <= EVP_MAX_MD_SIZE); in ssl3_get_client_finished()
H A Dssl_clnt.c2447 OPENSSL_assert(md_len <= EVP_MAX_MD_SIZE); in ssl3_get_server_finished()
H A Dssl_lib.c275 OPENSSL_assert(s->sid_ctx_length <= sizeof s->sid_ctx); in SSL_new()
/openbsd/usr.bin/openssl/
H A Ds_cb.c826 OPENSSL_assert(0); in generate_cookie_callback()
847 OPENSSL_assert(0); in generate_cookie_callback()
893 OPENSSL_assert(0); in verify_cookie_callback()
914 OPENSSL_assert(0); in verify_cookie_callback()
H A Docsp.c1356 OPENSSL_assert(bn); /* FIXME: should report an error at this in lookup_serial()
/openbsd/lib/libcrypto/objects/
H A Dobj_dat.c324 OPENSSL_assert(*nid < NUM_NID); in obj_objs_cmp()
366 OPENSSL_assert(*nid < NUM_NID); in sn_objs_cmp()
405 OPENSSL_assert(*nid < NUM_NID); in ln_objs_cmp()
/openbsd/lib/libcrypto/x509/
H A Dx509_trs.c116 OPENSSL_assert(trust_id == 0 || in nid_from_trust_id()
H A Dx509_asid.c383 OPENSSL_assert((a->type == ASIdOrRange_id && a->u.id != NULL) || in ASIdOrRange_cmp()
387 OPENSSL_assert((b->type == ASIdOrRange_id && b->u.id != NULL) || in ASIdOrRange_cmp()
/openbsd/lib/libcrypto/
H A Dcrypto_ex_data.c304 OPENSSL_assert(src_ced->class_index == class_index); in CRYPTO_dup_ex_data()
359 OPENSSL_assert(ced->class_index == class_index); in CRYPTO_free_ex_data()
H A Dcrypto.h374 #define OPENSSL_assert(e) (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1)) macro
/openbsd/lib/libcrypto/aes/
H A Daes_ige.c86 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0); in AES_ige_encrypt()
/openbsd/lib/libcrypto/conf/
H A Dconf_api.c266 OPENSSL_assert(vv == NULL); in _CONF_new_section()
/openbsd/lib/libcrypto/err/
H A Derr.c756 OPENSSL_assert(id == NULL); in ERR_remove_thread_state()