Denys Vlasenko
|
8965e5089e
tls: use capped SNI len everywhere
|
7 anos atrás |
Denys Vlasenko
|
5d561ef634
tls: do not compile in TLS_RSA_WITH_NULL_SHA256 code if unreachable
|
7 anos atrás |
Denys Vlasenko
|
229d3c467d
tls: avoid using int16 in pstm code
|
7 anos atrás |
Denys Vlasenko
|
636c3b627c
tls: merge sha1 and sha256 hmac functions
|
7 anos atrás |
Denys Vlasenko
|
0ec4d08ea3
tls: covert i/o loop from using select() to poll()
|
7 anos atrás |
Denys Vlasenko
|
c31b54fd81
tls: fold AES CBC en/decryption into single functions
|
8 anos atrás |
Denys Vlasenko
|
5b05d9db29
wget/tls: session_id of zero length is ok (arxiv.org responds with such)
|
8 anos atrás |
Denys Vlasenko
|
89193f985b
tls: can download kernels now :)
|
8 anos atrás |
Denys Vlasenko
|
1500b3a50d
tls: if got CERTIFICATE_REQUEST, send an empty CERTIFICATE
|
8 anos atrás |
Denys Vlasenko
|
49ecee098d
tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work
|
8 anos atrás |
Denys Vlasenko
|
7a18b9502a
tls: reorder tls_handshake_data fields for smaller size, tweak comments
|
8 anos atrás |
Denys Vlasenko
|
b5bf1913d3
tls: send EMPTY_RENEGOTIATION_INFO_SCSV in our client hello
|
8 anos atrás |
Denys Vlasenko
|
9492da7e63
tls: set TLS_DEBUG to 0; placate a gcc indentation warning
|
8 anos atrás |
Denys Vlasenko
|
9a647c326a
separate TLS code into a library, use in in wget
|
8 anos atrás |
Denys Vlasenko
|
f6e20724d4
tls: reorder tls_state fields for smaller offsets
|
8 anos atrás |
Denys Vlasenko
|
dd2577f21a
tls: send SNI in the client hello
|
8 anos atrás |
Denys Vlasenko
|
0af5265180
tls: check size on "MAC-only, no crypt" code path too
|
8 anos atrás |
Denys Vlasenko
|
54b927d78b
tls: AES decrypt does one unnecessary memmove
|
8 anos atrás |
Denys Vlasenko
|
3916139ac4
tls: make input buffer grow as needed
|
8 anos atrás |
Denys Vlasenko
|
38972a8df1
tls: improve i/o loop
|
8 anos atrás |
Denys Vlasenko
|
e7863f394e
tls: was psAesDecrypt'ing one block too many, trashing buffered data
|
8 anos atrás |
Denys Vlasenko
|
19e695ebad
tls: do not use common_bufsiz
|
8 anos atrás |
Denys Vlasenko
|
a0aae9f714
tls: decode alerts and in particular, EOF alert.
|
8 anos atrás |
Denys Vlasenko
|
abbf17abcc
tls: add the i/o loop - largish rework of i/o buffering
|
8 anos atrás |
Denys Vlasenko
|
432f1ae2ff
tls: tested PSTM_X86_64, not enabling it - too large
|
8 anos atrás |
Denys Vlasenko
|
cccf8e735d
tls: teach it to decrypt AES256-encrypted data
|
8 anos atrás |
Denys Vlasenko
|
a9e1866806
tls: trim comments
|
8 anos atrás |
Denys Vlasenko
|
b5dfc3dfd6
tls: teach it to send AES256-encrypted data
|
8 anos atrás |
Denys Vlasenko
|
b7e9ae6e9f
tls: added AES code and made it compile. not used yet
|
8 anos atrás |
Denys Vlasenko
|
c8ba23bcec
tls: massage writing for encryption support; finer-grained debug
|
8 anos atrás |