| 579 | } |
| 580 | |
| 581 | srtp_err_status_t cipher_driver_test_array_throughput(srtp_cipher_type_t *ct, |
| 582 | int klen, |
| 583 | int num_cipher) |
| 584 | { |
| 585 | srtp_cipher_t **ca = NULL; |
| 586 | srtp_err_status_t status; |
| 587 | |
| 588 | status = cipher_array_alloc_init(&ca, num_cipher, ct, klen); |
| 589 | if (status) { |
| 590 | printf("error: cipher_array_alloc_init() failed with error code %d\n", |
| 591 | status); |
| 592 | return status; |
| 593 | } |
| 594 | |
| 595 | cipher_array_test_throughput(ca, num_cipher); |
| 596 | |
| 597 | cipher_array_delete(ca, num_cipher); |
| 598 | |
| 599 | return srtp_err_status_ok; |
| 600 | } |
no test coverage detected