aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always keep coord_{x,y,z} < p, so don't ever have to copy or use reducerlloyd2010-03-131-22/+10
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save workspace for addition calls inside operator*=lloyd2010-03-132-20/+28
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Share workspace among calls to mult2lloyd2010-03-132-10/+9
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cache a workspace; much fasterlloyd2010-03-132-31/+43
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct Doxygen commentlloyd2010-03-131-3/+3
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small optimizationslloyd2010-03-131-6/+13
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kill stdio includelloyd2010-03-131-2/+0
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unroll point multiply to look at two bits of scalar each iteration.lloyd2010-03-131-2/+24
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Precompute a*rlloyd2010-03-132-2/+9
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More monty_mult cleanupslloyd2010-03-131-6/+4
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small monty_mult cleanuplloyd2010-03-131-10/+8
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inline/simplifiy monty multlloyd2010-03-131-31/+15
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Single word p-dashlloyd2010-03-131-3/+4
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only need a single word from p_dash, so only save that single word.lloyd2010-03-131-94/+9
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Montgomery reduction for the important parts of PointGFp, usinglloyd2010-03-132-74/+78
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Name args to bigint_{mul,sqr} in headerlloyd2010-03-131-5/+5
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give PK_Signer users the option of disabling fault protectionlloyd2010-03-132-6/+17
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move monty params to curve, since only depend on the primelloyd2010-03-131-4/+37
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add back code for montgomery PointGFp mult (not used atm)lloyd2010-03-132-14/+165
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hide PointGFp constructorslloyd2010-03-132-7/+14
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove access to the Jacobian coordinate getters get_{x,y,z}, as welllloyd2010-03-132-33/+9
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | / Include <netinet/in.h>; needed on FreeBSD at leastlloyd2010-03-101-1/+2
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove config options to toggle if X.509 extensions are critical orlloyd2010-03-107-96/+47
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make cert decoding errors more verboselloyd2010-03-101-2/+2
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the base/default_allocator option, instead save as a per-libstatelloyd2010-03-103-19/+25
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guard call to the allocator in deallocate() by checking if the alloclloyd2010-03-101-1/+1
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DSA and NR require certain parameters (which depend on the randomlylloyd2010-03-092-18/+24
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove decls of removed RSA encrypt/decryptlloyd2010-03-091-5/+0
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oops. Secret nonce/seed for blinding for DH and ElGamal was 2^x mod p.lloyd2010-03-092-2/+2
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-name unused rng arglloyd2010-03-091-1/+1
|/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deconstify PK_Ops. It's quite reasonable that some op will want tolloyd2010-03-0922-121/+79
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate code for choosing a window size for fixed width windowlloyd2010-03-094-72/+41
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add back RSA consistency checking (decrypt only)lloyd2010-03-092-3/+8
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have PK_Signer check the validity of all signatures before releasing.lloyd2010-03-092-8/+52
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use preexisting powermod precomputations for setting up blinderslloyd2010-03-092-2/+2
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove decls of unimplemented functionslloyd2010-03-081-3/+0
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blinder::choose_nonce added a single byte of the timestamps 8 times,lloyd2010-03-081-2/+2
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add back in blinding to RSA, RW, ElGamal, and DH.lloyd2010-03-0815-103/+175
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME tolloyd2010-03-086-43/+45
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify pubkey classes to take names instead of object pointers.lloyd2010-03-0820-160/+148
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have the constructors in pubkey.h take all arguments look_pk does, andlloyd2010-03-083-39/+51
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the now no-op classes PK_Encrypting_Key,lloyd2010-03-0819-148/+38
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On GMP 5.0 and later, use mpz_powm_sec, which is a version of modularlloyd2010-03-051-0/+6
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update OpenSSL engine for new interface. Similiar to GMP engine, droplloyd2010-03-059-503/+356
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add GMP PK filelloyd2010-03-051-0/+344
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused variablelloyd2010-03-051-1/+0
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update GMP engine with new PK operations interface.lloyd2010-03-058-481/+11
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set domain_encoding enum in all EC key constructorslloyd2010-03-051-10/+15
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inline Engine_Core::mod_exp into singler caller, and deletelloyd2010-03-054-74/+19
* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove IF_Corelloyd2010-03-0516-366/+7