diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:33:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:33:12 +0000 |
commit | 36082a2fe36ecd800d784ae44c14f1f18c66a7e9 (patch) | |
tree | 6c68e0c0097987aff85a01dabddd34b862309a7c /doc/functions/gnutls_cipher_decrypt3 | |
parent | Initial commit. (diff) | |
download | gnutls28-upstream.tar.xz gnutls28-upstream.zip |
Adding upstream version 3.7.9.upstream/3.7.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/functions/gnutls_cipher_decrypt3')
-rw-r--r-- | doc/functions/gnutls_cipher_decrypt3 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/functions/gnutls_cipher_decrypt3 b/doc/functions/gnutls_cipher_decrypt3 new file mode 100644 index 0000000..45e5d53 --- /dev/null +++ b/doc/functions/gnutls_cipher_decrypt3 @@ -0,0 +1,26 @@ + + + + +@deftypefun {int} {gnutls_cipher_decrypt3} (gnutls_cipher_hd_t @var{handle}, const void * @var{ctext}, size_t @var{ctext_len}, void * @var{ptext}, size_t * @var{ptext_len}, unsigned @var{flags}) +@var{handle}: is a @code{gnutls_cipher_hd_t} type + +@var{ctext}: the data to decrypt + +@var{ctext_len}: the length of data to decrypt + +@var{ptext}: the decrypted data + +@var{ptext_len}: the available length for decrypted data + +@var{flags}: flags for padding + +This function will decrypt the given data using the algorithm +specified by the context. If @code{flags} is specified, padding for the +decrypted data will be removed accordingly and @code{ptext_len} will be +updated. + +@strong{Returns:} Zero or a negative error code on error. + +@strong{Since:} 3.7.7 +@end deftypefun |