TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
95f752e679a86da0cb0470a89c06f66d05ca0f1a
/
library
/
ssl_tls.c
7a5e2be
Create a new flag for enforcing the extended master secret
by Jarno Lamsa
· 6 years ago
7bf7710
Remove reference to outdated compile-time option
by Hanno Becker
· 6 years ago
5dbcc9f
Introduce specific error for ver/cfg mismatch on deserialization
by Hanno Becker
· 6 years ago
baf968c
Use def'n consts for bits in config-identifier of serialized data
by Hanno Becker
· 6 years ago
b36db4f
Note that ver+fmt bytes in serialized data must not be removed
by Hanno Becker
· 6 years ago
26829e9
Improve doc'n of config-identifying bitfield in serialized session
by Hanno Becker
· 6 years ago
1d8b6d7
Session serialization: Fail with BAD_INPUT_DATA if buffer too small
by Hanno Becker
· 6 years ago
4152762
Encode relevant parts of the config in serialized session header
by Hanno Becker
· 6 years ago
557fe9f
Add configuration identifier to serialized SSL sessions
by Hanno Becker
· 6 years ago
b5352f0
Add Mbed TLS version to SSL sessions
by Hanno Becker
· 6 years ago
60a4299
Add new ABI-independent format for serialization
by Manuel Pégourié-Gonnard
· 6 years ago
35ccdbb
Normalize spelling to serialiZation
by Manuel Pégourié-Gonnard
· 6 years ago
5709811
Add test for session_load() from small buffers
by Manuel Pégourié-Gonnard
· 6 years ago
32ce596
Improve save API by always updating olen
by Manuel Pégourié-Gonnard
· 6 years ago
37a5324
Add mbedtls_ssl_get_session_pointer()
by Manuel Pégourié-Gonnard
· 6 years ago
ef4ae61
Add support for serialisation session with ticket
by Manuel Pégourié-Gonnard
· 6 years ago
91f4ca2
Move session save/load function to ssl_tls.c
by Manuel Pégourié-Gonnard
· 6 years ago
0d1d76f
Merge remote-tracking branch 'origin/pr/561' into baremetal
by Simon Butcher
· 6 years ago
5a790f9
Merge remote-tracking branch 'origin/pr/563' into baremetal
by Simon Butcher
· 6 years ago
675c4d6
Add debug line witnessing receipt of unexpected CID
by Hanno Becker
· 6 years ago
d8f7c4a
Fix indentation in debug message in ssl_tls.c
by Hanno Becker
· 6 years ago
3b2bf5b
Improve comment in ssl_parse_record_header()
by Hanno Becker
· 6 years ago
633d604
Allow passing NULL pointers to mbedtls_ssl_get_peer_cid()
by Hanno Becker
· 6 years ago
a5a2b08
Rename MBEDTLS_SSL_CID to MBEDTLS_SSL_DTLS_CONNECTION_ID
by Hanno Becker
· 6 years ago
e582d12
Slightly reorder CID debug messages during creation of transforms
by Hanno Becker
· 6 years ago
791ec6b
Fix mbedtls_ssl_conf_cid() to not depend on macro constant values
by Hanno Becker
· 6 years ago
b86c2a8
Remove warnings about unfinished CID implementation
by Hanno Becker
· 6 years ago
e8eff9a
Allow to configure the stack's behaviour on unexpected CIDs
by Hanno Becker
· 6 years ago
7842609
Remove restriction on value of MBEDTLS_SSL_CID_PADDING_GRANULARITY
by Hanno Becker
· 6 years ago
7ba3568
Make signed to unsigned integer truncation cast explicit
by Hanno Becker
· 6 years ago
550e166
Allow the configuration of padding when using CID extension
by Hanno Becker
· 6 years ago
9bf10ea
Set CID pointer to default value even for TLS
by Hanno Becker
· 6 years ago
f65ad82
Fix typo in comment
by Hanno Becker
· 6 years ago
043a2a4
Remove indicators and warnings about unfinished CID implementation
by Hanno Becker
· 6 years ago
4932f9f
Re-enable passing CIDs to record transforms
by Hanno Becker
· 6 years ago
687e0fb
Don't fail on record with unexpected CID
by Hanno Becker
· 6 years ago
abd7c89
Re-enable CID comparison when decrypting CID-based records
by Hanno Becker
· 6 years ago
8b09b73
Implement parsing of CID-based records
by Hanno Becker
· 6 years ago
ff3e9c2
Adapt record encryption/decryption routines to change of record type
by Hanno Becker
· 6 years ago
70e7928
Add pointers to in/out CID fields to mbedtls_ssl_context
by Hanno Becker
· 6 years ago
add0190
Account for additional record expansion when using CIDs
by Hanno Becker
· 6 years ago
eec2be9
Add CID configuration API
by Hanno Becker
· 6 years ago
4339576
Split mbedtls_ssl_hdr_len() in separate functions for in/out records
by Hanno Becker
· 6 years ago
46483f1
Add helper function to check validity of record content type
by Hanno Becker
· 6 years ago
74dd3a7
Move dropping of unexpected AD records to after record decryption
by Hanno Becker
· 6 years ago
f5970a0
Set pointer to start of plaintext at record decryption time
by Hanno Becker
· 6 years ago
16e9ae2
Treat an invalid record after decryption as fatal
by Hanno Becker
· 6 years ago
70463db
Expain rationale for handling of consecutive empty AD records
by Hanno Becker
· 6 years ago
78c4302
Don't allow calling CID API outside of DTLS
by Hanno Becker
· 6 years ago
1f02f05
Fix additional data calculation if CID is disabled
by Hanno Becker
· 6 years ago
3b1a885
Remove unnecessary empty line in ssl_tls.c
by Hanno Becker
· 6 years ago
7dc2577
Don't quote DTLSInnerPlaintext structure multiple times
by Hanno Becker
· 6 years ago
8969369
Improve wording in ssl_build_inner_plaintext()
by Hanno Becker
· 6 years ago
24ce1eb
Remove unnecessary whitespace in ssl_extract_add_data_from_record()
by Hanno Becker
· 6 years ago
28a0c4e
Reduce stack usage for additional data buffers in record dec/enc
by Hanno Becker
· 6 years ago
acadb0a
Add length of CID to additional data used for record protection
by Hanno Becker
· 6 years ago
99abf51
Improve documentation of ssl_extract_add_data_from_record()
by Hanno Becker
· 6 years ago
9c5bcc9
Use more specific name in debug message for testing
by Manuel Pégourié-Gonnard
· 6 years ago
762d011
Fix alignment issues
by Manuel Pégourié-Gonnard
· 6 years ago
42c814f
Clarify comment about TLS versions
by Manuel Pégourié-Gonnard
· 6 years ago
5478e1e
Remove redundant debug message.
by Manuel Pégourié-Gonnard
· 6 years ago
505089d
Fix missing compile-time guards around CID-only constants
by Hanno Becker
· 6 years ago
4c6fe12
Remove TODO
by Hanno Becker
· 6 years ago
2e7cd5a
Use MBEDTLS_ namespace for internal CID length constant
by Hanno Becker
· 6 years ago
d91dc37
Skip copying CIDs to SSL transforms until CID feature is complete
by Hanno Becker
· 6 years ago
92c930f
Implement inner plaintext parsing/writing for CID-based connections
by Hanno Becker
· 6 years ago
e83efe6
Incorporate CID into MAC computations during record protection
by Hanno Becker
· 6 years ago
8013b27
Replace 'ingoing' -> 'incoming' in CID debug messages
by Hanno Becker
· 6 years ago
cb063f5
Document behaviour of mbedtls_ssl_get_peer_cid() for empty CIDs
by Hanno Becker
· 6 years ago
b4a5606
Make integer truncation explicit in mbedtls_ssl_set_cid()
by Hanno Becker
· 6 years ago
2de89fa
Implement mbedtls_ssl_get_peer_cid()
by Hanno Becker
· 6 years ago
dd0afca
Copy CIDs into SSL transform if use of CID has been negotiated
by Hanno Becker
· 6 years ago
0748986
Allow configuring own CID fields through mbedtls_ssl_get_peer_cid()
by Hanno Becker
· 6 years ago
84ef8bd
Remove 'session' input from populate_tranform()
by Manuel Pégourié-Gonnard
· 6 years ago
cf31216
Fix typo in comment
by Manuel Pégourié-Gonnard
· 6 years ago
724a695
Merge remote-tracking branch 'origin/pr/562' into baremetal
by Simon Butcher
· 6 years ago
86e48c2
Enforce promise to not use whole ssl context
by Manuel Pégourié-Gonnard
· 6 years ago
1d10a98
Partially rm 'ssl' input from populate_transform()
by Manuel Pégourié-Gonnard
· 6 years ago
0bcfbc3
Remove "handshake" input from populate_transform()
by Manuel Pégourié-Gonnard
· 6 years ago
12a3f44
Start refining parameters of populate_transform()
by Manuel Pégourié-Gonnard
· 6 years ago
a1abb26
Move compress_buf allocation to derive_keys
by Manuel Pégourié-Gonnard
· 6 years ago
707728d
Move handling of randbytes to derive_keys()
by Manuel Pégourié-Gonnard
· 6 years ago
bcf258e
Remove duplicated branch in ssl_compute_master()
by Manuel Pégourié-Gonnard
· 6 years ago
a575975
Make calc_verify() return the length as well
by Manuel Pégourié-Gonnard
· 6 years ago
ed3b7a9
Constify ssl_context param of calc_verify()
by Manuel Pégourié-Gonnard
· 6 years ago
c28c889
Improve signature of ssl_compute_master()
by Manuel Pégourié-Gonnard
· 6 years ago
dafe522
Reduce indentation in ssl_compute_master()
by Manuel Pégourié-Gonnard
· 6 years ago
7edd587
Start extracting ssl_compute_master()
by Manuel Pégourié-Gonnard
· 6 years ago
aa3c701
Fix signature of ssl_set_transform_prfs()
by Manuel Pégourié-Gonnard
· 6 years ago
52aa520
Start extraction ssl_set_handshake_prfs()
by Manuel Pégourié-Gonnard
· 6 years ago
5ed5e90
Start splitting populate_transform() out of derive_keys()
by Manuel Pégourié-Gonnard
· 6 years ago
0888581
Fix uninitialized variable access in debug output of record enc/dec
by Hanno Becker
· 6 years ago
c5aee96
Adapt record length value after encryption
by Hanno Becker
· 6 years ago
30d02cd
Rename ssl_decrypt_buf() to mbedtls_ssl_decrypt_buf() in comment
by Hanno Becker
· 7 years ago
93012fe
Double check that record expansion is as expected during decryption
by Hanno Becker
· 7 years ago
a795323
Move debugging output after record decryption
by Hanno Becker
· 7 years ago
611a83b
Add tests for record encryption/decryption
by Hanno Becker
· 8 years ago
9223132
Reduce size of `ssl_transform` if no MAC ciphersuite is enabled
by Hanno Becker
· 8 years ago
f122944
Remove code from `ssl_derive_keys` if relevant modes are not enabled
by Hanno Becker
· 8 years ago
4c6876b
Provide standalone version of `ssl_decrypt_buf`
by Hanno Becker
· 8 years ago
Next »