Fix more comments/outputs in verify programs
diff --git a/programs/pkey/pk_verify.c b/programs/pkey/pk_verify.c
index 4041397..a6d4901 100644
--- a/programs/pkey/pk_verify.c
+++ b/programs/pkey/pk_verify.c
@@ -103,8 +103,8 @@
fclose( f );
/*
- * Compute the SHA-256 hash of the input file and compare
- * it with the hash decrypted from the signature.
+ * Compute the SHA-256 hash of the input file and
+ * verify the signature
*/
mbedtls_printf( "\n . Verifying the SHA-256 signature" );
fflush( stdout );
@@ -124,7 +124,7 @@
goto exit;
}
- mbedtls_printf( "\n . OK (the decrypted SHA-256 hash matches)\n\n" );
+ mbedtls_printf( "\n . OK (the signature is valid)\n\n" );
ret = 0;