Have selftest print more information about the AESNI build

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
diff --git a/library/aes.c b/library/aes.c
index f199270..414c42c 100644
--- a/library/aes.c
+++ b/library/aes.c
@@ -1846,7 +1846,15 @@
 #endif
 #if defined(MBEDTLS_AESNI_HAVE_CODE)
         if (mbedtls_aesni_has_support(MBEDTLS_AESNI_AES)) {
-            mbedtls_printf("  AES note: using AESNI.\n");
+            mbedtls_printf("  AES note: using AESNI via ");
+#if MBEDTLS_AESNI_HAVE_CODE == 1
+            mbedtls_printf("assembly");
+#elif MBEDTLS_AESNI_HAVE_CODE == 2
+            mbedtls_printf("intrinsics");
+#else
+            mbedtls_printf("(unknown)");
+#endif
+            mbedtls_printf(".\n");
         } else
 #endif
         mbedtls_printf("  AES note: built-in implementation.\n");