summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_cipher_encrypt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_cipher_encrypt')
-rw-r--r--doc/functions/gnutls_cipher_encrypt18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/functions/gnutls_cipher_encrypt b/doc/functions/gnutls_cipher_encrypt
new file mode 100644
index 0000000..a2015a2
--- /dev/null
+++ b/doc/functions/gnutls_cipher_encrypt
@@ -0,0 +1,18 @@
+
+
+
+
+@deftypefun {int} {gnutls_cipher_encrypt} (gnutls_cipher_hd_t @var{handle}, void * @var{ptext}, size_t @var{ptext_len})
+@var{handle}: is a @code{gnutls_cipher_hd_t} type
+
+@var{ptext}: the data to encrypt
+
+@var{ptext_len}: the length of data to encrypt
+
+This function will encrypt the given data using the algorithm
+specified by the context.
+
+@strong{Returns:} Zero or a negative error code on error.
+
+@strong{Since:} 2.10.0
+@end deftypefun