Skip to content

Commit d9921ac

Browse files
committed
Adding CRYPTO_SHA2_HACL module.
1 parent 3e1e8d2 commit d9921ac

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

zeta/test-artifacts/config-um

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,12 @@ CONFIG_CRYPTO_AUTHENC=y
14031403
CONFIG_CRYPTO_TEST=m
14041404
# end of Crypto core or helper
14051405

1406+
#
1407+
# HACL implementation
1408+
#
1409+
CONFIG_CRYPTO_SHA2_HACL=y
1410+
# end of HACL implementation
1411+
14061412
#
14071413
# Public-key cryptography
14081414
#

zeta/test-artifacts/test-script.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/busybox sh
22

3+
echo "tcrypt: starting CRYPTO_SHA2_HACL"
4+
modprobe tcrypt mode=300 alg=sha224-hacl sec=2
5+
modprobe tcrypt mode=300 alg=sha256-hacl sec=2
6+
modprobe tcrypt mode=300 alg=sha384-hacl sec=2
7+
modprobe tcrypt mode=300 alg=sha512-hacl sec=2
8+
39
echo "tcrypt: starting SHA2 (256) test"
410
echo "tcrypt: testing sha256 generic implementation"
511
modprobe tcrypt mode=300 alg=sha256-generic sec=2

0 commit comments

Comments
 (0)