Skip to content

Commit

Permalink
speed tool flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemas committed Jan 7, 2025
1 parent b004698 commit b849a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/speed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ static bool SpeedKEM(std::string selected) {
SpeedSingleKEM("Kyber1024_R3", NID_KYBER1024_R3, selected);
}

#if defined(ENABLE_DILITHIUM) && AWSLC_API_VERSION > 31
#if AWSLC_API_VERSION > 31

static bool SpeedDigestSignNID(const std::string &name, int nid,
const std::string &selected) {
Expand Down Expand Up @@ -2866,7 +2866,7 @@ bool Speed(const std::vector<std::string> &args) {
#if AWSLC_API_VERSION > 16
!SpeedKEM(selected) ||
#endif
#if defined(ENABLE_DILITHIUM) && AWSLC_API_VERSION > 31
#if AWSLC_API_VERSION > 31
!SpeedDigestSign(selected) ||
#endif
!SpeedAEADSeal(EVP_aead_aes_128_gcm(), "AEAD-AES-128-GCM", kTLSADLen, selected) ||
Expand Down

0 comments on commit b849a46

Please sign in to comment.