Skip to content

Eliminate SUPERCOP API from tests #878

@mkannwischer

Description

@mkannwischer

Our tests currently use the SUPERCOP API to call in mldsa-native and have to define a couple of additional SUPERCOP-style symbols:

#define crypto_sign_keypair_internal MLD_API_NAMESPACE(keypair_internal)
#define crypto_sign_signature_internal MLD_API_NAMESPACE(signature_internal)
#define crypto_sign_verify_internal MLD_API_NAMESPACE(verify_internal)
#define crypto_sign_verify_extmu MLD_API_NAMESPACE(verify_extmu)
#define crypto_sign_signature_pre_hash_internal \
MLD_API_NAMESPACE(signature_pre_hash_internal)
#define crypto_sign_verify_pre_hash_internal \
MLD_API_NAMESPACE(verify_pre_hash_internal)
#define crypto_sign_signature_pre_hash_shake256 \
MLD_API_NAMESPACE(signature_pre_hash_shake256)
#define crypto_sign_verify_pre_hash_shake256 \

We should just switch this to the regular API.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions