Skip to content

Conversation

@garyschulte
Copy link
Contributor

@garyschulte garyschulte commented Oct 16, 2025

Fixes #295

This PR adds a new artifact to besu-native builds for p256_verify in boringssl - a static lib, and graal specific classes which enable static compilation. This artifacts target static compilation in order to support besu zkvm guest program development.

This PR builds on top of #297, and should be reviewed/merged after in order to reduce review burden

Subsequent libraries will be delivered incrementally in a similar fashion.

This PR explicitly does not add tests for the static artifacts, since graal is required. However, tests for the gnark static lib exist in besu-zkvm

public final String error;

// Wrapper result classes - use common implementations
public static class P256VerifyResult extends BoringSSLPrecompilesCommon.P256VerifyResult {

Check notice

Code scanning / CodeQL

Class has same name as super class Note

P256VerifyResult has the same name as its supertype
org.hyperledger.besu.nativelib.boringssl.BoringSSLPrecompilesCommon$P256VerifyResult
.
@garyschulte garyschulte force-pushed the poc/static-libs-for-boringssl branch 2 times, most recently from 98f6b3f to 4e072a4 Compare October 24, 2025 23:59
@garyschulte garyschulte force-pushed the poc/static-libs-for-boringssl branch from 4e072a4 to 6ed554a Compare October 25, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create static lib artifact for boringssl

1 participant