YPC  0.2.0
Public Types | Static Public Member Functions | List of all members
ypc::crypto::internal::sign_impl< Hash, EC > Struct Template Reference
Inheritance diagram for ypc::crypto::internal::sign_impl< Hash, EC >:
Inheritance graph
[legend]

Public Types

typedef Hash hash_t
 
typedef EC ecc_t
 
typedef ::ypc::utc::bytes< uint8_t, ::ypc::utc::byte_encode::raw_bytes > bytes
 

Static Public Member Functions

static uint32_t get_signature_size ()
 
static uint32_t sign_message (const uint8_t *skey, uint32_t skey_size, const uint8_t *data, uint32_t data_size, uint8_t *sig, uint32_t sig_size)
 
static uint32_t verify_signature (const uint8_t *data, uint32_t data_size, const uint8_t *sig, uint32_t sig_size, const uint8_t *public_key, uint32_t pkey_size)
 
template<typename BytesType >
static uint32_t sign_message (const BytesType &skey, const BytesType &data, BytesType &sig)
 
template<typename BytesType >
static uint32_t verify_signature (const BytesType &data, const BytesType &sig, const BytesType &public_key)
 

The documentation for this struct was generated from the following file: