aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecies
Commit message (Collapse)AuthorAgeFilesLines
* 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