aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_parameters.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix cppcheck findingsRené Fischer2020-06-051-1/+1
|
* Add support for XMSS X.509 certificatesRené Korthaus2019-10-211-1/+1
|
* Fix param names to match RFCJack Lloyd2019-05-131-24/+24
|
* Fix param namesJack Lloyd2019-05-101-23/+23
|
* Updates copyright noticesMatthias Gierlings2019-05-061-1/+1
|
* Updates references to XMSS the standard documentMatthias Gierlings2019-05-061-4/+3
|
* Updates XMSS parameters corresponding to RFC 8391Matthias Gierlings2019-05-061-60/+60
| | | | | Changes XMSS and XMSS WOTS algorithm names and OIDs to correspond to RFC 8391.
* Make exceptions easier to translate to error codesJack Lloyd2018-11-231-2/+1
| | | | | | | | | | | Avoid throwing base Botan::Exception type, as it is difficult to determine what the error is in that case. Add Exception::error_code and Exception::error_type which allows (for error code) more information about the error and (for error type) allows knowing the error type without requiring a sequence of catches. See GH #1742
* Updates documentation, news and copyright notices.Matthias Gierlings2017-11-211-1/+1
| | | | | | - Adds XMSS to the index of supported signature schemes. - Adds XMSS multithreading support to news.rst - Updates copyright notices of edited files.
* Implements multithreading support for XMSSMatthias Gierlings2017-11-211-14/+12
|
* Clean up header includesJack Lloyd2017-09-211-0/+1
| | | | | | | Avoid including build.h or assert.h directly, instead always take them though types.h Avoid math.h in favor of cmath
* Correct XMSS crash when a hash was disabledJack Lloyd2016-11-251-1/+1
| | | | Require SHA-256 in XMSS since that is mandatory for the index registry.
* Make XMSS more friendly about invalid params.Jack Lloyd2016-11-251-19/+34
| | | | | | Previously just throw an exception from map.at Add an XMSS keygen test, and add default params for create_private_key
* Merge GH #736 Add SHAKE support to XMSSJack Lloyd2016-11-251-74/+67
|\
| * Adds SHAKE support for XMSSMatthias Gierlings2016-11-251-74/+67
| | | | | | | | | | | | | | - Enables code for shake support - Creating SHAKE hash function by name now allows to select output size of 256 Bit for SHAKE128 and 512 Bit for SHAKE256. - Adds *self-generated*, unverified test vectors for XMSS/SHAKE.
* | Avoid having source files start with /**Jack Lloyd2016-11-251-1/+1
|/ | | | | | | This caused Doxygen to dump the copyright notices for those files into the Botan namespace description, which is not helpful. [ci skip]
* Added Extended Hash-Based Signatures (XMSS)Matthias Gierlings2016-11-111-0/+179
[1] XMSS: Extended Hash-Based Signatures, draft-itrf-cfrg-xmss-hash-based-signatures-06 Release: July 2016. https://datatracker.ietf.org/doc/ draft-irtf-cfrg-xmss-hash-based-signatures/?include_text=1 Provides XMSS_PublicKey and XMSS_PrivateKey classes as well as implementations for the Botan interfaces PK_Ops::Signature and PK_Ops::Verification. XMSS has been integrated into the Botan test bench, signature generation and verification can be tested independently by invoking "botan-test xmss_sign" and "botan-test xmss_verify" - Some headers that are not required to be exposed to users of the library have to be declared as public in `info.txt`. Declaring those headers private will cause the amalgamation build to fail. The following headers have been declared public inside `info.txt`, even though they are only intended for internal use: * atomic.h * xmss_hash.h * xmss_index_registry.h * xmss_address.h * xmss_common_ops.h * xmss_tools.h * xmss_wots_parameters.h * xmss_wots_privatekey.h * xmss_wots_publickey.h - XMSS_Verification_Operation Requires the "randomness" parameter out of the XMSS signature. "Randomness" is part of the prefix that is hashed *before* the message. Since the signature is unknown till sign() is called, all message content has to be buffered. For large messages this can be inconvenient or impossible. **Possible solution**: Change PK_Ops::Verification interface to take the signature as constructor argument, and provide a setter method to be able to update reuse the instance on multiple signatures. Make sign a parameterless member call. This solution requires interface changes in botan. **Suggested workaround** for signing large messages is to not sign the message itself, but to precompute the message hash manually using Botan::HashFunctio and sign the message hash instead of the message itself. - Some of the available test vectors for the XMSS signature verification have been commented out in order to reduce testbench runtime.