Skip to content

Create static lib artifact for SECP256K1 #294

@garyschulte

Description

@garyschulte

In support of graal static compilation, besu-native needs to provide precompiles and other native code as static libraries, corresponding header files and provide graal sdk java classes.

SECP256k1 is used by besu for signing, address recovery, and the ecrecover precompile. This lib is integrated with SignatureAlgorithm in besu as well as ECRECPrecompiledContract

Acceptance criteria:

  • creation of secp256k1--static.jar which includes:
    • .a libraries for each secp256k1 lib
    • .h header files for each secp256k1 lib
    • LibSECP256k1*Graal.java counterparts for the existing secp256k1 jna libs
  • ci workflow changes to ensure the secp256k1--static.jar artifacts are built and included in releases

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions