Simon Tatham
|
0a3fc21e23
Fix reversed sense of test in rsa1_save_f.
|
5 years ago |
Simon Tatham
|
9cc586e605
Rewrite SSH key loading and saving using marshal.h.
|
5 years ago |
Simon Tatham
|
e5fbed7632
Rename all public/private key load/save functions.
|
5 years ago |
Simon Tatham
|
cbfd7dadac
Change line ending wording in PPK format spec.
|
5 years ago |
Simon Tatham
|
1344d4d1cd
Adopt the new hash API functions where they're useful.
|
5 years ago |
Simon Tatham
|
5d718ef64b
Whitespace rationalisation of entire code base.
|
5 years ago |
Simon Tatham
|
bf661a7a2c
Rename SSH-1 cipher constants to start "SSH1_".
|
6 years ago |
Simon Tatham
|
63a58759b5
Sanity-check the 'Public-Lines' field in ppk files.
|
6 years ago |
Simon Tatham
|
bde7b6b158
Change sensitive strbufs/sgrowarrays to the new _nm version.
|
6 years ago |
Simon Tatham
|
d07d7d66f6
Replace more ad-hoc growing char buffers with strbuf.
|
6 years ago |
Simon Tatham
|
5b17a2ce20
Assorted further migration to ptrlen.
|
6 years ago |
Simon Tatham
|
acc21c4c0f
Stop using unqualified {GET,PUT}_32BIT.
|
6 years ago |
Simon Tatham
|
85b1916ca6
Fix memory leak in rsa_ssh1_savekey.
|
6 years ago |
Simon Tatham
|
628e794832
Replace random_byte() with random_read().
|
6 years ago |
Simon Tatham
|
8ebdaf0b1d
Fix memory leak when reading a public key.
|
6 years ago |
Simon Tatham
|
0d2d20aad0
Access all hashes and MACs through the standard API.
|
6 years ago |
Simon Tatham
|
35690040fd
Remove a lot of pointless 'struct' keywords.
|
6 years ago |
Simon Tatham
|
0112936ef7
Replace assert(false) with an unreachable() macro.
|
6 years ago |
Simon Tatham
|
25b034ee39
Complete rewrite of PuTTY's bignum library.
|
6 years ago |
Simon Tatham
|
3214563d8e
Convert a lot of 'int' variables to 'bool'.
|
6 years ago |
Simon Tatham
|
a6f1709c2f
Adopt C99 <stdbool.h>'s true/false.
|
6 years ago |
Simon Tatham
|
56096ba558
New utility functions to make ptrlens.
|
6 years ago |
Simon Tatham
|
3f0f6d2013
Missing error message when loading a private key file.
|
6 years ago |
Simon Tatham
|
8b98fea4ae
New BinarySink function 'put_padding'.
|
7 years ago |
Simon Tatham
|
06a14fe8b8
Reorganise ssh_keyalg and use it as a vtable.
|
7 years ago |
Simon Tatham
|
7f56e1e365
Remove 'keystr' parameter in get_rsa_ssh1_pub.
|
7 years ago |
Simon Tatham
|
ae3edcdfc0
Clean up ssh_keyalg APIs and implementations.
|
7 years ago |
Simon Tatham
|
28c086ca9a
Rewrite key loading functions using BinarySource.
|
7 years ago |
Simon Tatham
|
9e96af59ce
Introduce a new 'ptrlen' type.
|
7 years ago |
Simon Tatham
|
0fc2d3b455
Invent a struct type for polymorphic SSH key data.
|
7 years ago |