ProofSystem/include/ProofSystem/EthereumKeyPairParams.hpp¶
Ethereum types header file. More...
Namespaces¶
| Name |
|---|
| ethereum |
Types¶
| Name | |
|---|---|
| using ecdsa_t::CurveType | CurveType Curve type used by Ethereum keys. |
| using typename ecdsa_t::base_field_type | base_field_type Ethereum base field type. |
| using typename ecdsa_t::scalar_field_type | scalar_field_type Ethereum scalar field type. |
| using typename ecdsa_t::scalar_field_value_type | scalar_field_value_type Ethereum value from the scalar field type. |
| using ecdsa_t::random_generator_type | random_generator_type Random generator type, to generate new Ethereum keys/addresses. |
| using ecdsa_t::hash_type | hash_type The hash type used by Ethereum address derivation. |
| using ecdsa_t::generator_type | generator_type The deterministic generator used by Ethereum key pair. |
| using ecdsa_t::padding_policy | padding_policy Ethereum passing policy. |
| using ecdsa_t::policy_type | policy_type Ethereum policy type. |
| using ecdsa_t::signature_type | signature_type Ethereum signature type. |
| using hashes::keccak_1600< 256 > | derivation_hash_type The hash type used by Ethereum address derivation. |
Detailed Description¶
Ethereum types header file.
Date: 2023-12-06 Super Genius ([email protected]) Henrique A. Klein ([email protected])
Types Documentation¶
using CurveType¶
Curve type used by Ethereum keys.
using base_field_type¶
Ethereum base field type.
using scalar_field_type¶
Ethereum scalar field type.
using scalar_field_value_type¶
Ethereum value from the scalar field type.
using random_generator_type¶
Random generator type, to generate new Ethereum keys/addresses.
using hash_type¶
The hash type used by Ethereum address derivation.
using generator_type¶
The deterministic generator used by Ethereum key pair.
using padding_policy¶
Ethereum passing policy.
using policy_type¶
Ethereum policy type.
using signature_type¶
Ethereum signature type.
using derivation_hash_type¶
The hash type used by Ethereum address derivation.
Source code¶
#ifndef ETHEREUM_KEY_PAIR_PARAMS_HPP
#define ETHEREUM_KEY_PAIR_PARAMS_HPP
#include <nil/crypto3/hash/keccak.hpp>
#include "ECDSATypes.hpp"
namespace ethereum
{
using namespace nil::crypto3;
using CurveType = ecdsa_t::CurveType;
using base_field_type = typename ecdsa_t::base_field_type;
using scalar_field_type = typename ecdsa_t::scalar_field_type;
using scalar_field_value_type = typename ecdsa_t::scalar_field_value_type;
using random_generator_type = ecdsa_t::random_generator_type;
using hash_type = ecdsa_t::hash_type;
using generator_type = ecdsa_t::generator_type;
using padding_policy = ecdsa_t::padding_policy;
using policy_type = ecdsa_t::policy_type;
using signature_type = ecdsa_t::signature_type;
using derivation_hash_type = hashes::keccak_1600<256>;
} // namespace ethereum
#endif
// ETHEREUM_KEY_PAIR_PARAMS_HPP
Updated on 2026-03-04 at 13:10:44 -0800