aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/eckcdsa
Commit message (Collapse)AuthorAgeFilesLines
* Add PK_Signer::signature_lengthJack Lloyd2018-08-101-0/+1
|
* Precompute for multiexponentation when verifying ECC signaturesJack Lloyd2018-04-171-5/+6
| | | | | ECDSA already did this. Improves repeated ECGDSA, ECKCDSA, SM2, and GOST signature verification by 10-15%
* Add EC_Group::random_scalarJack Lloyd2018-03-211-1/+1
|
* Use blinded_base_point_multiply_x in the various signature schemesJack Lloyd2018-03-081-2/+1
|
* New API for blinded ECC point multiplicationJack Lloyd2018-02-211-3/+2
| | | | No shared state
* Add point_multiply operation to EC_GroupJack Lloyd2018-02-181-1/+1
| | | | Allows precomputations in the future.
* Add functions to reduce integers mod the order to EC_GroupJack Lloyd2018-02-181-27/+25
| | | | | | This allows calculating the Barett reduction params just once, when the group is initialized, then sharing them across all operations which use that group.
* Make m_emsa in PK_{Signature,Verification}_with_EMSA privateJack Lloyd2017-10-021-2/+2
|
* Further build/test fixes for restricted configurationsJack Lloyd2017-09-241-0/+2
|
* More header cleanupsJack Lloyd2017-09-231-0/+1
|
* Apply final annotations to the library alsoJack Lloyd2017-09-222-3/+3
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Add API stability annotations.Jack Lloyd2017-09-191-2/+2
| | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
* Content:Tomasz Frydrych2017-04-031-1/+1
| | | | | | | | | * fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons
* Remove "Dirty hack" for multiple defines in lex_me_harder()Simon Warta2017-04-021-1/+3
|
* Fix private key ctors API docs [ci skip]René Korthaus2017-01-271-1/+1
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-182-20/+20
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Public_Key derived class ctors take an std::vector<byte>René Korthaus2016-12-111-2/+2
| | | | | | | Changes all the Public_Key derived classes ctors to take a std::vector instead of a secure_vector for the DER encoded public key bits. There is no point in transporting a public key in secure storage. (GH #768)
* Pubkey cleanupsJack Lloyd2016-11-122-12/+0
| | | | | | | | | | Add Public_Key::key_length usable for policy checking (as in TLS::Policy::check_peer_key_acceptable) Remove Public_Key::max_input_bits because it didn't make much sense for most algorithms actually. Remove message_parts and message_part_size from PK_Ops
* Remove Key_Type typedefsJack Lloyd2016-11-081-2/+0
| | | | Also part of Algo_Registry and not needed after #668
* Fix ECKCDSA verification problemNever2016-11-011-1/+1
|
* ECKCDSA improved verification (Shamirs Trick for speed and calculate length ↵Never2016-10-311-10/+8
| | | | of r)
* Fix hardcoded SHA-1 in eckcdsa consistency checkRené Korthaus2016-10-241-1/+1
|
* Improve pubkey doxygen [ci skip]René Korthaus2016-10-191-2/+7
|
* Revert PK_Verifier change (don't require RNG there).Jack Lloyd2016-10-072-10/+12
| | | | | | | Verification is deterministic and public, so really no RNG is ever needed. Change provider handling - accepts "base", "openssl", or empty, otherwise throws a Provider_Not_Found exception.
* Remove Algo_Registry usage from public key code.Jack Lloyd2016-10-072-4/+27
| | | | | | | | Instead the key types exposes operations like `create_encryption_op` which will return the relevant operation if the algorithm supports it. Changes pubkey.h interface, now RNG is passed at init time. Blinder previous created its own RNG, now it takes it from app.
* Fix leading zero bytes in DSA, ECDSA, ECGDSA and ECKCDSA signaturesRené Korthaus2016-08-171-4/+3
|
* Add ECKCDSA signature algorithmRené Korthaus2016-06-143-0/+305