Skip to content

Commit

Permalink
Add std output information for AESCE in gcm
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry Yu <[email protected]>
  • Loading branch information
yuhaoth committed Mar 31, 2023
1 parent 98c41c9 commit 30fa44a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/gcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,13 @@ int mbedtls_gcm_self_test(int verbose)
mbedtls_printf(" GCM note: using AESNI.\n");
} else
#endif

#if defined(MBEDTLS_AESCE_C) && defined(MBEDTLS_HAVE_ARM64)
if (mbedtls_aesce_has_support()) {
mbedtls_printf(" GCM note: using AESCE.\n");
} else
#endif

mbedtls_printf(" GCM note: built-in implementation.\n");
#endif /* MBEDTLS_GCM_ALT */
}
Expand Down

0 comments on commit 30fa44a

Please sign in to comment.