Searched refs:err_check (Results 1 – 2 of 2) sorted by relevance
/external/srtp/crypto/test/ |
D | stat_driver.c | 26 err_check(err_status_t s) { in err_check() function 72 err_check(cipher_type_alloc(&aes_icm, &c, 30)); in main() 73 err_check(cipher_init(c, key, direction_encrypt)); in main() 74 err_check(cipher_set_iv(c, &nonce)); in main() 75 err_check(cipher_encrypt(c, buffer, &buf_len)); in main() 89 err_check(cipher_set_iv(c, &nonce)); in main() 90 err_check(cipher_encrypt(c, buffer, &buf_len)); in main()
|
/external/srtp/test/ |
D | srtp_driver.c | 561 err_check(err_status_t s) { in err_check() function 584 err_check(srtp_create(&srtp_sender, policy)); in srtp_test() 587 err_check(srtp_session_print_policy(srtp_sender)); in srtp_test() 619 err_check(srtp_protect(srtp_sender, hdr, &len)); in srtp_test() 691 err_check(srtp_create(&srtp_rcvr, rcvr_policy)); in srtp_test() 693 err_check(srtp_unprotect(srtp_rcvr, hdr, &len)); in srtp_test() 741 err_check(srtp_protect(srtp_sender, hdr, &len)); in srtp_test() 759 err_check(srtp_dealloc(srtp_sender)); in srtp_test() 760 err_check(srtp_dealloc(srtp_rcvr)); in srtp_test() 783 err_check(srtp_create(&srtcp_sender, policy)); in srtcp_test() [all …]
|