Simon Tatham
|
b4e1bca2c3
Change vtable defs to use C99 designated initialisers.
|
5 years ago |
Simon Tatham
|
1df39eb0a4
Turn ssh2_mac's text_name field into a method.
|
6 years ago |
Simon Tatham
|
986508a570
Merge the ssh1_cipher type into ssh2_cipher.
|
6 years ago |
Simon Tatham
|
0b14e7376e
Replace all 'sizeof(x)/sizeof(*x)' with lenof.
|
6 years ago |
Simon Tatham
|
35690040fd
Remove a lot of pointless 'struct' keywords.
|
6 years ago |
Simon Tatham
|
84f98c5bf9
Make lots more algorithm structures globally visible.
|
6 years ago |
Simon Tatham
|
febef916a5
Make ssh2_mac_setkey take the key as a ptrlen.
|
6 years ago |
Simon Tatham
|
25b034ee39
Complete rewrite of PuTTY's bignum library.
|
6 years ago |
Simon Tatham
|
898cb8835a
Make ssh_key and ssh{2,1}_cipher into structs.
|
6 years ago |
Simon Tatham
|
a647f2ba11
Adopt C99 <stdint.h> integer types.
|
6 years ago |
Simon Tatham
|
9396fcc9f7
Rename FROMFIELD to 'container_of'.
|
6 years ago |
Simon Tatham
|
853bd8b284
Turn SSH-2 MACs into a classoid.
|
6 years ago |
Simon Tatham
|
229af2b5bf
Turn SSH-2 ciphers into a classoid.
|
6 years ago |
Simon Tatham
|
be6fed13fa
Further void * / const fixes.
|
6 years ago |
Simon Tatham
|
7babe66a83
Make lots of generic data parameters into 'void *'.
|
6 years ago |
Simon Tatham
|
e27ddf6d28
Make ssh_hash and ssh_mac expose a BinarySink.
|
6 years ago |
Simon Tatham
|
d2653e79ab
Fix bug in Poly1305 bigval_final_reduce().
|
7 years ago |
Simon Tatham
|
c2ec13c7e9
Relegate BignumDblInt to an implementation detail of sshbn.h.
|
9 years ago |
Simon Tatham
|
43be90e287
Split ssh2_cipher's keylen field into two.
|
9 years ago |
Simon Tatham
|
42cf086b6b
Add a key-length field to 'struct ssh_mac'.
|
9 years ago |
Ben Harris
|
307aaccc59
When encrypting packet length with ChaCha20, treat sequence number as 32 bits.
|
9 years ago |
Simon Tatham
|
f8b27925ee
Use 64-bit BignumInt wherever __uint128_t is available.
|
9 years ago |
Simon Tatham
|
e28b35b0a3
Improve integer-type hygiene in bignum code.
|
9 years ago |
Simon Tatham
|
8581676ee9
Dedicated routines for poly1305 arithmetic.
|
9 years ago |
Simon Tatham
|
d0c74a115a
Make log messages look slightly nicer.
|
9 years ago |
Chris Staite
|
b0823fc5be
Add the ChaCha20-Poly1305 cipher+MAC, as implemented by OpenSSH.
|
9 years ago |