Simon Tatham
|
8f3a0ea69f
Fix Arm crypto build failure on clang post-12.
|
3 lat temu |
Simon Tatham
|
b4e1bca2c3
Change vtable defs to use C99 designated initialisers.
|
5 lat temu |
Simon Tatham
|
156762fc02
Refactor the ssh_hash vtable. (NFC)
|
5 lat temu |
Simon Tatham
|
5d718ef64b
Whitespace rationalisation of entire code base.
|
5 lat temu |
Simon Tatham
|
4cbb0bae65
sshsha.c: remove rogue 'got up to here' comment.
|
5 lat temu |
Jacob Nevins
|
5538091f0d
Allow x86 SHA intrinsics on GCC 4.9 too.
|
6 lat temu |
Jacob Nevins
|
93a5b56439
Fix build with GCC4.x.
|
6 lat temu |
Simon Tatham
|
9285c1b93c
Identify hash function implementations in the Event Log.
|
6 lat temu |
Simon Tatham
|
dc2fdb8acf
Support hardware SHA-256 and SHA-1 on Arm platforms.
|
6 lat temu |
Simon Tatham
|
cbbd464fd7
Rewrite the SHA-256 and SHA-1 hash function modules.
|
6 lat temu |
Simon Tatham
|
a53559a0dc
Expose blocklen in the ssh_hash structure.
|
6 lat temu |
Simon Tatham
|
baff23cdd6
Centralised HMAC implementation.
|
6 lat temu |
Simon Tatham
|
d73f692eea
Add an 'extra' pointer field to ssh2_macalg.
|
6 lat temu |
Simon Tatham
|
1df39eb0a4
Turn ssh2_mac's text_name field into a method.
|
6 lat temu |
Simon Tatham
|
0d2d20aad0
Access all hashes and MACs through the standard API.
|
6 lat temu |
Simon Tatham
|
986508a570
Merge the ssh1_cipher type into ssh2_cipher.
|
6 lat temu |
Simon Tatham
|
35690040fd
Remove a lot of pointless 'struct' keywords.
|
6 lat temu |
Simon Tatham
|
febef916a5
Make ssh2_mac_setkey take the key as a ptrlen.
|
6 lat temu |
Simon Tatham
|
0112936ef7
Replace assert(false) with an unreachable() macro.
|
6 lat temu |
Simon Tatham
|
3214563d8e
Convert a lot of 'int' variables to 'bool'.
|
6 lat temu |
Simon Tatham
|
a647f2ba11
Adopt C99 <stdint.h> integer types.
|
6 lat temu |
Simon Tatham
|
9396fcc9f7
Rename FROMFIELD to 'container_of'.
|
6 lat temu |
Simon Tatham
|
9738e042f9
Clean up a couple of consts and char pointers.
|
6 lat temu |
Simon Tatham
|
4f9a90fc1a
Turn SSH hashes into a classoid.
|
6 lat temu |
Simon Tatham
|
853bd8b284
Turn SSH-2 MACs into a classoid.
|
6 lat temu |
Simon Tatham
|
229af2b5bf
Turn SSH-2 ciphers into a classoid.
|
6 lat temu |
Simon Tatham
|
be6fed13fa
Further void * / const fixes.
|
6 lat temu |
Simon Tatham
|
e27ddf6d28
Make ssh_hash and ssh_mac expose a BinarySink.
|
6 lat temu |
Simon Tatham
|
4988fd410c
Replace all uses of SHA*_Bytes / MD5Update.
|
6 lat temu |
Simon Tatham
|
0e3082ee89
New centralised binary-data marshalling system.
|
6 lat temu |