MCPcopy Create free account
hub / github.com/cisco/libsrtp / cipher_driver_test_array_throughput

Function cipher_driver_test_array_throughput

crypto/test/cipher_driver.c:581–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581srtp_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}

Callers 1

mainFunction · 0.85

Calls 3

cipher_array_alloc_initFunction · 0.85
cipher_array_deleteFunction · 0.85

Tested by

no test coverage detected