aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add a new subclass for BlockCipher BlockCipher_Fixed_Block_Size, whichlloyd2010-10-1357-203/+232
| | | | | | | | | | | | | | sets the block size statically and also creates an enum with the size. Use the enum instead of calling block_size() where possible, since that uses two virtual function calls per block which is quite unfortunate. The real advantages here as compared to the previous version which kept the block size as a per-object u32bit: - The compiler can inline the constant as an immediate operand (previously it would load the value via an indirection on this) - Removes 32 bits per object overhead (except in cases with actually variable block sizes, which are very few and rarely used)
* Split some of the ASN.1 types into their own headerslloyd2010-10-138-58/+100
|
* s/u32bit/size_t/ in asn1lloyd2010-10-137-75/+77
|
* Fix compilelloyd2010-10-131-1/+6
|
* Remove HashFunction::HASH_BLOCK_SIZE entirelylloyd2010-10-1310-36/+44
|
* Remove most uses of HASH_BLOCK_SIZElloyd2010-10-1322-52/+57
|
* s/BLOCK_SIZE/block_size()/lloyd2010-10-1356-382/+391
|
* Use output_length() instead of OUTPUT_LENGTH pseudo-propertylloyd2010-10-1342-97/+97
|
* Add accessors for block size and output lengthlloyd2010-10-132-0/+10
|
* s/u32bit/size_t/ in utilslloyd2010-10-1311-55/+55
|
* Use size_t rather than u32bit in SymmetricAlgorithmlloyd2010-10-1386-182/+184
|
* size_tlloyd2010-10-131-1/+1
|
* More size_tlloyd2010-10-139-40/+40
|
* s/u32bit/size_t/ in streamlloyd2010-10-1314-108/+118
|
* s/u32bit/size_t/ in pbkdflloyd2010-10-127-31/+31
|
* Use size_t for BufferedComputation::add_datalloyd2010-10-1264-209/+216
|
* Remove Alder32::hash, replace by anon namespace functionlloyd2010-10-122-14/+20
|
* Use size_t instead of u32bit in entropy and rnglloyd2010-10-1221-106/+106
|
* size_t in selftestlloyd2010-10-121-1/+1
|
* Use size_t in SCAN_Namelloyd2010-10-128-33/+33
|
* Use size_t instead of u32bit in pk_padlloyd2010-10-1219-109/+109
|
* Use size_t instead of u32bit in all of pubkeylloyd2010-10-1234-235/+233
|
* Use size_t in filterslloyd2010-10-1257-444/+446
| | | | | This breaks API for anyone creating their own Filter types, but it had to happen eventually.
* Use size_t rather than u32bit for the blocks argument of encrypt_nlloyd2010-10-1265-403/+430
|
* Add a simple update_be to BufferedComputation that takes an integerlloyd2010-10-124-18/+19
| | | | | and writes the bytes to the stream in big-endian order. Use it in KDF2, MGF1, and FPE.
* s/u32bit/size_t/ in kdflloyd2010-10-1214-77/+77
|
* Use size_t in all of math, remove to_u32bitlloyd2010-10-1236-374/+357
|
* s/u32bit/size_t/ for block cipher parallelism querieslloyd2010-10-126-9/+9
|
* s/u32bit/size_t/ in codec and benchmarklloyd2010-10-129-56/+56
|
* s/u32bit/size_t/ in alloclloyd2010-10-128-79/+91
| | | | Also handle partial writes in alloc_mmap
* s/u32bit/size_t/lloyd2010-10-124-12/+12
|
* Use a full write instead of seek+write to create a sparselloyd2010-10-121-9/+7
| | | | | file. FreeBSD's man page for mmap warns that using NOSYNC with sparse files causes problems. Closes PR 30
* Change ifs to compares to make it easier for a compiler to figure outlloyd2010-10-121-11/+9
| | | | | | it should use add with carry or conditional moves if available. Also remove the amd64 asm; the mp_amd64 code should be used for this case.
* Fix CRL reason codes and updating of CRLs. Add tests for both cases.lloyd2010-10-074-42/+7
|
* Fix a bug in X509_Time: when decoding, the tag would not be set, solloyd2010-10-071-18/+24
| | | | reencoding the same object would fail. This affected CRL updates.
* Remove debug.h includelloyd2010-10-071-1/+0
|
* Drop debug.h, it didn't turn out to be that useful for most things,lloyd2010-10-072-38/+0
| | | | especially now that the standalone hex encoder is around
* Forward port CRL fixes from rev 7bb2001cd554a1acc3d345914ea710ff0e1d3a6blloyd2010-10-071-7/+12
|
* Compile fixlloyd2010-10-041-1/+1
|
* Make names more consistentlloyd2010-10-013-2/+2
|
* Also deal with short values in OctetStringlloyd2010-10-011-1/+1
|
* Handle memory overwrite if hex input was not byte widelloyd2010-10-011-1/+1
|
* Doxygenlloyd2010-10-011-14/+61
|
* Fix macrolloyd2010-09-301-0/+1
|
* Fix dependencieslloyd2010-09-302-2/+2
|
* Split SHA-2 into 32 and 64 bit versions; they are totally independentlloyd2010-09-307-3/+13
| | | | of each other anyway.
* Tidylloyd2010-09-302-4/+6
|
* Make configure output more sensible wrt incompatible moduleslloyd2010-09-285-0/+20
|
* Cleanup Karatsuba a bitlloyd2010-09-281-103/+107
|
* Use visibility control with Clang, same syntax as GCClloyd2010-09-281-1/+3
|