1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Move implementation specific comment

This comment is about how the functions are implemented, not about their
public interface, so it doesn't belong in the header file.
It applies to everything in constant_time.c so moved there.

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2021-10-18 16:09:41 +02:00
parent 2c5ed2244b
commit 3c38b6e9e1
2 changed files with 5 additions and 38 deletions

View File

@ -17,6 +17,11 @@
* limitations under the License.
*/
/*
* The following functiona are implemented without using comparison operators, as those
* might be translated to branches by some compilers on some platforms.
*/
#include "common.h"
#include "constant_time.h"
#include "mbedtls/error.h"