/netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/ |
H A D | test_base.c | 225 heim_assert(heim_error_get_code(e) == 10, "error_code != 10"); in test_error() 228 heim_assert(strcmp(heim_string_get_utf8(s), "foo: bar") == 0, "msg wrong"); in test_error() 253 heim_assert(o != NULL, "string"); in test_json() 254 heim_assert(heim_get_tid(o) == heim_string_get_type_id(), "string-tid"); in test_json() 255 heim_assert(strcmp("string", heim_string_get_utf8(o)) == 0, "wrong string"); in test_json() 259 heim_assert(o != NULL, "string"); in test_json() 260 heim_assert(heim_get_tid(o) == heim_string_get_type_id(), "string-tid"); in test_json() 261 heim_assert(strcmp("foo\"bar", heim_string_get_utf8(o)) == 0, "wrong string"); in test_json() 265 heim_assert(o != NULL, "dict"); in test_json() 266 heim_assert(heim_get_tid(o) == heim_dict_get_type_id(), "dict-tid"); in test_json() [all …]
|
H A D | db.c | 208 heim_assert(db_plugins != NULL, "heim_db plugin table initialized"); in heim_db_register() 251 heim_assert(!db->in_transaction, in db_dealloc() 534 heim_assert(read_only == 0, "Internal error"); in heim_db_begin() 833 heim_assert(db->in_transaction, "Internal error"); in heim_db_set_value() 843 heim_assert(db->set_keys != NULL, "Internal error"); in heim_db_set_value() 903 heim_assert(db->in_transaction, "Internal error"); in heim_db_delete_key() 913 heim_assert(db->set_keys != NULL, "Internal error"); in heim_db_delete_key() 1063 heim_assert(!db->in_transaction, "DB transaction not open"); in db_replay_log() 1064 heim_assert(db->set_keys == NULL && db->set_keys == NULL, "DB transaction not open"); in db_replay_log() 1465 heim_assert(jsondb->fd == -1 || (jsondb->read_only && !read_only), in json_db_lock() [all …]
|
H A D | bsearch.c | 176 heim_assert(i < sz, "invalid aname2lname db index"); in bsearch_common() 194 heim_assert(i >= l && i < rmax, "invalid aname2lname db index"); in bsearch_common() 766 heim_assert(cmp > 0, "cmp > 0"); in _bsearch_file()
|
H A D | string.c | 236 heim_assert(*dict != NULL, "__heim_string_constant"); in init_string()
|
H A D | json.c | 512 heim_assert(*ctx->p == '{', "string doesn't start with {"); in parse_dict() 599 heim_assert(*ctx->p == '[', "array doesn't start with ["); in parse_array()
|
H A D | heimbase.c | 354 heim_assert(ptr != NULL, "internal error"); in _heim_get_isaextra() 357 heim_assert(idx < 3, "invalid private heim_base extra data index"); in _heim_get_isaextra()
|
H A D | heimbase.h | 126 #define heim_assert(e,t) \ macro
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/ipc/ |
H A D | common.c | 112 heim_assert(0, "no semaphore support w/o pthreads"); in heim_ipc_semaphore_create() 137 heim_assert(0, "no semaphore support w/o pthreads"); in heim_ipc_semaphore_wait() 170 heim_assert(0, "no semaphore support w/o pthreads"); in heim_ipc_semaphore_signal() 189 heim_assert(0, "no semaphore support w/o pthreads"); in heim_ipc_semaphore_release()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/kdc/ |
H A D | kdc-tester.c | 174 heim_assert(or != NULL, "value missing"); in eval_repeat() 175 heim_assert(n != NULL, "num missing"); in eval_repeat() 178 heim_assert(num >= 0, "num >= 0"); in eval_repeat() 406 heim_assert(ccache != NULL, "ccache_missing"); in eval_kdestroy() 438 heim_assert(op != NULL, "op missing"); in eval_object()
|
H A D | fast.c | 148 heim_assert(size == data.length, "internal asn1 encoder error"); in fast_add_cookie() 171 heim_assert(size == data.length, "internal asn1 encoder error"); in fast_add_cookie()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | send_to_kdc.c | 525 heim_assert(host->data.length == 0, "prepare_http called twice"); in prepare_http() 595 heim_assert(host->data.length == 0, "prepare_tcp called twice"); in prepare_tcp() 956 heim_assert(h->tries != 0, "tries should not reach 0"); in wait_setup() 969 heim_assert(h->fd < FD_SETSIZE, "fd too large"); in wait_setup() 1010 heim_assert(h->state != DEAD, "dead host resurected"); in wait_process() 1013 heim_assert(h->fd < FD_SETSIZE, "fd too large"); in wait_process()
|
H A D | sp800-108-kdf.c | 68 heim_assert(md != NULL, "SP800-108 KDF internal error"); in _krb5_SP800_108_HMAC_KDF()
|
H A D | crypto-aes-sha2.c | 81 heim_assert(result->checksum.length <= hmaclen, "SHA2 internal error"); in SP_HMAC_SHA2_checksum()
|
H A D | mcache.c | 198 heim_assert(m->refcnt != 0, "resurection released mcache"); in mcc_initialize() 220 heim_assert(m->refcnt != 0, "closed dead cache mcache"); in mcc_close_internal()
|
H A D | init_creds_pw.c | 537 heim_assert(prompter != NULL, "unexpected NULL prompter"); in change_password() 2090 heim_assert(data.length == size, "ASN.1 internal error"); in fast_wrap_req() 2102 heim_assert(state->armor_crypto != NULL, "FAST armor key missing when FAST started"); in fast_wrap_req() 2107 heim_assert(len == size, "ASN.1 internal error"); in fast_wrap_req() 2129 heim_assert(false, "unknown FAST type, internal error"); in fast_wrap_req() 2135 heim_assert(data.length == size, "ASN.1 internal error"); in fast_wrap_req() 2233 heim_assert(data.length == size, "ASN.1 internal error"); in krb5_init_creds_step()
|
H A D | principal.c | 1730 heim_assert(rules != NULL && (*rules)[0].type != KRB5_NCRT_BOGUS, in _krb5_get_name_canon_rules() 1856 heim_assert(rule->domain != NULL, in apply_name_canon_rule() 2068 heim_assert(state->rules != NULL && in name_canon_iterate()
|
H A D | kuserok.c | 147 heim_assert(owner != NULL, "no directory owner ?"); in check_owner_dir()
|
H A D | pkinit.c | 1273 heim_assert(ctx != NULL, "PKINIT context is non-NULL"); in _krb5_pk_kx_confirm() 1274 heim_assert(reply_key != NULL, "reply key is non-NULL"); in _krb5_pk_kx_confirm() 1275 heim_assert(session_key != NULL, "session key is non-NULL"); in _krb5_pk_kx_confirm()
|
H A D | context.c | 1083 heim_assert(pdu_type == KRB5_PDU_AS_REQUEST || in krb5_get_default_in_tkt_etypes()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
H A D | db3.c | 70 heim_assert(d != 0, "Closing already closed HDB"); in DB_close() 383 heim_assert(db->hdb_db == 0, "Opening already open HDB"); in DB_open()
|
H A D | db.c | 58 heim_assert(d != 0, "Closing already closed HDB"); in DB_close()
|
H A D | hdb-mdb.c | 103 heim_assert(db->lock_count == 1, "HDB lock/unlock sequence does not match"); in DB_unlock()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
H A D | add_cred.c | 77 heim_assert(output_cred_handle != NULL, in _gsskrb5_add_cred()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
H A D | context_s.c | 52 heim_assert(context->db->lock_count > 0, in kadm5_s_lock()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/spnego/ |
H A D | accept_sec_context.c | 451 heim_assert(mech_buf->length == buf_len, "Internal ASN.1 error"); in acceptor_complete()
|