nt9856x/code/driver/source/crypto/cryptodev-linux/lib/threshold.h
2023-03-28 15:07:53 +08:00

11 lines
309 B
C
Executable File

/* Return the number of bytes after which the
* kernel operation is more efficient to use.
* If return value is -1, then kernel operation
* cannot, or shouldn't be used, because it is always
* slower.
*
* Running time ~= 1.2 seconds per call.
*/
int get_sha1_threshold();
int get_aes_sha1_threshold();