mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 16:32:32 -04:00
Improve comment in a header file
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
4c81c343ac
commit
70cd911405
@ -1,9 +1,24 @@
|
|||||||
/**
|
/**
|
||||||
* This file is intended to be used to build PSA test driver libraries. It is
|
* This file is intended to be used to build PSA external test driver
|
||||||
* intended to be appended by the test build system to the crypto_config.h file
|
* libraries (libtestdriver1).
|
||||||
* 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
|
* It is intended to be appended by the test build system to the
|
||||||
* supports.
|
* crypto_config.h file of the Mbed TLS library the test library will be
|
||||||
|
* linked to (see `tests/Makefile` libtestdriver1 target). This is done in
|
||||||
|
* order to insert it at the right time: after the main configuration
|
||||||
|
* (PSA_WANT) but before the logic that determines what built-ins to enable
|
||||||
|
* based on PSA_WANT and MBEDTLS_PSA_ACCEL macros.
|
||||||
|
*
|
||||||
|
* It reverses the PSA_ACCEL_* macros defining the cryptographic operations
|
||||||
|
* that will be accelerated in the main library:
|
||||||
|
* - When something is accelerated in the main library, we need it supported
|
||||||
|
* in libtestdriver1, so we disable the accel macro in order to the built-in
|
||||||
|
* to be enabled.
|
||||||
|
* - When something is NOT accelerated in the main library, we don't need it
|
||||||
|
* in libtestdriver1, so we enable its accel macro in order to the built-in
|
||||||
|
* to be disabled, to keep libtestdriver1 minimal. (We can't adjust the
|
||||||
|
* PSA_WANT macros as they need to be the same between libtestdriver1 and
|
||||||
|
* the main library, since they determine the ABI between the two.)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "psa/crypto_legacy.h"
|
#include "psa/crypto_legacy.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user