diff --git a/programs/psa/psa_hash.c b/programs/psa/psa_hash.c index c75972249d..18fefeddc3 100644 --- a/programs/psa/psa_hash.c +++ b/programs/psa/psa_hash.c @@ -97,8 +97,6 @@ int main(void) return EXIT_FAILURE; } - /* Note: Here we use sizeof(sample_message) - 1 since we don't wish to - * include the null byte in the hash computation */ status = psa_hash_update(&hash_operation, sample_message, sample_message_length); if (status != PSA_SUCCESS) { mbedtls_printf("psa_hash_update failed\n");