mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Reorganize tree for ESP32
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
27
config/mlkem/mlkem_native_all.h
Normal file
27
config/mlkem/mlkem_native_all.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) The mlkem-native project authors
|
||||
* SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
|
||||
*/
|
||||
|
||||
#if !defined(MLK_ALL_H)
|
||||
#define MLK_ALL_H
|
||||
|
||||
/* API for MLKEM-512 */
|
||||
#define MLK_CONFIG_PARAMETER_SET 512
|
||||
#include "mlkem_native.h"
|
||||
#undef MLK_CONFIG_PARAMETER_SET
|
||||
#undef MLK_H
|
||||
|
||||
/* API for MLKEM-768 */
|
||||
#define MLK_CONFIG_PARAMETER_SET 768
|
||||
#include "mlkem_native.h"
|
||||
#undef MLK_CONFIG_PARAMETER_SET
|
||||
#undef MLK_H
|
||||
|
||||
/* API for MLKEM-1024 */
|
||||
#define MLK_CONFIG_PARAMETER_SET 1024
|
||||
#include "mlkem_native.h"
|
||||
#undef MLK_CONFIG_PARAMETER_SET
|
||||
#undef MLK_H
|
||||
|
||||
#endif /* !MLK_ALL_H */
|
||||
13
config/mlkem/mlkem_native_config.h
Normal file
13
config/mlkem/mlkem_native_config.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
/* Disable all native/asm backends */
|
||||
#define MLK_NO_NATIVE_BACKENDS 1
|
||||
|
||||
/* No CBMC */
|
||||
#undef CBMC
|
||||
|
||||
/* Platform characteristics */
|
||||
#define MLK_LITTLE_ENDIAN 1
|
||||
|
||||
/* Memory model */
|
||||
#define MLK_NO_MALLOC 1
|
||||
Reference in New Issue
Block a user