aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecies
Commit message (Collapse)AuthorAgeFilesLines
* Apply final annotations to the library alsoJack Lloyd2017-09-222-5/+5
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* More include header cleanupsJack Lloyd2017-09-212-2/+2
|
* Header file cleanupsJack Lloyd2017-09-211-0/+1
| | | | Some help from include-what-you-use
* 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-5/+5
| | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
* Use constant_time_compare instead of same_memJack Lloyd2017-09-161-1/+1
| | | | New name, same great operation
* Clean up use of <limits> headerJack Lloyd2017-09-031-0/+1
| | | | Don't include it where it is not needed, included it where it is used.
* Content:Tomasz Frydrych2017-04-031-0/+4
| | | | | | | | | * 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
|
* Merge GH #779 Add ECDH/ECIES blinding and DH small subgroup checkingJack Lloyd2016-12-211-5/+8
|\
| * Blind the ECDH/ECIES agree operation.Never2016-12-191-5/+8
| |
* | Convert to using standard uintN_t integer typesJack Lloyd2016-12-182-25/+25
|/ | | | | | 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.
* Pubkey cleanupsJack Lloyd2016-11-121-5/+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
* Simplify some code by using T::create_or_throwJack Lloyd2016-11-032-21/+7
|
* Fix doxygen warnings [ci skip]René Korthaus2016-10-191-0/+3
|
* Improve pubkey doxygen [ci skip]René Korthaus2016-10-191-1/+1
|
* Make pk_ops.h internalJack Lloyd2016-10-082-16/+30
| | | | Some fixes for missing system_rng in ECIES and tests.
* Remove Algo_Registry usage from public key code.Jack Lloyd2016-10-072-7/+16
| | | | | | | | 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 source file encoding ANSI -> UTF-8Daniel Neus2016-08-171-1/+1
| | | | | | | | | should fix: ``` WARN: Invalid character encountered in file /home/travis/build/randombit/botan/src/tests/test_utils.cpp at line 381 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. WARN: Invalid character encountered in file /home/travis/build/randombit/botan/src/lib/pubkey/ecies/ecies.cpp at line 311 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'. ```
* add more ECIES testsDaniel Neus2016-07-191-2/+2
|
* replace (deprecated) Pipe API with Cipher_Mode in ECIESDaniel Neus2016-07-133-22/+20
|
* Add missing override annotation. Fix formatting in ECIES testsJack Lloyd2016-06-301-1/+1
|
* ecies review change: decrypt only if mac is correct and catch exceptions ↵Philipp Weber2016-05-231-11/+25
| | | | during decryption
* add ecies implementation according to iso-18033Philipp Weber2016-04-273-0/+687