#include <bank.h>
Definition at line 249 of file bank.h.
CoinRequest::CoinRequest |
( |
BIO * |
bio | ) |
|
|
inline |
Definition at line 267 of file bank.h.
278 if(BN_cmp(y,bank.
p()) < 0)
283 m_bnBlindingFactor=BN_new();
void DumpNumber(BIO *out, const char *szTitle, const BIGNUM *bn, const char *szTrailer=_NL)
boolean GenerateCoinNumber(BIGNUM *bnNumber, const PublicBank &bank)
void Random(int nCoinLength)
CoinRequest::~CoinRequest |
( |
| ) |
|
|
inline |
Definition at line 297 of file bank.h.
299 BN_free(m_bnBlindingFactor);
void CoinRequest::Dump |
( |
| ) |
|
|
inline |
Definition at line 321 of file bank.h.
void DumpNumber(BIO *out, const char *szTitle, const BIGNUM *bn, const char *szTrailer=_NL)
void CoinRequest::ProcessResponse |
( |
Coin * |
pCoin, |
|
|
PublicBank & |
bank, |
|
|
BIGNUM * |
bnSignedCoinRequest |
|
) |
| |
|
inline |
Definition at line 311 of file bank.h.
314 BIGNUM *bnCoinSignature=
Unblind(bnSignedCoinRequest,bank);
316 pCoin->
Set(m_coin,bnCoinSignature);
void DumpNumber(BIO *out, const char *szTitle, const BIGNUM *bn, const char *szTrailer=_NL)
void Set(BIGNUM *bnCoinID, BIGNUM *bnCoinSignature)
BIGNUM * Unblind(BIGNUM *bnSignedCoin, PublicBank &bank)
void CoinRequest::ReadBIO |
( |
BIO * |
bio | ) |
|
BIGNUM* CoinRequest::Unblind |
( |
BIGNUM * |
bnSignedCoin, |
|
|
PublicBank & |
bank |
|
) |
| |
|
inline |
Definition at line 302 of file bank.h.
306 BN_mod_exp(z,bank.
pub_key(),m_bnBlindingFactor,bank.
p(),m_ctx);
307 BN_mod_inverse(z,z,bank.
p(),m_ctx);
308 BN_mod_mul(z,bnSignedCoin,z,bank.
p(),m_ctx);
void CoinRequest::WriteBIO |
( |
BIO * |
bio | ) |
|
The documentation for this class was generated from the following file:
- /usr/local/src/opentxs/deps/lucre/include/lucre/bank.h