plebble
us::gov::crypto Namespace Reference

Namespaces

 b58
 
 b64
 
package  test
 

Classes

class  AddressFormatException
 
class  base58
 
class  BigIntegerConverter
 
class  double_sha256
 
class  ec
 
class  Extensions
 
class  InvalidCharacter
 
class  KeyPair
 
class  linux_secure_random
 
class  ripemd160
 
class  sha256
 
class  symmetric_encryption
 

Functions

ostream & operator<< (ostream &os, const ec::keys::pub_t &k)
 
istream & operator>> (istream &is, ec::keys::pub_t &k)
 
ostream & operator<< (ostream &os, const ec::keys::priv_t &k)
 
istream & operator>> (istream &is, ec::keys::priv_t &k)
 
static uint16_t ReadLE16 (const unsigned char *ptr)
 
static uint32_t ReadLE32 (const unsigned char *ptr)
 
static uint64_t ReadLE64 (const unsigned char *ptr)
 
static void WriteLE16 (unsigned char *ptr, uint16_t x)
 
static void WriteLE32 (unsigned char *ptr, uint32_t x)
 
static void WriteLE64 (unsigned char *ptr, uint64_t x)
 
static uint32_t ReadBE32 (const unsigned char *ptr)
 
static uint64_t ReadBE64 (const unsigned char *ptr)
 
static void WriteBE32 (unsigned char *ptr, uint32_t x)
 
static void WriteBE64 (unsigned char *ptr, uint64_t x)
 
ostream & operator<< (ostream &os, const us::gov::crypto::ripemd160::value_type &v)
 
template<typename T >
us::gov::crypto::ripemd160operator<< (us::gov::crypto::ripemd160 &h, const T &v)
 
istream & operator>> (istream &is, us::gov::crypto::ripemd160::value_type &v)
 
ostream & operator<< (ostream &os, const us::gov::crypto::sha256::value_type &v)
 
istream & operator>> (istream &is, const us::gov::crypto::sha256::value_type &v)
 

Function Documentation

◆ operator<<() [1/5]

ostream& us::gov::crypto::operator<< ( ostream &  os,
const ec::keys::priv_t k 
)
inline

References us::gov::crypto::ec::keys::priv_t::to_b58().

Here is the call graph for this function:

◆ operator<<() [2/5]

ostream& us::gov::crypto::operator<< ( ostream &  os,
const ec::keys::pub_t k 
)
inline

References us::gov::crypto::ec::keys::pub_t::to_b58().

Here is the call graph for this function:

◆ operator<<() [3/5]

ostream& us::gov::crypto::operator<< ( ostream &  os,
const us::gov::crypto::ripemd160::value_type v 
)
inline

References us::gov::crypto::ripemd160::value_type::to_b58().

Here is the call graph for this function:

◆ operator<<() [4/5]

ostream& us::gov::crypto::operator<< ( ostream &  os,
const us::gov::crypto::sha256::value_type v 
)
inline

References us::gov::crypto::sha256::value_type::to_b58().

Here is the call graph for this function:

◆ operator<<() [5/5]

template<typename T >
us::gov::crypto::ripemd160& us::gov::crypto::operator<< ( us::gov::crypto::ripemd160 h,
const T &  v 
)
inline

References us::gov::crypto::ripemd160::write().

Here is the call graph for this function:

◆ operator>>() [1/4]

istream& us::gov::crypto::operator>> ( istream &  is,
const us::gov::crypto::sha256::value_type v 
)
inline

References us::gov::crypto::sha256::value_type::from_b58().

Here is the call graph for this function:

◆ operator>>() [2/4]

istream& us::gov::crypto::operator>> ( istream &  is,
ec::keys::priv_t k 
)
inline

References us::gov::crypto::ec::keys::priv_t::set_b58(), and us::gov::crypto::ec::keys::priv_t::zero().

Here is the call graph for this function:

◆ operator>>() [3/4]

istream& us::gov::crypto::operator>> ( istream &  is,
ec::keys::pub_t k 
)
inline

References us::gov::crypto::ec::keys::pub_t::set_b58(), and us::gov::crypto::ec::keys::pub_t::zero().

Here is the call graph for this function:

◆ operator>>() [4/4]

istream& us::gov::crypto::operator>> ( istream &  is,
us::gov::crypto::ripemd160::value_type v 
)
inline

References us::gov::crypto::ripemd160::value_type::set_b58().

Here is the call graph for this function:

◆ ReadBE32()

static uint32_t us::gov::crypto::ReadBE32 ( const unsigned char *  ptr)
inlinestatic

◆ ReadBE64()

static uint64_t us::gov::crypto::ReadBE64 ( const unsigned char *  ptr)
inlinestatic

◆ ReadLE16()

static uint16_t us::gov::crypto::ReadLE16 ( const unsigned char *  ptr)
inlinestatic

◆ ReadLE32()

static uint32_t us::gov::crypto::ReadLE32 ( const unsigned char *  ptr)
inlinestatic

Referenced by anonymous_namespace{ripemd160.cpp}::Transform().

Here is the caller graph for this function:

◆ ReadLE64()

static uint64_t us::gov::crypto::ReadLE64 ( const unsigned char *  ptr)
inlinestatic

◆ WriteBE32()

static void us::gov::crypto::WriteBE32 ( unsigned char *  ptr,
uint32_t  x 
)
inlinestatic

◆ WriteBE64()

static void us::gov::crypto::WriteBE64 ( unsigned char *  ptr,
uint64_t  x 
)
inlinestatic

◆ WriteLE16()

static void us::gov::crypto::WriteLE16 ( unsigned char *  ptr,
uint16_t  x 
)
inlinestatic

◆ WriteLE32()

static void us::gov::crypto::WriteLE32 ( unsigned char *  ptr,
uint32_t  x 
)
inlinestatic

◆ WriteLE64()

static void us::gov::crypto::WriteLE64 ( unsigned char *  ptr,
uint64_t  x 
)
inlinestatic