| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
That doesn't require a malloc/free every time we call ec_group_data()
|
|
|
|
| |
From ~5 cbp to ~2.5 cbp on Skylake
|
|
|
|
| |
Thankfully GCC doesn't mind it being on the definition.
|
| |
|
|
|
|
|
|
|
| |
Switch to calloc/free instead of new/delete - shouldn't matter since
we are only allocate integral types.
This change reduces the size of libbotan-2.so by ~300 Kb on my system.
|
| |
|
|
|
|
|
|
|
|
|
| |
Forgot this causes all kinds of issues when the SIMD ISA is not
part of the base instruction set (needing -maltivec, etc). It just
happens to work on x86-64 because SSE2 is part of the base ISA there.
Instead just unroll by 16x this seems to be enough that GCC figures it
out.
|
|
|
|
| |
Improves CBC and OCB performance with AES-NI quite noticably
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|