diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-06-18 11:33:34 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-20 10:32:23 +0000 |
commit | 789cc9ca9ae033e600542ab4c1e9dc433c319f9b (patch) | |
tree | 1b504d946ead021090bf42d8e46f85c2dc92b3f2 /lib/record.c | |
parent | 601e12472f2f533d19ee52410f89dc36543354c0 (diff) | |
download | gnutls-tmp-safe-padding-removal-made-optional.tar.gz |
document new behavior on safe padding removaltmp-safe-padding-removal-made-optional
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/record.c')
-rw-r--r-- | lib/record.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/record.c b/lib/record.c index c9bf616caa..ce0ecb672a 100644 --- a/lib/record.c +++ b/lib/record.c @@ -1760,6 +1760,10 @@ gnutls_record_send(gnutls_session_t session, const void *data, * To determine the maximum size of padding, use * gnutls_record_get_max_size() and gnutls_record_overhead_size(). * + * Note that in order for GnuTLS to provide constant time processing + * of padding and data in TLS1.3, the flag %GNUTLS_SAFE_PADDING_CHECK + * must be used in gnutls_init(). + * * Returns: The number of bytes sent, or a negative error code. The * number of bytes sent might be less than @data_size. The maximum * number of bytes this function can send in a single call depends |