mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 10:14:17 +01:00
psa: Fix and improve comments
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
0962370acf
commit
bdea4d4d8b
@ -82,8 +82,6 @@ const mbedtls_md_info_t *mbedtls_md_info_from_psa( psa_algorithm_t alg )
|
|||||||
* defined(MBEDTLS_PSA_BUILTIN_ALG_RSA_PSS) ||
|
* defined(MBEDTLS_PSA_BUILTIN_ALG_RSA_PSS) ||
|
||||||
* defined(MBEDTLS_PSA_BUILTIN_ALG_DETERMINISTIC_ECDSA) */
|
* defined(MBEDTLS_PSA_BUILTIN_ALG_DETERMINISTIC_ECDSA) */
|
||||||
|
|
||||||
/* Implement the PSA driver hash interface on top of mbed TLS if either the
|
|
||||||
* software driver or the test driver requires it. */
|
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_HASH)
|
#if defined(MBEDTLS_PSA_BUILTIN_HASH)
|
||||||
psa_status_t mbedtls_psa_hash_abort(
|
psa_status_t mbedtls_psa_hash_abort(
|
||||||
mbedtls_psa_hash_operation_t *operation )
|
mbedtls_psa_hash_operation_t *operation )
|
||||||
|
@ -189,8 +189,6 @@ exit:
|
|||||||
}
|
}
|
||||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CMAC */
|
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CMAC */
|
||||||
|
|
||||||
/* Implement the PSA driver MAC interface on top of mbed TLS if either the
|
|
||||||
* software driver or the test driver requires it. */
|
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_ALG_HMAC) || \
|
#if defined(MBEDTLS_PSA_BUILTIN_ALG_HMAC) || \
|
||||||
defined(MBEDTLS_PSA_BUILTIN_ALG_CMAC)
|
defined(MBEDTLS_PSA_BUILTIN_ALG_CMAC)
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/**
|
/*
|
||||||
* \file config.h
|
* Mbed TLS configuration for PSA test driver libraries. It includes:
|
||||||
*
|
* . the minimum set of modules needed by the PSA core.
|
||||||
* \brief Configuration options (set of defines)
|
* . the Mbed TLS configuration options that may need to be additionally
|
||||||
*
|
* enabled for the purpose of a specific test.
|
||||||
* This set of compile-time options may be used to enable
|
* . the PSA configuration file for the Mbed TLS library and its test drivers.
|
||||||
* or disable features selectively, and reduce the global
|
|
||||||
* memory footprint.
|
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* Copyright The Mbed TLS Contributors
|
* Copyright The Mbed TLS Contributors
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* \file psa/crypto_config.h
|
* This file is intended to be used to build PSA test driver libraries. It is
|
||||||
* \brief PSA crypto configuration options (set of defines)
|
* intended to be appended by the test build system to the crypto_config.h file
|
||||||
*
|
* of the Mbed TLS library the test library will be linked to. It mirrors the
|
||||||
|
* PSA_ACCEL_* macros defining the cryptographic operations the test library
|
||||||
|
* supports.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
|
#if defined(PSA_WANT_ALG_CBC_NO_PADDING)
|
||||||
|
Loading…
Reference in New Issue
Block a user