TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
96a6c69d0c41df4b09fc43f05a83c556c5f96fa7
/
library
/
ssl_tls.c
96a6c69
Correct bounds check in ssl_buffer_message()
by Hanno Becker
· 7 years ago
e0b150f
Allow limiting the total amount of heap allocations for buffering
by Hanno Becker
· 7 years ago
2a97b0e
Introduce function to return size of buffer needed for reassembly
by Hanno Becker
· 7 years ago
e678eaa
Reject invalid CCS records early
by Hanno Becker
· 7 years ago
4cb782d
Return from ssl_load_buffered_record early if no record is buffered
by Hanno Becker
· 7 years ago
3a0aad1
Rename `update_digest` to `update_hs_digest`
by Hanno Becker
· 7 years ago
4422bbb
Whitespace fixes
by Hanno Becker
· 7 years ago
e00ae37
Omit debug output in ssl_load_buffered_message outside a handshake
by Hanno Becker
· 7 years ago
0d4b376
Return through cleanup section in ssl_load_buffered_message()
by Hanno Becker
· 7 years ago
56d5eaa
Mark SSL ctx unused in ssl_prepare_reassembly_buffer() if !DEBUG
by Hanno Becker
· 7 years ago
5f066e7
Implement future record buffering
by Hanno Becker
· 7 years ago
37f9532
Implement future message buffering and loading
by Hanno Becker
· 7 years ago
6d97ef5
Use uniform treatment for future messages and proper HS fragments
by Hanno Becker
· 7 years ago
44650b7
Introduce function checking sanity of the DTLS HS header
by Hanno Becker
· 7 years ago
12555c6
Introduce function to parse total handshake length
by Hanno Becker
· 7 years ago
0271f96
Introduce buffering structure for handshake messages
by Hanno Becker
· 7 years ago
d7f8ae2
Introduce sub-structure of ssl_handshake_params for buffering
by Hanno Becker
· 7 years ago
e25e3b7
Add function to check is HS msg is a proper fragment
by Hanno Becker
· 7 years ago
d07df86
Make allocation of reassembly bitmap optional
by Hanno Becker
· 7 years ago
56e205e
Prepare handshake reassembly in separate function
by Hanno Becker
· 7 years ago
9e1ec22
Return MBEDTLS_ERR_SSL_EARLY_MESSAGE for future HS messages
by Hanno Becker
· 7 years ago
2ed6bcc
Implement support for remembering CCS messages
by Hanno Becker
· 7 years ago
40f5084
Add frame for loading and storing buffered messages
by Hanno Becker
· 7 years ago
e74d556
Introduce function to indicate if record is fully processed
by Hanno Becker
· 7 years ago
2699459
Move call to ssl_consume_current_message()
by Hanno Becker
· 7 years ago
1097b34
Extract message-consuming code-path to separate function
by Hanno Becker
· 7 years ago
4162b11
Make mbedtls_ssl_read_record_layer() static
by Hanno Becker
· 7 years ago
a4b143a
Remove nested loop in mbedtls_ssl_read_record()
by Hanno Becker
· 7 years ago
02f5907
Correct misleading debugging output
by Hanno Becker
· 7 years ago
327c93b
Add parameter to ssl_read_record() controlling checksum update
by Hanno Becker
· 7 years ago
e1dcb03
Don't send empty fragments of nonempty handshake messages
by Hanno Becker
· 7 years ago
04da189
Make datagram packing dynamically configurable
by Hanno Becker
· 7 years ago
7e77213
Fix unused variable warning in ssl_session_reset_int()
by Hanno Becker
· 7 years ago
0defedb
Fix unused variable warning in mbedtls_ssl_get_max_record_payload
by Hanno Becker
· 7 years ago
f29d470
Reset in/out pointers on SSL session reset
by Hanno Becker
· 7 years ago
4ccbf06
Minor improvements in ssl_session_reset_int()
by Hanno Becker
· 7 years ago
2a43f6f
Introduce function to reset in/out pointers
by Hanno Becker
· 7 years ago
b50a253
Move size check for records
by Hanno Becker
· 7 years ago
67bc7c3
Don't immediately flush datagram after preparing a record
by Hanno Becker
· 7 years ago
2b1e354
Increase record buffer pointer after preparing a record
by Hanno Becker
· 7 years ago
3b23590
Log calls to ssl_flight_append() in debugging output
by Hanno Becker
· 7 years ago
0448462
Increment record sequence number in ssl_write_record()
by Hanno Becker
· 7 years ago
1985947
Store outgoing record sequence number outside record buffer
by Hanno Becker
· 7 years ago
5aa4e2c
Move deduction of internal record buffer pointers to function
by Hanno Becker
· 7 years ago
19c62f9
Add test for session resumption
by Manuel Pégourié-Gonnard
· 7 years ago
7e89c17
Fix two typos in comments
by Manuel Pégourié-Gonnard
· 7 years ago
b747c6c
Add basic first tests for MTU setting
by Manuel Pégourié-Gonnard
· 7 years ago
637e234
Merge remote-tracking branch 'public/pr/1915' into iotssl-165-dtls-hs-fragmentation-new
by Manuel Pégourié-Gonnard
· 7 years ago
9468ff1
Implement support for MTU setting
by Manuel Pégourié-Gonnard
· 8 years ago
0b1d9b2
Declare ssl_conf_mtu()
by Manuel Pégourié-Gonnard
· 8 years ago
2cb17e2
Make handshake fragmentation follow max_frag_len
by Manuel Pégourié-Gonnard
· 8 years ago
28f4bea
Start implementing fragmentation
by Manuel Pégourié-Gonnard
· 8 years ago
87a346f
Always save flight first, (re)send later
by Manuel Pégourié-Gonnard
· 8 years ago
9c3a8ca
Clarify code a bit in write_handshake_msg()
by Manuel Pégourié-Gonnard
· 8 years ago
31c1586
Start separating handshake from record writing
by Manuel Pégourié-Gonnard
· 8 years ago
7864090
Reset session_in/out pointers in ssl_session_reset_int()
by Hanno Becker
· 7 years ago
5b559ac
Fix mbedtls_ssl_get_record_expansion() for ChaChaPoly and CBC
by Hanno Becker
· 7 years ago
37b9fd5
Merge remote-tracking branch 'restricted/pr/490' into development
by Simon Butcher
· 7 years ago
1a7a17e
Check for invalid short Alert messages
by Angus Gratton
· 7 years ago
3481792
TLSv1.2: Treat zero-length fragments as invalid, unless they are application data
by Angus Gratton
· 7 years ago
b512bc1
CBC mode: Allow zero-length message fragments (100% padding)
by Angus Gratton
· 7 years ago
922bd1e
Merge remote-tracking branch 'public/pr/1752' into development
by Simon Butcher
· 7 years ago
df15356
Merge remote-tracking branch 'public/pr/1663' into development
by Simon Butcher
· 7 years ago
8744a02
Clarify a few comments
by Manuel Pégourié-Gonnard
· 7 years ago
e7aeef0
Merge remote-tracking branch 'public/pr/536' into development
by Simon Butcher
· 7 years ago
6a25cfa
Avoid debug message that might leak length
by Manuel Pégourié-Gonnard
· 7 years ago
7b42030
Add counter-measure to cache-based Lucky 13
by Manuel Pégourié-Gonnard
· 7 years ago
4b6b08e
Merge remote-tracking branch 'public/pr/1006' into development
by Simon Butcher
· 7 years ago
8ee2422
about a issue Replace "new" variable #1782
by niisato
· 7 years ago
5b92352
Document ssl_write_real() behaviour in detail
by Andres Amaya Garcia
· 8 years ago
2e58e8e
Implement ChachaPoly mode in TLS
by Manuel Pégourié-Gonnard
· 7 years ago
d8213d0
Let MBEDTLS_SSL_MAX_CONTENT_LEN to be split into outward & inward sizes
by Angus Gratton
· 9 years ago
5f57f1e
Merge remote-tracking branch 'public/pr/1270' into development
by Simon Butcher
· 7 years ago
747fd53
Fixes different off by ones
by Philippe Antoine
· 7 years ago
d0e55a4
ssl_decrypt_buf: remove code for hashes that aren't used in TLS
by Gilles Peskine
· 7 years ago
5c38984
Use our habitual INTERNAL_ERROR debug message
by Gilles Peskine
· 7 years ago
a7fe25d
Remove tests of #define's that don't exist
by Gilles Peskine
· 7 years ago
1bd9d58
Clarify comment about integer division by a variable
by Gilles Peskine
· 7 years ago
20b4408
Fix Lucky13 attack protection when using HMAC-SHA-384
by Gilles Peskine
· 7 years ago
a3712be
Merge branch 'development' into iotssl-1941-aria-ciphersuites
by Manuel Pégourié-Gonnard
· 7 years ago
11999bb
Fix minor code style issues
by Darryl Green
· 7 years ago
a331e0f
Merge remote-tracking branch 'upstream-restricted/pr/421' into development-proposed
by Jaeden Amero
· 7 years ago
1febfef
Rename mbedtls_ssl_async_{get,set}_data for clarity
by Gilles Peskine
· 7 years ago
8f97af7
Don't pass the async config data to async callbacks
by Gilles Peskine
· 7 years ago
df13d5c
Pass the SSL context to async callbacks
by Gilles Peskine
· 7 years ago
9b562d5
mbedtls_ssl_handshake_free: take the SSL context as argument
by Gilles Peskine
· 7 years ago
b74a1c7
Rename MBEDTLS_SSL_ASYNC_PRIVATE_C to MBEDTLS_SSL_ASYNC_PRIVATE
by Gilles Peskine
· 7 years ago
f112725
Style and grammar fixes
by Gilles Peskine
· 7 years ago
b44692f
Merge branch 'mbedtls_ssl_get_key_exchange_md_ssl_tls-return_hashlen' into tls_async_server-2.9
by Gilles Peskine
· 7 years ago
a9ceef8
Change variable bytes_written to header_bytes in record decompression
by Andrzej Kurek
· 7 years ago
archive/iotssl-1401-record-compression
iotssl-1401-record-compression
ca1d742
mbedtls_ssl_get_key_exchange_md_tls1_2: return hashlen
by Gilles Peskine
· 7 years ago
8bf79f6
SSL asynchronous private key operation callbacks: interface
by Gilles Peskine
· 8 years ago
59e83d9
Add conf parameter to mbedtls_ssl_handshake_free
by Gilles Peskine
· 8 years ago
5462e02
ssl_tls: Fix invalid buffer sizes during compression / decompression
by Andrzej Kurek
· 7 years ago
1f6301b
Rename mbedtls_zeroize to mbedtls_platform_zeroize
by Andres Amaya Garcia
· 7 years ago
e32df08
Remove individual copies of mbedtls_zeroize()
by Andres Amaya Garcia
· 8 years ago
80aa3b8
Merge branch 'pr_946' into development-proposed
by Gilles Peskine
· 7 years ago
73db838
Merge remote-tracking branch 'upstream-public/pr/1547' into development-proposed
by Gilles Peskine
· 7 years ago
a09453f
Merge branch 'pr_1395' into development-proposed
by Gilles Peskine
· 7 years ago
19d392b
Fix compatibility problem in the printed message
by mohammad1603
· 7 years ago
Next »