Skip to content

Commit

Permalink
tests: test performance testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gotthardp committed Dec 5, 2023
1 parent ee1becb commit 5c8a199
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ test_rsa_genpkey_decrypt_LDFLAGS = $(COMMON_LDFLAGS)
TESTS = $(TESTS_SHELL) $(check_PROGRAMS)

TESTS_SHELL = test/list.sh \
test/speed.sh \
test/rand.sh \
test/rsa_genrsa_check.sh \
test/rsa_genpkey_sign.sh \
Expand Down
7 changes: 7 additions & 0 deletions test/speed.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: BSD-3-Clause
set -eufx

# ECDSA NIST P256
#openssl speed -seconds 2 ecdsap256
openssl speed -provider tpm2 -seconds 2 ecdsap256

0 comments on commit 5c8a199

Please sign in to comment.