mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:15:07 +00:00
Improve documentation of mbedtls_record
This commit is contained in:
parent
78f839df94
commit
cd430bc099
|
@ -611,8 +611,11 @@ struct mbedtls_ssl_transform
|
||||||
* (1) Encrypted
|
* (1) Encrypted
|
||||||
* These always have data_offset = 0
|
* These always have data_offset = 0
|
||||||
* (2) Unencrypted
|
* (2) Unencrypted
|
||||||
* These have data_offset set to the length of the
|
* These have data_offset set to the amount of
|
||||||
* fixed part of the IV used for encryption.
|
* pre-expansion during record protection. Concretely,
|
||||||
|
* this is the length of the fixed part of the explicit IV
|
||||||
|
* used for encryption, or 0 if no explicit IV is used
|
||||||
|
* (e.g. for CBC in TLS 1.0, or stream ciphers).
|
||||||
*
|
*
|
||||||
* The reason for the data_offset in the unencrypted case
|
* The reason for the data_offset in the unencrypted case
|
||||||
* is to allow for in-place conversion of an unencrypted to
|
* is to allow for in-place conversion of an unencrypted to
|
||||||
|
|
Loading…
Reference in a new issue