documented updates
[cryptodev-linux.git] / lib / threshold.h
blob6c11019b2ee62c11d48a703673d6931d595167ec
1 /* Return the number of bytes after which the
2 * kernel operation is more efficient to use.
3 * If return value is -1, then kernel operation
4 * cannot, or shouldn't be used, because it is always
5 * slower.
7 * Running time ~= 1.2 seconds per call.
8 */
9 int get_sha1_threshold();
10 int get_aes_sha1_threshold();