Kagome
Polkadot Runtime Engine in C++17
ecdsa_types.hpp File Reference
#include <cstdint>
#include <libp2p/crypto/ecdsa_types.hpp>
#include "common/blob.hpp"
Include dependency graph for ecdsa_types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::crypto::EcdsaKeypair
 
struct  kagome::crypto::EcdsaKeypairAndSeed
 

Namespaces

 kagome::crypto
 
 kagome::crypto::constants::ecdsa
 

Typedefs

using kagome::crypto::EcdsaSignature = std::vector< uint8_t >
 
using kagome::crypto::EcdsaSeed = common::Blob< constants::ecdsa::SEED_SIZE >
 
using kagome::crypto::EcdsaPrehashedMessage = libp2p::crypto::ecdsa::PrehashedMessage
 

Enumerations

enum  { kagome::crypto::constants::ecdsa::PRIVKEY_SIZE = sizeof(libp2p::crypto::ecdsa::PrivateKey), kagome::crypto::constants::ecdsa::PUBKEY_SIZE = sizeof(libp2p::crypto::ecdsa::PublicKey), kagome::crypto::constants::ecdsa::SIGNATURE_SIZE = 65, kagome::crypto::constants::ecdsa::SEED_SIZE = PRIVKEY_SIZE }
 

Functions

 KAGOME_BLOB_STRICT_TYPEDEF (kagome::crypto, EcdsaPrivateKey, constants::ecdsa::PRIVKEY_SIZE)
 
 KAGOME_BLOB_STRICT_TYPEDEF (kagome::crypto, EcdsaPublicKey, constants::ecdsa::PUBKEY_SIZE)
 

Function Documentation

KAGOME_BLOB_STRICT_TYPEDEF ( kagome::crypto  ,
EcdsaPrivateKey  ,
constants::ecdsa::PRIVKEY_SIZE   
)
KAGOME_BLOB_STRICT_TYPEDEF ( kagome::crypto  ,
EcdsaPublicKey  ,
constants::ecdsa::PUBKEY_SIZE   
)