Minor formatting fixes to address code review comments

Signed-off-by: Aditya Deshpande <aditya.deshpande@arm.com>
This commit is contained in:
Aditya Deshpande 2022-11-29 16:53:29 +00:00
parent 1ac41dec09
commit b6bc7524f9
3 changed files with 8 additions and 10 deletions

View file

@ -29,7 +29,6 @@
#include "test/drivers/test_driver.h"
#include <string.h>
#include <stdio.h>
#if defined(MBEDTLS_TEST_LIBTESTDRIVER1)
#include "libtestdriver1/include/psa/crypto.h"
@ -50,7 +49,7 @@ psa_status_t mbedtls_test_transparent_key_agreement(
size_t shared_secret_size,
size_t *shared_secret_length )
{
++mbedtls_test_driver_key_agreement_hooks.hits;
mbedtls_test_driver_key_agreement_hooks.hits++;
if( mbedtls_test_driver_key_agreement_hooks.forced_status != PSA_SUCCESS )
return( mbedtls_test_driver_key_agreement_hooks.forced_status );

View file

@ -1,6 +1,5 @@
/* BEGIN_HEADER */
#include "test/drivers/test_driver.h"
#include <stdio.h>
#if defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY)
/* Sanity checks on the output of RSA encryption.