Home
last modified time | relevance | path

Searched refs:RUNTIME_CHECK (Results 1 – 10 of 10) sorted by relevance

/openbsd/usr.bin/dig/lib/isc/
H A Dhmacsha.c37 RUNTIME_CHECK(ctx->ctx != NULL); in isc_hmacsha1_init()
38 RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key, in isc_hmacsha1_init()
54 RUNTIME_CHECK(HMAC_Update(ctx->ctx, buf, (int) len) == 1); in isc_hmacsha1_update()
63 RUNTIME_CHECK(HMAC_Final(ctx->ctx, newdigest, NULL) == 1); in isc_hmacsha1_sign()
75 RUNTIME_CHECK(ctx->ctx != NULL); in isc_hmacsha224_init()
76 RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key, in isc_hmacsha224_init()
113 RUNTIME_CHECK(ctx->ctx != NULL); in isc_hmacsha256_init()
114 RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key, in isc_hmacsha256_init()
151 RUNTIME_CHECK(ctx->ctx != NULL); in isc_hmacsha384_init()
152 RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key, in isc_hmacsha384_init()
[all …]
H A Dsha2.c67 RUNTIME_CHECK(context->ctx != NULL); in isc_sha224_init()
85 RUNTIME_CHECK(EVP_DigestUpdate(context->ctx, in isc_sha224_update()
97 RUNTIME_CHECK(EVP_DigestFinal(context->ctx, in isc_sha224_final()
109 RUNTIME_CHECK(context->ctx != NULL); in isc_sha256_init()
127 RUNTIME_CHECK(EVP_DigestUpdate(context->ctx, in isc_sha256_update()
139 RUNTIME_CHECK(EVP_DigestFinal(context->ctx, in isc_sha256_final()
151 RUNTIME_CHECK(context->ctx != NULL); in isc_sha512_init()
168 RUNTIME_CHECK(EVP_DigestUpdate(context->ctx, in isc_sha512_update()
179 RUNTIME_CHECK(EVP_DigestFinal(context->ctx, in isc_sha512_final()
191 RUNTIME_CHECK(context->ctx != NULL); in isc_sha384_init()
[all …]
H A Dsha1.c47 RUNTIME_CHECK(context->ctx != NULL); in isc_sha1_init()
61 RUNTIME_CHECK(EVP_DigestUpdate(context->ctx, in isc_sha1_update()
72 RUNTIME_CHECK(EVP_DigestFinal(context->ctx, digest, NULL) == 1); in isc_sha1_final()
H A Dheap.c174 RUNTIME_CHECK(new_last > 0); /* overflow check */ in isc_heap_insert()
H A Dlex.c125 RUNTIME_CHECK(isc_lex_close(lex) == ISC_R_SUCCESS); in isc_lex_destroy()
/openbsd/usr.bin/dig/lib/dns/
H A Dkey.c68 RUNTIME_CHECK(dst_key_sigsize(key, &maxbits) == ISC_R_SUCCESS); in dst_key_setbits()
H A Ddst_api.c114 RUNTIME_CHECK(dst_initialized); in dst_lib_destroy()
H A Dmessage.c1279 RUNTIME_CHECK(dns_rdatalist_tordataset(rdatalist, in getsection()
2787 RUNTIME_CHECK(result == ISC_R_SUCCESS); in dns_message_buildopt()
H A Dtsig.c674 RUNTIME_CHECK(dns_rdatalist_tordataset(datalist, dataset) in dns_tsig_sign()
/openbsd/usr.bin/dig/lib/isc/include/isc/
H A Dutil.h140 #define RUNTIME_CHECK(cond) ISC_ERROR_RUNTIMECHECK(cond) macro