Home
last modified time | relevance | path

Searched refs:debug_print (Results 1 – 25 of 28) sorted by relevance

12

/external/srtp/crypto/math/
Dstat.c35 debug_print(mod_stat, "bit count: %d", ones_count); in stat_test_monobit()
66 debug_print(mod_stat, "poker test: %f\n", poker); in stat_test_poker()
109 debug_print(mod_stat, ">25 runs: %d", state); in stat_test_runs()
117 debug_print(mod_stat, ">25 gaps: %d", state); in stat_test_runs()
137 debug_print(mod_stat, ">25 runs (2): %d", state); in stat_test_runs()
152 debug_print(mod_stat, ">25 gaps (2): %d", state); in stat_test_runs()
169 debug_print(mod_stat, "runs test", NULL); in stat_test_runs()
171 debug_print(mod_stat, " runs[]: %d", runs[i]); in stat_test_runs()
173 debug_print(mod_stat, " gaps[]: %d", gaps[i]); in stat_test_runs()
222 debug_print(mod_stat, "couldn't get rand bytes: %d",status); in stat_test_rand_source()
[all …]
/external/srtp/crypto/cipher/
Dcipher.c93 debug_print(mod_cipher, "running self-test for cipher %s", in cipher_type_self_test()
117 debug_print(mod_cipher, "testing encryption", NULL); in cipher_type_self_test()
134 debug_print(mod_cipher, "plaintext: %s", in cipher_type_self_test()
153 debug_print(mod_cipher, "ciphertext: %s", in cipher_type_self_test()
164 debug_print(mod_cipher, "test case %d failed", case_num); in cipher_type_self_test()
165 debug_print(mod_cipher, "(failure at byte %d)", i); in cipher_type_self_test()
170 debug_print(mod_cipher, "c computed: %s", in cipher_type_self_test()
173 debug_print(mod_cipher, "c expected: %s", in cipher_type_self_test()
184 debug_print(mod_cipher, "testing decryption", NULL); in cipher_type_self_test()
201 debug_print(mod_cipher, "ciphertext: %s", in cipher_type_self_test()
[all …]
Daes_cbc.c63 debug_print(mod_aes_cbc, in aes_cbc_alloc()
114 debug_print(mod_aes_cbc, in aes_cbc_context_init()
144 debug_print(mod_aes_cbc, "setting iv: %s", v128_hex_string(&c->state)); in aes_cbc_set_iv()
168 debug_print(mod_aes_cbc, "iv: %s", in aes_cbc_encrypt()
181 debug_print(mod_aes_cbc, "inblock: %s", in aes_cbc_encrypt()
186 debug_print(mod_aes_cbc, "outblock: %s", in aes_cbc_encrypt()
221 debug_print(mod_aes_cbc, "iv: %s", in aes_cbc_decrypt()
235 debug_print(mod_aes_cbc, "inblock: %s", in aes_cbc_decrypt()
241 debug_print(mod_aes_cbc, "outblock: %s", in aes_cbc_decrypt()
Daes_icm.c98 debug_print(mod_aes_icm, in aes_icm_alloc_ismacryp()
184 debug_print(mod_aes_icm, in aes_icm_context_init()
186 debug_print(mod_aes_icm, in aes_icm_context_init()
230 debug_print(mod_aes_icm, in aes_icm_set_octet()
239 debug_print(mod_aes_icm, "counter: %s", in aes_icm_set_octet()
241 debug_print(mod_aes_icm, "ciphertext: %s", in aes_icm_set_octet()
265 debug_print(mod_aes_icm, in aes_icm_set_iv()
270 debug_print(mod_aes_icm, in aes_icm_set_iv()
295 debug_print(mod_aes_icm, "counter: %s", in aes_icm_advance_ismacryp()
297 debug_print(mod_aes_icm, "ciphertext: %s", in aes_icm_advance_ismacryp()
[all …]
Dnull_cipher.c60 debug_print(mod_cipher, in null_cipher_alloc()
104 debug_print(mod_cipher, "initializing null cipher", NULL); in null_cipher_init()
/external/wpa_supplicant_8/hs20/server/
Dhs20_spp_server.c32 void debug_print(struct hs20_svc *ctx, int print, const char *fmt, ...) in debug_print() function
72 debug_print(ctx, 1, "Connection from %s", ctx->addr); in process()
79 debug_print(ctx, 1, "HS20REALM not set"); in process()
84 debug_print(ctx, 1, "HS20POST not set"); in process()
90 debug_print(ctx, 1, "Could not parse SOAP data"); in process()
96 debug_print(ctx, 1, "Could not get SPP message"); in process()
105 debug_print(ctx, 1, "Request HTTP authentication"); in process()
109 debug_print(ctx, 1, "No response"); in process()
115 debug_print(ctx, 1, "SOAP envelope building failed"); in process()
121 debug_print(ctx, 1, "Could not get node string"); in process()
[all …]
Dspp_server.c75 debug_print(ctx, 1, "DB: %s", sql); in db_add_session()
77 debug_print(ctx, 1, "Failed to add session entry into sqlite " in db_add_session()
97 debug_print(ctx, 1, "DB: %s", sql); in db_update_session_password()
99 debug_print(ctx, 1, "Failed to update session password: %s", in db_update_session_password()
118 debug_print(ctx, 1, "DB: %s", sql); in db_update_session_machine_managed()
120 debug_print(ctx, 1, in db_update_session_machine_managed()
144 debug_print(ctx, 1, "DB: %s", sql); in db_add_session_pps()
146 debug_print(ctx, 1, "Failed to add session pps: %s", in db_add_session_pps()
167 debug_print(ctx, 1, "DB: %s", sql); in db_add_session_devinfo()
169 debug_print(ctx, 1, "Failed to add session devinfo: %s", in db_add_session_devinfo()
[all …]
Dspp_server.h22 void debug_print(struct hs20_svc *ctx, int print, const char *fmt, ...)
/external/srtp/crypto/kernel/
Dalloc.c75 debug_print(mod_alloc, "(location: %p) allocated", ptr); in crypto_alloc()
77 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); in crypto_alloc()
85 debug_print(mod_alloc, "(location: %p) freed", ptr); in crypto_free()
100 debug_print(mod_alloc, "(location: %p) allocated", ptr); in crypto_alloc()
102 debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); in crypto_alloc()
110 debug_print(mod_alloc, "(location: %p) freed", ptr); in crypto_free()
Dcrypto_kernel.c264 debug_print(mod_crypto_kernel, in crypto_kernel_shutdown()
274 debug_print(mod_crypto_kernel, in crypto_kernel_shutdown()
284 debug_print(mod_crypto_kernel, in crypto_kernel_shutdown()
/external/srtp/crypto/hash/
Dauth.c93 debug_print(mod_auth, "running self-test for auth function %s", in auth_type_self_test()
132 debug_print(mod_auth, "key: %s", in auth_type_self_test()
135 debug_print(mod_auth, "data: %s", in auth_type_self_test()
138 debug_print(mod_auth, "tag computed: %s", in auth_type_self_test()
140 debug_print(mod_auth, "tag expected: %s", in auth_type_self_test()
149 debug_print(mod_auth, "test case %d failed", case_num); in auth_type_self_test()
150 debug_print(mod_auth, " (mismatch at octet %d)", i); in auth_type_self_test()
Dhmac.c61 debug_print(mod_hmac, "allocating auth func with key length %d", key_len); in hmac_alloc()
62 debug_print(mod_hmac, " tag length %d", out_len); in hmac_alloc()
137 debug_print(mod_hmac, "ipad: %s", octet_string_hex_string(ipad, 64)); in hmac_init()
160 debug_print(mod_hmac, "input: %s", in hmac_update()
188 debug_print(mod_hmac, "intermediate state: %s", in hmac_compute()
207 debug_print(mod_hmac, "output: %s", in hmac_compute()
Dnull_auth.c60 debug_print(mod_auth, "allocating auth func with key length %d", key_len); in null_auth_alloc()
61 debug_print(mod_auth, " tag length %d", out_len); in null_auth_alloc()
Dsha1.c227 debug_print(mod_sha1, "(update) running sha1_core()", NULL); in sha1_update()
233 debug_print(mod_sha1, "(update) not running sha1_core()", NULL); in sha1_update()
339 debug_print(mod_sha1, "(final) running sha1_core()", NULL); in sha1_final()
343 debug_print(mod_sha1, "(final) running sha1_core() again", NULL); in sha1_final()
/external/srtp/test/
Dlfsr.c134 #define debug_print 0 macro
144 #if debug_print in period()
153 #if debug_print in period()
189 #if debug_print in weight_distribution2()
198 #if debug_print in weight_distribution2()
227 #if debug_print in weight_distribution()
236 #if debug_print in weight_distribution()
Dsrtp_driver.c612 debug_print(mod_driver, "before protection:\n%s", in srtp_test()
616 debug_print(mod_driver, "reference packet before protection:\n%s", in srtp_test()
621 debug_print(mod_driver, "after protection:\n%s", in srtp_test()
624 debug_print(mod_driver, "after protection:\n%s", in srtp_test()
695 debug_print(mod_driver, "after unprotection:\n%s", in srtp_test()
811 debug_print(mod_driver, "before protection:\n%s", in srtcp_test()
815 debug_print(mod_driver, "reference packet before protection:\n%s", in srtcp_test()
820 debug_print(mod_driver, "after protection:\n%s", in srtcp_test()
823 debug_print(mod_driver, "after protection:\n%s", in srtcp_test()
894 debug_print(mod_driver, "after unprotection:\n%s", in srtcp_test()
[all …]
/external/srtp/srtp/
Dsrtp.c239 debug_print(mod_srtp, "cloning stream (SSRC: 0x%08x)", ssrc); in srtp_stream_clone()
381 debug_print(mod_srtp, "found aes_icm, generating salt", NULL); in srtp_stream_init_keys()
387 debug_print(mod_srtp, "cipher key: %s", in srtp_stream_init_keys()
402 debug_print(mod_srtp, "auth key: %s", in srtp_stream_init_keys()
430 debug_print(mod_srtp, "found aes_icm, generating rtcp salt", NULL); in srtp_stream_init_keys()
436 debug_print(mod_srtp, "rtcp cipher key: %s", in srtp_stream_init_keys()
451 debug_print(mod_srtp, "rtcp auth key: %s", in srtp_stream_init_keys()
475 debug_print(mod_srtp, "initializing stream (SSRC: 0x%08x)", in srtp_stream_init()
610 debug_print(mod_srtp, "function srtp_protect", NULL); in srtp_protect()
736 debug_print(mod_srtp, "estimated packet index: %016llx", est); in srtp_protect()
[all …]
Dekt.c211 debug_print(mod_srtp, "EKT not in use", NULL); in ekt_write_data()
222 debug_print(mod_srtp, "writing EKT EMK: %s,", in ekt_write_data()
229 debug_print(mod_srtp, "writing EKT ROC: %s,", in ekt_write_data()
236 debug_print(mod_srtp, "writing EKT ISN: %s,", in ekt_write_data()
242 debug_print(mod_srtp, "writing EKT SPI: %s,", in ekt_write_data()
/external/srtp/crypto/include/
Derr.h158 #define debug_print(mod, format, arg) \ macro
166 #define debug_print(mod, format, arg) macro
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_log.py65 global debug_print
67 debug_print = debug.print_msg
523 debug_print(' key: %s' % str(key))
611 debug_print(' fw(%s) round(%s)' % (fw, round_name))
/external/srtp/googlepatches/
Dvidyo-1-srtp-win.patch143 debug_print(mod_srtp, "writing EKT ROC: %s,",
151 debug_print(mod_srtp, "writing EKT ISN: %s,",
/external/valgrind/VEX/priv/
Dguest_generic_bb_to_IR.c208 Bool resteerOK, debug_print; in bb_to_IR() local
222 debug_print = toBool(vex_traceflags & VEX_TRACE_FE); in bb_to_IR()
353 if (debug_print && n_instrs > 0) in bb_to_IR()
755 if (debug_print) { in bb_to_IR()
/external/libdrm/
Dxf86drm.h110 int (*debug_print)(const char *format, va_list ap) DRM_PRINTFLIKE(1,0); member
/external/wpa_supplicant_8/src/p2p/
Dp2p.c5164 if (!p2p->cfg->debug_print) in p2p_dbg()
5171 p2p->cfg->debug_print(p2p->cfg->cb_ctx, MSG_DEBUG, buf); in p2p_dbg()
5180 if (!p2p->cfg->debug_print) in p2p_info()
5187 p2p->cfg->debug_print(p2p->cfg->cb_ctx, MSG_INFO, buf); in p2p_info()
5196 if (!p2p->cfg->debug_print) in p2p_err()
5203 p2p->cfg->debug_print(p2p->cfg->cb_ctx, MSG_ERROR, buf); in p2p_err()
Dp2p.h589 void (*debug_print)(void *ctx, int level, const char *msg); member

12