Simon Tatham
|
0112936ef7
Replace assert(false) with an unreachable() macro.
|
5 years ago |
Simon Tatham
|
25b034ee39
Complete rewrite of PuTTY's bignum library.
|
5 years ago |
Simon Tatham
|
91d16881ab
Add missing 'static' on file-internal declarations.
|
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
|
9396fcc9f7
Rename FROMFIELD to 'container_of'.
|
6 years ago |
Simon Tatham
|
229af2b5bf
Turn SSH-2 ciphers into a classoid.
|
6 years ago |
Simon Tatham
|
8b98fea4ae
New BinarySink function 'put_padding'.
|
6 years ago |
Simon Tatham
|
405800290d
Fix assertion failure on ssh.com export of ECDSA.
|
6 years ago |
Simon Tatham
|
06a14fe8b8
Reorganise ssh_keyalg and use it as a vtable.
|
6 years ago |
Simon Tatham
|
ae3edcdfc0
Clean up ssh_keyalg APIs and implementations.
|
6 years ago |
Simon Tatham
|
59e83a8c75
Rewrite key import functions using BinarySource.
|
6 years ago |
Simon Tatham
|
0fc2d3b455
Invent a struct type for polymorphic SSH key data.
|
6 years ago |
Simon Tatham
|
7babe66a83
Make lots of generic data parameters into 'void *'.
|
6 years ago |
Simon Tatham
|
2bfbf15c65
Remove a redundant failure check after an snew.
|
6 years ago |
Simon Tatham
|
8ce0a67028
Use BinarySink to tidy up key export code.
|
6 years ago |
Simon Tatham
|
67de463cca
Change ssh.h crypto APIs to output to BinarySink.
|
6 years ago |
Simon Tatham
|
4988fd410c
Replace all uses of SHA*_Bytes / MD5Update.
|
6 years ago |
Simon Tatham
|
0e3082ee89
New centralised binary-data marshalling system.
|
6 years ago |
Tim Kosse
|
044a9304e3
Use aes256-ctr when exporting new-style OpenSSH keys.
|
6 years ago |
Tim Kosse
|
eaac8768e4
Support aes256-ctr encryption when imported OpenSSH keys.
|
6 years ago |
Simon Tatham
|
20e36ae4a2
Fix a collection of type / format string mismatches.
|
7 years ago |
Simon Tatham
|
f2e76e07da
Remove assorted dead code.
|
7 years ago |
Simon Tatham
|
b03020cab9
Fix freeing of retkey in openssh_new_read.
|
7 years ago |
Simon Tatham
|
5b7833cd47
Fix potential segfaults in reading OpenSSH's ASN.1 key format.
|
9 years ago |
Simon Tatham
|
fa7b23ce90
Fix a segfault in parsing OpenSSH private key files.
|
9 years ago |
Tim Kosse
|
05c7678fdb
Fix warning about uninitialized variable.
|
9 years ago |
Simon Tatham
|
dee305c318
Fix mpint signedness bug in importing PEM ECDSA keys.
|
9 years ago |
Simon Tatham
|
89da2ddf56
Giant const-correctness patch of doom!
|
9 years ago |
Simon Tatham
|
7db526c730
Clean up elliptic curve selection and naming.
|
9 years ago |