|
Botan
1.10.17
|
#include <emsa3.h>
Public Member Functions | |
| SecureVector< byte > | encoding_of (const MemoryRegion< byte > &, size_t, RandomNumberGenerator &rng) |
| SecureVector< byte > | raw_data () |
| void | update (const byte[], size_t) |
| bool | verify (const MemoryRegion< byte > &, const MemoryRegion< byte > &, size_t) |
EMSA3_Raw which is EMSA3 without a hash or digest id (which according to QCA docs is "identical to PKCS#11's CKM_RSA_PKCS mechanism", something I have not confirmed)
|
virtual |
Return the encoding of a message
| msg | the result of raw_data() |
| output_bits | the desired output bit size |
| rng | a random number generator |
Implements Botan::EMSA.
|
virtual |
Implements Botan::EMSA.
Definition at line 118 of file emsa3.cpp.
References std::swap().
|
virtual |
Add more data to the signature computation
| input | some data |
| length | length of input in bytes |
Implements Botan::EMSA.
|
virtual |
Verify the encoding
| coded | the received (coded) message representative |
| raw | the computed (local, uncoded) message representative |
| key_bits | the size of the key in bits |
Implements Botan::EMSA.
1.8.14