Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Failure to compile for FP256BN #117

Open
cjpn opened this issue Aug 14, 2023 · 0 comments
Open

Failure to compile for FP256BN #117

cjpn opened this issue Aug 14, 2023 · 0 comments

Comments

@cjpn
Copy link

cjpn commented Aug 14, 2023

When I try to build the new version of the library (master branch) with FP256BN as one of the curves it fails because config_curve_FP256BN.h doesn't have ATE_BITS_FP256BN set correctly. It seems that one of the parameters (AB) for FP256BN in the file cmake/AMCLParameters.cmake is missing, it is set to '.' .

How do I fix this? What value is needed for ATE_BITS_FP256BN (AB in the cmake/AMCLParameters.cmake file)?

I know that this curve has reduced security, but it is used by the Trusted Platform Module (TPM). The other pairing friendly curve used by the TPM FP638BN is not included at all.

@cjpn cjpn changed the title Fails to compile for FP256BN Failure to compile for FP256BN Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant