mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
crypto: tcrypt - Add new mode for sha512_mb
Add a new mode to calculate the speed of the sha512_mb algorithm Signed-off-by: Megha Dey <[email protected]> Reviewed-by: Fenghua Yu <[email protected]> Reviewed-by: Tim Chen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
bee5cfd9f6
commit
14009c4bde
1 changed files with 4 additions and 0 deletions
|
|
@ -1939,6 +1939,10 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
|
|||
test_mb_ahash_speed("sha256", sec, generic_hash_speed_template);
|
||||
if (mode > 400 && mode < 500) break;
|
||||
|
||||
case 424:
|
||||
test_mb_ahash_speed("sha512", sec, generic_hash_speed_template);
|
||||
if (mode > 400 && mode < 500) break;
|
||||
|
||||
case 499:
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue