Remove unused code
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
857d29f29a
commit
f1be1f6740
1 changed files with 0 additions and 13 deletions
|
@ -21,19 +21,6 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if defined(MBEDTLS_USE_PSA_CRYPTO) && defined(MBEDTLS_SSL_SOME_SUITES_USE_MAC)
|
|
||||||
#include "psa/crypto.h"
|
|
||||||
/* Define a local translating function to save code size by not using too many
|
|
||||||
* arguments in each translating place. */
|
|
||||||
static int local_err_translation(psa_status_t status)
|
|
||||||
{
|
|
||||||
return psa_status_to_mbedtls(status, psa_to_ssl_errors,
|
|
||||||
ARRAY_LENGTH(psa_to_ssl_errors),
|
|
||||||
psa_generic_status_to_mbedtls);
|
|
||||||
}
|
|
||||||
#define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(MBEDTLS_CT_ASM)
|
#if !defined(MBEDTLS_CT_ASM)
|
||||||
/*
|
/*
|
||||||
* Define an object with the value zero, such that the compiler cannot prove that it
|
* Define an object with the value zero, such that the compiler cannot prove that it
|
||||||
|
|
Loading…
Reference in a new issue