Add signature and verification tests for RSA and ECDSA.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
6
tests/scripts/pkcs11.sh
Normal file → Executable file
6
tests/scripts/pkcs11.sh
Normal file → Executable file
@@ -1,9 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -n "Test initialization..."
|
||||
#./tests/scripts/initialize.sh
|
||||
./tests/scripts/initialize.sh
|
||||
test $? -eq 0 && echo -e '\tok' || (echo -e '\tfail' && exit 1)
|
||||
|
||||
echo -n "Test keygen..."
|
||||
./tests/scripts/keygen.sh
|
||||
test $? -eq 0 && echo -e '\tok' || (echo -e '\tfail' && exit 1)
|
||||
|
||||
echo -n "Test sign and verify..."
|
||||
./tests/scripts/sign_and_verify.sh
|
||||
test $? -eq 0 && echo -e '\tok' || (echo -e '\tfail' && exit 1)
|
||||
|
||||
Reference in New Issue
Block a user