Skip to content

Commit

Permalink
GH-2334 Make method public to avoid multiple friend declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Mar 27, 2024
1 parent 61afa39 commit 8381b40
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/libfc/include/fc/crypto/bls_signature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ namespace fc::crypto::blslib {
return ds;
}

private:
friend class bls_aggregate_signature;
static bls12_381::g2 to_jacobian_montgomery_le(const std::array<uint8_t, 192>& affine_non_montgomery_le);

private:
std::array<uint8_t, 192> _affine_non_montgomery_le{};
bls12_381::g2 _jacobian_montgomery_le; // cached g2
};
Expand Down

0 comments on commit 8381b40

Please sign in to comment.