| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Remove "Invalid argument" and "Decoding Error" prefixes
|
|
|
|
| |
It used to do something, then I broke it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
To keep the code more readable change the behavior of
`Test_Options::no_avoid_undefined_behavior()`, instead of the conditionals
inside the tests.
`Test_Options::no_avoid_undefined_behavior()` will always return `true` if
UBSAN is inactive. This way all tests, including those that cause undefined
behaviour, will run. Once botan is compiled with UBSAN those tests will
be automatically skipped unless the `--no-avoid-undefined` is passed to the
test-bench.
|
|
|
|
|
|
|
|
| |
- Adds macros to check if botan was compiled with a certain sanitizers.
- Automatically excludes the tests that are intended to provoke undefined
behaviour from the test bench, when botan is compiled with UBSAN.
- Changes option `--avoid-undefined` to `--no-avoid-undefined` so the
failing tests can be explicitly activated when needed.
|
|
|
|
| |
GH #1518
|
|
|
|
| |
Out of range enum
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For whatever reason in the SRP groups g generates the group mod p
rather than the subgroup of size q.
|
|
|
|
| |
Add precomputations for mod-p math and g^x%p calcualations.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Previously longer tests were hidden behind higher 'soak levels'
but these arbitrary cutoffs are confusing compared to a simple
short tests/long tests split.
|
| |
|
| |
|
|
Fix a bug in how the 6144 and 8192 IETF MODP groups were encoded; they
have g and q values switched. Fixed by just switching the PEM header
to match the actual encoded format.
Rename DL_Group::X942_DH_PARAMETERS to ANSI_X9_42_DH_PARAMETERS to avoid
a macro conflict with Windows cryptography headers (GH #482)
|