You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
678 B
25 lines
678 B
3 months ago
|
diff -up ./tests/ec/ectest.sh.dbm ./tests/ec/ectest.sh
|
||
|
--- ./tests/ec/ectest.sh.dbm 2024-06-18 14:53:51.201438651 -0700
|
||
|
+++ ./tests/ec/ectest.sh 2024-06-18 14:56:09.993993637 -0700
|
||
|
@@ -45,12 +45,20 @@ ectest_genkeydb_test()
|
||
|
if [ $? -ne 0 ]; then
|
||
|
return $?
|
||
|
fi
|
||
|
+ if [ "${TEST_MODE}" = "SHARED_DB" ] ; then
|
||
|
curves=( \
|
||
|
"curve25519" \
|
||
|
"secp256r1" \
|
||
|
"secp384r1" \
|
||
|
"secp521r1" \
|
||
|
)
|
||
|
+ else
|
||
|
+ curves=( \
|
||
|
+ "secp256r1" \
|
||
|
+ "secp384r1" \
|
||
|
+ "secp521r1" \
|
||
|
+ )
|
||
|
+ fi
|
||
|
for curve in "${curves[@]}"; do
|
||
|
echo "Test $curve key generation using certutil ..."
|
||
|
certutil -G -d "${HOSTDIR}" -k ec -q $curve -f "${R_PWFILE}" -z ${NOISE_FILE}
|