/external/srtp/crypto/test/ |
stat_driver.c | 26 err_check(err_status_t s) { function 72 err_check(cipher_type_alloc(&aes_icm, &c, 30)); 73 err_check(cipher_init(c, key, direction_encrypt)); 74 err_check(cipher_set_iv(c, &nonce)); 75 err_check(cipher_encrypt(c, buffer, &buf_len)); 89 err_check(cipher_set_iv(c, &nonce)); 90 err_check(cipher_encrypt(c, buffer, &buf_len));
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/ |
stat_driver.c | 61 err_check(err_status_t s) { function 109 err_check(cipher_type_alloc(&aes_icm, &c, 30)); 110 err_check(cipher_init(c, key, direction_encrypt)); 111 err_check(cipher_set_iv(c, &nonce)); 112 err_check(cipher_encrypt(c, buffer, &buf_len)); 126 err_check(cipher_set_iv(c, &nonce)); 127 err_check(cipher_encrypt(c, buffer, &buf_len)); 137 err_check(cipher_dealloc(c)); 143 err_check(cipher_type_alloc(&aes_icm, &c, 46)); 144 err_check(cipher_init(c, key, direction_encrypt)) [all...] |
/external/chromium_org/third_party/libsrtp/srtp/test/ |
srtp_driver.c | 605 err_check(err_status_t s) { function 628 err_check(srtp_create(&srtp_sender, policy)); 631 err_check(srtp_session_print_policy(srtp_sender)); 663 err_check(srtp_protect(srtp_sender, hdr, &len)); 738 err_check(srtp_create(&srtp_rcvr, rcvr_policy)); 740 err_check(srtp_unprotect(srtp_rcvr, hdr, &len)); 790 err_check(srtp_protect(srtp_sender, hdr, &len)); 809 err_check(srtp_dealloc(srtp_sender)); 810 err_check(srtp_dealloc(srtp_rcvr)); 834 err_check(srtp_create(&srtcp_sender, policy)) [all...] |
/external/srtp/test/ |
srtp_driver.c | 561 err_check(err_status_t s) { function 584 err_check(srtp_create(&srtp_sender, policy)); 587 err_check(srtp_session_print_policy(srtp_sender)); 619 err_check(srtp_protect(srtp_sender, hdr, &len)); 691 err_check(srtp_create(&srtp_rcvr, rcvr_policy)); 693 err_check(srtp_unprotect(srtp_rcvr, hdr, &len)); 741 err_check(srtp_protect(srtp_sender, hdr, &len)); 759 err_check(srtp_dealloc(srtp_sender)); 760 err_check(srtp_dealloc(srtp_rcvr)); 783 err_check(srtp_create(&srtcp_sender, policy)) [all...] |