/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 25 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set_pvno() 34 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_get_pvno() 43 if (!ossl_assert(hdr != NULL) in ossl_cmp_hdr_get_protection_nid() 61 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_get0_senderNonce() 99 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set1_sender() 106 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set1_recipient() 113 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_update_messageTime() 138 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set1_senderKID() 184 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_generalInfo_push1_items() 205 if (!ossl_assert(hdr != NULL)) in ossl_cmp_hdr_set_implicitConfirm() [all …]
|
H A D | cmp_msg.c | 164 if (!ossl_assert(ctx != NULL)) in ossl_cmp_msg_create() 382 if (!ossl_assert(ctx != NULL)) in ossl_cmp_certreq_new() 528 if (!ossl_assert(ctx != NULL in ossl_cmp_rr_new() 632 if (!ossl_assert(ctx != NULL)) in ossl_cmp_pkiconf_new() 670 if (!ossl_assert(msg != NULL)) in ossl_cmp_msg_gen_push1_ITAVs() 694 if (!ossl_assert(ctx != NULL)) in gen_new() 880 if (!ossl_assert(ctx != NULL)) in ossl_cmp_pollReq_new() 910 if (!ossl_assert(ctx != NULL)) in ossl_cmp_pollRep_new() 946 if (!ossl_assert(rrep != NULL)) in ossl_cmp_revrepcontent_get_pkisi() 1005 if (!ossl_assert(prc != NULL)) in ossl_cmp_pollrepcontent_get0_pollrep() [all …]
|
H A D | cmp_status.c | 35 if (!ossl_assert(si != NULL && si->status != NULL)) in ossl_cmp_pkisi_get_status() 67 if (!ossl_assert(si != NULL)) in ossl_cmp_pkisi_get0_statusString() 77 if (!ossl_assert(si != NULL)) in ossl_cmp_pkisi_get_pkifailureinfo() 154 if (!ossl_assert(si != NULL && si->failInfo != NULL)) in ossl_cmp_pkisi_check_pkifailureinfo()
|
H A D | cmp_server.c | 180 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL in delayed_delivery() 225 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) in process_cert_request() 318 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) in process_rr() 360 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) in process_genm() 377 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) in process_error() 397 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) in process_certConf() 452 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL in process_non_polling_request() 512 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) in process_pollReq() 553 if (!ossl_assert(ctx != NULL && req != NULL)) in unprotected_exception()
|
H A D | cmp_protect.c | 42 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_calc_protection() 136 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_msg_add_extraCerts() 197 if (!ossl_assert(ctx != NULL)) in pbmac_algor() 231 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_msg_protect()
|
/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 149 if (!ossl_assert(ctx != NULL)) { in OSSL_ENCODER_CTX_set_selection() 154 if (!ossl_assert(selection != 0)) { in OSSL_ENCODER_CTX_set_selection() 166 if (!ossl_assert(ctx != NULL) || !ossl_assert(output_type != NULL)) { in OSSL_ENCODER_CTX_set_output_type() 178 if (!ossl_assert(ctx != NULL) || !ossl_assert(output_structure != NULL)) { in OSSL_ENCODER_CTX_set_output_structure() 196 if (!ossl_assert(encoder != NULL)) { in ossl_encoder_instance_new() 290 if (!ossl_assert(ctx != NULL) || !ossl_assert(encoder != NULL)) { in OSSL_ENCODER_CTX_add_encoder() 332 if (!ossl_assert(ctx != NULL)) { in OSSL_ENCODER_CTX_set_construct() 343 if (!ossl_assert(ctx != NULL)) { in OSSL_ENCODER_CTX_set_construct_data() 354 if (!ossl_assert(ctx != NULL)) { in OSSL_ENCODER_CTX_set_cleanup() 584 if (!ossl_assert(data->running_output != NULL)) { in encoder_process()
|
H A D | decoder_lib.c | 168 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_selection() 184 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_input_type() 200 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_input_structure() 222 if (!ossl_assert(decoder != NULL)) { in ossl_decoder_instance_new() 348 if (!ossl_assert(ctx != NULL) || !ossl_assert(decoder != NULL)) { in OSSL_DECODER_CTX_add_decoder() 520 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_add_extra() 603 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_construct() 614 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_construct_data() 625 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_cleanup() 663 if (!(ossl_assert(decoder_inst != NULL) in OSSL_DECODER_export() [all …]
|
H A D | decoder_meth.c | 456 if (!ossl_assert(decoder != NULL)) { in OSSL_DECODER_get0_provider() 466 if (!ossl_assert(decoder != NULL)) { in OSSL_DECODER_get0_properties() 477 if (!ossl_assert(decoder != NULL)) { in ossl_decoder_parsed_properties() 487 if (!ossl_assert(decoder != NULL)) { in ossl_decoder_get_number() 637 if (!ossl_assert(ctx != NULL)) { in OSSL_DECODER_CTX_set_params()
|
H A D | encoder_meth.c | 465 if (!ossl_assert(encoder != NULL)) { in OSSL_ENCODER_get0_provider() 475 if (!ossl_assert(encoder != NULL)) { in OSSL_ENCODER_get0_properties() 486 if (!ossl_assert(encoder != NULL)) { in ossl_encoder_parsed_properties() 496 if (!ossl_assert(encoder != NULL)) { in ossl_encoder_get_number() 621 if (!ossl_assert(ctx != NULL)) { in OSSL_ENCODER_CTX_set_params()
|
/openssl/ssl/record/methods/ |
H A D | ktls_meth.c | 191 || !ossl_assert(EVP_GCM_TLS_EXPLICIT_IV_LEN in ktls_configure_crypto() 195 if (!ossl_assert(ivlen == EVP_GCM_TLS_FIXED_IV_LEN)) in ktls_configure_crypto() 206 if (!ossl_assert(ivlen == EVP_GCM_TLS_FIXED_IV_LEN in ktls_configure_crypto() 217 if (!ossl_assert(TLS_CIPHER_AES_GCM_128_SALT_SIZE in ktls_configure_crypto() 219 || !ossl_assert(TLS_CIPHER_AES_GCM_128_IV_SIZE in ktls_configure_crypto() 234 if (!ossl_assert(TLS_CIPHER_AES_GCM_256_SALT_SIZE in ktls_configure_crypto() 236 || !ossl_assert(TLS_CIPHER_AES_GCM_256_IV_SIZE in ktls_configure_crypto() 252 if (!ossl_assert(TLS_CIPHER_AES_CCM_128_SALT_SIZE in ktls_configure_crypto() 254 || !ossl_assert(TLS_CIPHER_AES_CCM_128_IV_SIZE in ktls_configure_crypto() 269 if (!ossl_assert(ivlen == TLS_CIPHER_CHACHA20_POLY1305_IV_SIZE)) in ktls_configure_crypto() [all …]
|
H A D | ssl3_cbc.c | 167 if (!ossl_assert(data_plus_mac_plus_padding_size < 1024 * 1024)) in ssl3_cbc_digest_record() 229 return ossl_assert(0); in ssl3_cbc_digest_record() 232 if (!ossl_assert(md_length_size <= MAX_HASH_BIT_COUNT_BYTES) in ssl3_cbc_digest_record() 233 || !ossl_assert(md_block_size <= MAX_HASH_BLOCK_SIZE) in ssl3_cbc_digest_record() 234 || !ossl_assert(md_size <= EVP_MAX_MD_SIZE)) in ssl3_cbc_digest_record() 335 if (!ossl_assert(mac_secret_length <= sizeof(hmac_pad))) in ssl3_cbc_digest_record()
|
/openssl/crypto/ |
H A D | packet.c | 49 if (!ossl_assert(pkt->subs != NULL && len != 0)) in WPACKET_reserve_bytes() 135 if (!ossl_assert(buf != NULL && len > 0)) in WPACKET_init_static_len() 149 if (!ossl_assert(buf != NULL && len > 0)) in WPACKET_init_der() 163 if (!ossl_assert(buf != NULL)) in WPACKET_init_len() 202 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_set_flags() 323 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_fill_lengths() 372 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_start_sub_packet_len__() 410 if (!ossl_assert(size <= sizeof(uint64_t)) in WPACKET_put_bytes__() 424 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_set_max_size() 489 if (!ossl_assert(written != NULL)) in WPACKET_get_total_written() [all …]
|
H A D | passphrase.c | 37 if (!ossl_assert(data != NULL && passphrase != NULL)) { in ossl_pw_set_passphrase() 55 if (!ossl_assert(data != NULL && cb != NULL)) { in ossl_pw_set_pem_password_cb() 69 if (!ossl_assert(data != NULL && cb != NULL)) { in ossl_pw_set_ossl_passphrase_cb() 83 if (!ossl_assert(data != NULL && ui_method != NULL)) { in ossl_pw_set_ui_method() 125 if (!ossl_assert(pass != NULL && pass_size != 0 && pass_len != NULL)) { in do_ui_passphrase()
|
H A D | threads_none.c | 114 if (!ossl_assert(*(unsigned int *)lock == 1)) in CRYPTO_THREAD_read_lock() 121 if (!ossl_assert(*(unsigned int *)lock == 1)) in CRYPTO_THREAD_write_lock() 128 if (!ossl_assert(*(unsigned int *)lock == 1)) in CRYPTO_THREAD_unlock()
|
H A D | core_fetch.c | 63 if (!ossl_assert(result != NULL)) { in ossl_method_construct_precondition() 90 if (!ossl_assert(result != NULL)) { in ossl_method_construct_postcondition()
|
/openssl/crypto/bio/ |
H A D | bss_dgram_pair.c | 324 if (!ossl_assert(b != NULL)) in dgram_pair_free() 356 if (!ossl_assert(b1 != NULL && b2 != NULL)) { in dgram_pair_ctrl_make_bio_pair() 416 if (!ossl_assert(b2->peer == bio1)) in dgram_pair_ctrl_destroy_bio_pair() 433 if (!ossl_assert(b != NULL)) in dgram_pair_ctrl_eof() 444 if (!ossl_assert(peerb != NULL)) in dgram_pair_ctrl_eof() 643 if (!ossl_assert(b != NULL)) in dgram_mem_ctrl() 888 if (!ossl_assert(b != NULL)) in dgram_pair_read_actual() 916 if (!ossl_assert(l == sizeof(hdr))) in dgram_pair_read_actual() 937 if (!ossl_assert(l == sz)) in dgram_pair_read_actual() 966 if (!ossl_assert(a->role != b->role)) in dgram_pair_lock_both_write() [all …]
|
/openssl/ssl/quic/ |
H A D | quic_record_shared.c | 26 if (!ossl_assert(enc_level < QUIC_ENC_LEVEL_NUM)) in ossl_qrl_enc_level_set_get() 69 if (!ossl_assert(el != NULL && keyslot < 2)) in ossl_qrl_enc_level_set_has_keyslot() 115 if (!ossl_assert(el != NULL in el_setup_keyslot() 169 if (!ossl_assert(iv_len == (size_t)EVP_CIPHER_get_iv_length(cipher)) in el_setup_keyslot() 170 || !ossl_assert(key_len == (size_t)EVP_CIPHER_get_key_length(cipher))) { in el_setup_keyslot() 352 if (el == NULL || !ossl_assert(enc_level == QUIC_ENC_LEVEL_1RTT)) { in ossl_qrl_enc_level_set_key_update() 406 if (el == NULL || !ossl_assert(enc_level == QUIC_ENC_LEVEL_1RTT)) { in ossl_qrl_enc_level_set_key_update_done() 428 if (el == NULL || !ossl_assert(enc_level == QUIC_ENC_LEVEL_1RTT)) { in ossl_qrl_enc_level_set_key_cooldown_done()
|
H A D | quic_tls.c | 248 if (!ossl_assert(numtempl == 1)) { in quic_write_records() 326 if (!ossl_assert(consumed + rl->written < template->buflen)) { in quic_write_records() 418 if (!ossl_assert(rl->recread > 0) in quic_release_record() 419 || !ossl_assert(rl->recunreleased <= rl->recread) in quic_release_record() 420 || !ossl_assert(rl == rechandle) in quic_release_record() 421 || !ossl_assert(length <= rl->recunreleased)) { in quic_release_record() 449 if (!ossl_assert(version == TLS1_3_VERSION)) { in quic_set_protocol_version() 553 return (size_t)ossl_assert(0); in quic_app_data_pending() 559 return (size_t)ossl_assert(0); in quic_get_max_record_overhead() 565 return ossl_assert(0); in quic_increment_sequence_ctr()
|
H A D | quic_rstream.c | 101 if (!ossl_assert(data != NULL)) in read_internal() 111 if (!ossl_assert(data != NULL) || !ossl_assert(max_len > l)) in read_internal() 207 if (!ossl_assert(*fin)) in ossl_quic_rstream_get_record() 218 if (!ossl_assert(record_ != NULL)) in ossl_quic_rstream_get_record()
|
H A D | quic_sf_list.c | 121 if (!ossl_assert(sf != NULL)) in ossl_sframe_list_insert() 199 || !ossl_assert(start < sf->range.end)) { in ossl_sframe_list_peek() 223 if (!ossl_assert(limit >= fl->offset) in ossl_sframe_list_drop_frames() 224 || !ossl_assert(fl->tail == NULL in ossl_sframe_list_drop_frames() 226 || !ossl_assert(fl->tail != NULL in ossl_sframe_list_drop_frames()
|
H A D | quic_record_rx.c | 390 if (!ossl_assert(rxe->refcount == 0)) in qrx_resize_rxe() 517 if (!ossl_assert(first_dcid->id_len < QUIC_MAX_CONN_ID_LEN) in qrx_validate_hdr_early() 574 if (!ossl_assert(key_phase_bit <= 1)) in qrx_get_cipher_ctx_idx() 678 if (!ossl_assert(el != NULL)) in qrx_decrypt_pkt_body() 693 if (!ossl_assert(cctx_idx < OSSL_NELEM(el->cctx))) in qrx_decrypt_pkt_body() 713 if (!ossl_assert(nonce_len >= (int)sizeof(QUIC_PN))) in qrx_decrypt_pkt_body() 1163 if (!ossl_assert(e == ossl_list_urxe_head(&qrx->urx_pending))) in qrx_process_one_urxe() 1223 if (!ossl_assert(rxe != NULL)) in ossl_qrx_read_pkt()
|
/openssl/providers/fips/ |
H A D | fipsindicator.c | 37 if (!ossl_assert(id < OSSL_FIPS_IND_SETTABLE_MAX)) in ossl_FIPS_IND_set_settable() 39 if (!ossl_assert(state == OSSL_FIPS_IND_STATE_STRICT in ossl_FIPS_IND_set_settable() 47 if (!ossl_assert(id < OSSL_FIPS_IND_SETTABLE_MAX)) in ossl_FIPS_IND_get_settable()
|
/openssl/crypto/property/ |
H A D | defn_cache.c | 73 if (!ossl_assert(property_defns != NULL) || !ossl_lib_ctx_read_lock(ctx)) in ossl_prop_defn_get() 79 if (r == NULL || !ossl_assert(r->defn != NULL)) in ossl_prop_defn_get() 125 if (!ossl_assert(old == NULL)) in ossl_prop_defn_set()
|
/openssl/crypto/rand/ |
H A D | rand_uniform.c | 33 if (!ossl_assert(upper > 0)) { in ossl_rand_uniform_uint32() 104 if (!ossl_assert(lower < upper)) { in ossl_rand_range_uint32()
|
/openssl/crypto/x509/ |
H A D | v3_asid.c | 232 if (!ossl_assert(sk_ASIdOrRange_push((*choice)->u.asIdsOrRanges, aor))) in X509v3_asid_add_id_or_range() 247 if (!ossl_assert(aor != NULL)) in extract_min_max() 410 if (!ossl_assert(ASN1_INTEGER_cmp(a_min, b_min) <= 0)) in ASIdentifierChoice_canonize() 494 if (!ossl_assert(ASIdentifierChoice_is_canonical(choice))) in ASIdentifierChoice_canonize() 754 if (!ossl_assert(chain != NULL && sk_X509_num(chain) > 0) in asid_validate_path_internal() 755 || !ossl_assert(ctx != NULL || ext != NULL) in asid_validate_path_internal() 756 || !ossl_assert(ctx == NULL || ctx->verify_cb != NULL)) { in asid_validate_path_internal() 806 if (!ossl_assert(x != NULL)) { in asid_validate_path_internal() 856 if (!ossl_assert(x != NULL)) { in asid_validate_path_internal()
|