Botan
1.10.9
|
#include <gost_3410.h>
Public Member Functions | |
GOST_3410_Signature_Operation (const GOST_3410_PrivateKey &gost_3410) | |
size_t | max_input_bits () const |
size_t | message_part_size () const |
size_t | message_parts () const |
SecureVector< byte > | sign (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
GOST-34.10 signature operation
Definition at line 97 of file gost_3410.h.
Botan::GOST_3410_Signature_Operation::GOST_3410_Signature_Operation | ( | const GOST_3410_PrivateKey & | gost_3410 | ) |
Definition at line 96 of file gost_3410.cpp.
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Signature.
Definition at line 104 of file gost_3410.h.
|
inlinevirtual |
Find out the message part size supported by this scheme/key.
Reimplemented from Botan::PK_Ops::Signature.
Definition at line 103 of file gost_3410.h.
|
inlinevirtual |
Find out the number of message parts supported by this scheme.
Reimplemented from Botan::PK_Ops::Signature.
Definition at line 102 of file gost_3410.h.
|
virtual |
Implements Botan::PK_Ops::Signature.
Definition at line 106 of file gost_3410.cpp.
References Botan::BigInt::binary_encode(), Botan::BigInt::bits(), BOTAN_ASSERT, Botan::BigInt::bytes(), Botan::PointGFp::get_affine_x(), Botan::PointGFp::on_the_curve(), r, Botan::BigInt::randomize(), and s.