Skip to content

Commit

Permalink
Merge pull request #171 from AntelopeIO/crypto_ext_doc_upd
Browse files Browse the repository at this point in the history
The crypto extensions documentation updated
  • Loading branch information
jolly-fellow authored May 4, 2023
2 parents bfb1edb + 5fe3166 commit 23a7836
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/05_features/50_crypto-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ As of `v3.0` crypto host functions were extended to include
- `alt_bn128_add`, `alt_bn128_mul`, `alt_bn128_pair`: Add, multiply, and pairing check functions for the `alt_bn128` elliptic curve
- `blake2_f`: `BLAKE2b F` compression function
- `sha3`: sha3` hash function using `SHA3 NIST`
- `Keccak256`: `sha3` hash function using `SHA3 Keccak`
- `keccak`: `Keccak256` hash function using `SHA3 Keccak`
- `k1_recover`: Safe `ECDSA` uncompressed pubkey recover for the `secp256k1` curve

In `v3.0`, `C` format was supported; in `v3.1`, `C++` format was added for better data abstraction.
In `v3.0`, `C` format was supported; in `v3.1` and newer versions, `C++` format was added for better data abstraction.

## Prerequisites

Expand Down Expand Up @@ -79,7 +79,7 @@ C++ types were added to represent `G1` and `G2` points (read and write) and view
ec_point(std::vector<char>& p);

/**
* Return serialzed point containing only x and y
* Return serialized point containing only x and y
*/
std::vector<char> serialized() const;
};
Expand Down Expand Up @@ -129,7 +129,7 @@ C++ types were added to represent `G1` and `G2` points (read and write) and view
ec_point_view(const ec_point<Size>& p);

/**
* Return serialzed point containing only x and y
* Return serialized point containing only x and y
*/
std::vector<char> serialized() const;
};
Expand Down

0 comments on commit 23a7836

Please sign in to comment.