aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/ta_utils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make PKCS #1 and OAEP decoding constant time to avoid oracle attacksJack Lloyd2015-10-161-66/+0
| | | | | | | | via timing channels. Add annotations for checking constant-time code using ctgrind to PKCS #1 and OAEP, as well as IDEA and Curve25519 which were already written as constant time code.
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Add an implementation of McEliece encryption based on HyMESfstrenzke2014-11-261-12/+24
| | | | | | | (https://www.rocq.inria.fr/secret/CBCrypto/index.php?pg=hymes). The original version is LGPL but cryptsource GmbH has secured permission to release it under a BSD license. Also includes the Overbeck CCA2 message encoding scheme.
* Add some util functions for timing attack countermeasures from Falkolloyd2014-11-151-0/+54