Use macros for global functions and objects within SHA assembly.
This lets us remove some of the repetitive statements and allows for them
to be adjusted for various platforms.
ok kenjiro@ tb@
Use a define based instruction separator in SHA assembly.
Unfortunately, not all assemblers use the same instruction separator.
In particular, LLVM on macOS uses %% as an instruction separator, while
most other assemblers use a semi-colon.
ok kenjiro@ tb@
Import py-jsonargparse
DESCR
jsonargparse is a library for creating command-line interfaces (CLIs)
and making Python apps easily configurable.
OK sthen@
In ipsec_common_input_cb() ensure that the packet size does not overflow
the maximum packet size before writing the value back to the IP header.
IPv4 and IPv6 have slightly different rules and so do it per AF.
OK millert@
Include the padding length when testing the remaining bytes in an octet
string, to prevent a size_t underflow on a malformed packet and make us run
into infinity.
Same diff as for snmpd
Template peers need to check xp->rdesession to know if the RDE has the
session running or not. Right now it checks the template itself which
is never synced.
OK tb@
Include the padding length when testing the remaining bytes in an octet
string, to prevent a size_t underflow on a malformed packet and make us run
into infinity.
OK deraadt@
Update dxx-rebirth to recent commit, switching to github dxx-rebirth as
upstream (this is an active fork; original author has abandoned
project). This fixes issues with scons build system and upcoming python
3.14. While here, update README instructions to be a little more
generic, acknowledging reality that distfiles on GOG.com keep updating/
renaming.
Diff from sthen@, I added the README changes.