Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | size_t | lloyd | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | More size_t | lloyd | 2010-10-13 | 9 | -40/+40 |
| | |||||
* | s/u32bit/size_t/ in stream | lloyd | 2010-10-13 | 14 | -108/+118 |
| | |||||
* | s/u32bit/size_t/ in pbkdf | lloyd | 2010-10-12 | 7 | -31/+31 |
| | |||||
* | Use size_t for BufferedComputation::add_data | lloyd | 2010-10-12 | 64 | -209/+216 |
| | |||||
* | Remove Alder32::hash, replace by anon namespace function | lloyd | 2010-10-12 | 2 | -14/+20 |
| | |||||
* | Use size_t instead of u32bit in entropy and rng | lloyd | 2010-10-12 | 21 | -106/+106 |
| | |||||
* | size_t in selftest | lloyd | 2010-10-12 | 1 | -1/+1 |
| | |||||
* | Use size_t in SCAN_Name | lloyd | 2010-10-12 | 8 | -33/+33 |
| | |||||
* | Use size_t instead of u32bit in pk_pad | lloyd | 2010-10-12 | 19 | -109/+109 |
| | |||||
* | Use size_t instead of u32bit in all of pubkey | lloyd | 2010-10-12 | 34 | -235/+233 |
| | |||||
* | Use size_t in filters | lloyd | 2010-10-12 | 57 | -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_n | lloyd | 2010-10-12 | 65 | -403/+430 |
| | |||||
* | Add a simple update_be to BufferedComputation that takes an integer | lloyd | 2010-10-12 | 4 | -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 kdf | lloyd | 2010-10-12 | 14 | -77/+77 |
| | |||||
* | Use size_t in all of math, remove to_u32bit | lloyd | 2010-10-12 | 36 | -374/+357 |
| | |||||
* | s/u32bit/size_t/ for block cipher parallelism queries | lloyd | 2010-10-12 | 6 | -9/+9 |
| | |||||
* | s/u32bit/size_t/ in codec and benchmark | lloyd | 2010-10-12 | 9 | -56/+56 |
| | |||||
* | s/u32bit/size_t/ in alloc | lloyd | 2010-10-12 | 8 | -79/+91 |
| | | | | Also handle partial writes in alloc_mmap | ||||
* | s/u32bit/size_t/ | lloyd | 2010-10-12 | 4 | -12/+12 |
| | |||||
* | Use a full write instead of seek+write to create a sparse | lloyd | 2010-10-12 | 1 | -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 out | lloyd | 2010-10-12 | 1 | -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. | lloyd | 2010-10-07 | 4 | -42/+7 |
| | |||||
* | Fix a bug in X509_Time: when decoding, the tag would not be set, so | lloyd | 2010-10-07 | 1 | -18/+24 |
| | | | | reencoding the same object would fail. This affected CRL updates. | ||||
* | Remove debug.h include | lloyd | 2010-10-07 | 1 | -1/+0 |
| | |||||
* | Drop debug.h, it didn't turn out to be that useful for most things, | lloyd | 2010-10-07 | 2 | -38/+0 |
| | | | | especially now that the standalone hex encoder is around | ||||
* | Forward port CRL fixes from rev 7bb2001cd554a1acc3d345914ea710ff0e1d3a6b | lloyd | 2010-10-07 | 1 | -7/+12 |
| | |||||
* | Compile fix | lloyd | 2010-10-04 | 1 | -1/+1 |
| | |||||
* | Make names more consistent | lloyd | 2010-10-01 | 3 | -2/+2 |
| | |||||
* | Also deal with short values in OctetString | lloyd | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Handle memory overwrite if hex input was not byte wide | lloyd | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Doxygen | lloyd | 2010-10-01 | 1 | -14/+61 |
| | |||||
* | Fix macro | lloyd | 2010-09-30 | 1 | -0/+1 |
| | |||||
* | Fix dependencies | lloyd | 2010-09-30 | 2 | -2/+2 |
| | |||||
* | Split SHA-2 into 32 and 64 bit versions; they are totally independent | lloyd | 2010-09-30 | 7 | -3/+13 |
| | | | | of each other anyway. | ||||
* | Tidy | lloyd | 2010-09-30 | 2 | -4/+6 |
| | |||||
* | Make configure output more sensible wrt incompatible modules | lloyd | 2010-09-28 | 5 | -0/+20 |
| | |||||
* | Cleanup Karatsuba a bit | lloyd | 2010-09-28 | 1 | -103/+107 |
| | |||||
* | Use visibility control with Clang, same syntax as GCC | lloyd | 2010-09-28 | 1 | -1/+3 |
| | |||||
* | Cleanup | lloyd | 2010-09-26 | 1 | -9/+9 |
| | |||||
* | Silence warning, cms is really getting pretty broken... | lloyd | 2010-09-26 | 1 | -1/+1 |
| | |||||
* | Fix, wasn't returning pointer | lloyd | 2010-09-26 | 1 | -0/+1 |
| | |||||
* | Use BOTAN_ASSERT in various places | lloyd | 2010-09-26 | 9 | -34/+43 |
| | |||||
* | If we generate a k such that s or r is 0, don't fail, simply retry | lloyd | 2010-09-26 | 1 | -11/+13 |
| | | | | with a new k. | ||||
* | Malloc_Allocator isn't a pool, so it needs to fail directly if malloc | lloyd | 2010-09-26 | 1 | -1/+3 |
| | | | | | fails, not just return 0 since callers expect that the allocator will either succeed or throw. | ||||
* | There is a pretty common pattern in the code for testing for internal | lloyd | 2010-09-26 | 3 | -0/+86 |
| | | | | | | | | | | errors of the form if(some_expr_indicating_failure) throw Internal_Error("Some mildly informative message"); Make this simpiler with the addition of a BOTAN_ASSERT macro which will throw an exception upon failure. | ||||
* | At some point I 'simplified' the divide code to always run the | lloyd | 2010-09-26 | 1 | -1/+5 |
| | | | | | | | | | | division algorithm unless x == y, but this could result in n - t + 1 being negative which would cause an attempt to allocate about 4 gigabytes of memory. Fix this, and also add an assertion check in the code to ensure that can't happen in any other way. Never reproduced this with 32 bit digits but it would show up if the build used 8 or 16 bit words. | ||||
* | Move the core MPI functions to src/math/mp, leaving src/math/bigint just | lloyd | 2010-09-24 | 28 | -13/+24 |
| | | | | for the implementation of the BigInt class | ||||
* | Add dependencies | lloyd | 2010-09-24 | 7 | -0/+31 |
| | |||||
* | Delete obsolete asm versions | lloyd | 2010-09-24 | 7 | -781/+0 |
| |