Botan
1.10.9
|
#include <bn_wrap.h>
Public Member Functions | |
size_t | bytes () const |
void | encode (byte[], size_t) const |
OSSL_BN & | operator= (const OSSL_BN &) |
OSSL_BN (const OSSL_BN &) | |
OSSL_BN (const BigInt &=0) | |
OSSL_BN (const byte[], size_t) | |
BigInt | to_bigint () const |
SecureVector< byte > | to_bytes () const |
~OSSL_BN () | |
Public Attributes | |
BIGNUM * | value |
Botan::OSSL_BN::OSSL_BN | ( | const OSSL_BN & | other | ) |
Botan::OSSL_BN::OSSL_BN | ( | const BigInt & | in = 0 | ) |
Definition at line 15 of file bn_wrap.cpp.
References Botan::BigInt::encode(), Botan::MemoryRegion< T >::size(), and value.
Botan::OSSL_BN::OSSL_BN | ( | const byte | in[], |
size_t | length | ||
) |
Botan::OSSL_BN::~OSSL_BN | ( | ) |
Definition at line 43 of file bn_wrap.cpp.
References value.
size_t Botan::OSSL_BN::bytes | ( | ) | const |
Definition at line 68 of file bn_wrap.cpp.
References value.
Referenced by encode(), and to_bigint().
void Botan::OSSL_BN::encode | ( | byte | out[], |
size_t | length | ||
) | const |
BigInt Botan::OSSL_BN::to_bigint | ( | ) | const |
Definition at line 76 of file bn_wrap.cpp.
References bytes(), Botan::BigInt::decode(), and value.
Referenced by to_bytes().
|
inline |
Definition at line 28 of file bn_wrap.h.
References Botan::BigInt::encode(), and to_bigint().
BIGNUM* Botan::OSSL_BN::value |
Definition at line 22 of file bn_wrap.h.
Referenced by bytes(), encode(), operator=(), OSSL_BN(), to_bigint(), and ~OSSL_BN().