Debian Codegraph @

others/mbedtls/tf-psa-crypto/drivers/pqcp/mldsa-native/integration/liboqs/fips202x4_glue.h

raw symbols SCIP
1 /*
2 * Copyright (c) The mldsa-native project authors
3 * SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT
4 */
5 #ifndef MLD_INTEGRATION_LIBOQS_FIPS202X4_GLUE_H
6 #define MLD_INTEGRATION_LIBOQS_FIPS202X4_GLUE_H
7
8 /* Include OQS's own FIPS202_X4 header */
9 #include "fips202x4.h"
10
11 /* OQS's FIPS202_X4 is as-is compatible with the one expected
12 * by mldsa-native, so just remove the mld_xxx prefix. */
13 #define mld_shake128x4ctx shake128x4incctx
14 #define mld_shake128x4_absorb_once shake128x4_absorb_once
15 #define mld_shake128x4_squeezeblocks shake128x4_squeezeblocks
16 #define mld_shake128x4_init shake128x4_inc_init
17 #define mld_shake128x4_release shake128x4_inc_ctx_release
18
19 #define mld_shake256x4ctx shake256x4incctx
20 #define mld_shake256x4_absorb_once shake256x4_absorb_once
21 #define mld_shake256x4_squeezeblocks shake256x4_squeezeblocks
22 #define mld_shake256x4_init shake256x4_inc_init
23 #define mld_shake256x4_release shake256x4_inc_ctx_release
24
25 #endif /* !MLD_INTEGRATION_LIBOQS_FIPS202X4_GLUE_H */