Skip to content

Commit 6bbe397

Browse files
committed
Remove redundant MLD_ERR definitions
These are no longer necessary. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
1 parent 4bbd5cd commit 6bbe397

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

drivers/pqcp/src/pqcp_buffer_alloc.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,6 @@
1616
#include "threading_internal.h"
1717
#endif
1818

19-
/* MLDSA error definitions copied from src/common.h,
20-
to prevent polluting any file that includes wrap_mldsa_native.h */
21-
/* Generic failure condition */
22-
#define MLD_ERR_FAIL -1
23-
/* An allocation failed. This can only happen if MLD_CONFIG_CUSTOM_ALLOC_FREE
24-
* is defined and the provided MLD_CUSTOM_ALLOC can fail. */
25-
#define MLD_ERR_OUT_OF_MEMORY -2
26-
/* An rng failure occurred. Might be due to insufficient entropy or
27-
* system misconfiguration. */
28-
#define MLD_ERR_RNG_FAIL -3
29-
3019
// Sufficient for signing with TF_PSA_CRYPTO_PQCP_MLDSA_87_ENABLED
3120
// Call stack: mldsa87_signature_internal -> attempt_signature_generation87
3221
#define TF_PSA_CRYPTO_PQCP_ALLOC_BUFFER_SIZE \

0 commit comments

Comments
 (0)