mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 09:01:24 +02:00
29
config/mldsa/mldsa_native_all.h
Normal file
29
config/mldsa/mldsa_native_all.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (c) The mlkem-native project authors
|
||||
* Copyright (c) The mldsa-native project authors
|
||||
* SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
|
||||
*/
|
||||
|
||||
#ifndef MLD_ALL_H
|
||||
#define MLD_ALL_H
|
||||
|
||||
|
||||
/* API for MLDSA-44 */
|
||||
#define MLD_CONFIG_PARAMETER_SET 44
|
||||
#include "mldsa_native/mldsa_native.h"
|
||||
#undef MLD_CONFIG_PARAMETER_SET
|
||||
#undef MLD_H
|
||||
|
||||
/* API for MLDSA-65 */
|
||||
#define MLD_CONFIG_PARAMETER_SET 65
|
||||
#include "mldsa_native/mldsa_native.h"
|
||||
#undef MLD_CONFIG_PARAMETER_SET
|
||||
#undef MLD_H
|
||||
|
||||
/* API for MLDSA-87 */
|
||||
#define MLD_CONFIG_PARAMETER_SET 87
|
||||
#include "mldsa_native/mldsa_native.h"
|
||||
#undef MLD_CONFIG_PARAMETER_SET
|
||||
#undef MLD_H
|
||||
|
||||
#endif /* !MLD_ALL_H */
|
||||
10
config/mldsa/mldsa_native_config.h
Normal file
10
config/mldsa/mldsa_native_config.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
/* Disable all native/asm backends */
|
||||
// #define MLD_CONFIG_USE_NATIVE_BACKEND_ARITH
|
||||
|
||||
/* No SuperCop */
|
||||
#define MLD_CONFIG_NO_SUPERCOP
|
||||
|
||||
/* No verification API */
|
||||
#define MLD_CONFIG_NO_VERIFY_API
|
||||
Reference in New Issue
Block a user