gnutls_cipher_init



gnutls_cipher_init

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_cipher_init − API function

SYNOPSIS

#include <gnutls/gnutls.h>

int gnutls_cipher_init(gnutls_cipher_hd_t * handle, gnutls_cipher_algorithm_t cipher, const gnutls_datum_t * key, const gnutls_datum_t * iv);

ARGUMENTS

gnutls_cipher_hd_t * handle

is a gnutls_cipher_hd_t structure.

gnutls_cipher_algorithm_t cipher

the encryption algorithm to use

const gnutls_datum_t * key

The key to be used for encryption

const gnutls_datum_t * iv

The IV to use (if not applicable set NULL)

DESCRIPTION

This function will initialize an context that can be used for encryption/decryption of data. This will effectively use the current crypto backend in use by gnutls or the cryptographic accelerator in use.

RETURNS

Zero or a negative error code on error.

SINCE

2.10.0

REPORTING BUGS

Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

COPYRIGHT

Copyright © 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

SEE ALSO

The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command

info gnutls

should give you access to the complete manual.



More Linux Commands

manpages/XF86VidModeValidateModeLine.3.html
XF86VidModeValidateModeLine(3) - Extension library for the X
These functions provide an interface to the server extension XFree86-VidModeExtension which allows the video modes to be queried and adjusted dynamically and mo

manpages/pthread_attr_destroy.3.html
pthread_attr_destroy(3) - initialize and destroy thread attr
The pthread_attr_init() function initializes the thread attributes object pointed to by attr with default attribute values. After this call, individual attribut

manpages/pam_start.3.html
pam_start(3) - initialization of PAM transaction (Man Page)
The pam_start function creates the PAM context and initiates the PAM transaction. It is the first of the PAM functions that needs to be called by an application

manpages/grub-install.unsupported.8.html
grub-install.unsupported(8) - install GRUB on your drive....
Install GRUB on your drive. -h, --help print this message and exit -v, --version print the version information and exit --root-directory=DIR install GRUB images

manpages/ExtUtils::MY.3pm.html
ExtUtils::MY(3pm) - ExtUtils::MakeMaker subclass for customi
FOR INTERNAL USE ONLY ExtUtils::MY is a subclass of ExtUtils::MM. Its provided in your Makefile.PL for you to add and override MakeMaker functionality. It also

manpages/font2c.1.html
font2c(1) - Write PostScript Type 0 or Type 1 font as C code
This script invokes gs(1) with the following options: -q -dNODISPLAY -dWRITESYSTEMDICT followed by the arguments from the command line. This will write out a Po

manpages/setreuid32.2.html
setreuid32(2) - set real and/or effective user or group ID
setreuid() sets real and effective user IDs of the calling process. Supplying a value of -1 for either the real or effective user ID forces the system to leave

manpages/image.n.html
image(n) - Create and manipulate images - Linux manual page
The image command is used to create, delete, and query images. It can take several different forms, depending on the option argument. The legal forms are: image

manpages/isdigit.3.html
isdigit(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

manpages/glLineStipple.3gl.html
glLineStipple(3gl) - specify the line stipple pattern.......
Line stippling masks out certain fragments produced by rasterization; those fragments will not be drawn. The masking is achieved by using three parameters: the

manpages/git-diff.1.html
git-diff(1) - Show changes between commits, commit and worki
Show changes between the working tree and the index or a tree, changes between the index and a tree, changes between two trees, changes between two blob objects

manpages/grub2-macbless.1.html
grub2-macbless(1) bless a mac file directory (Man Page).....
Mac-style bless on HFS or HFS+ -p, --ppc bless for ppc-based macs -v, --verbose print verbose messages. -x, --x86 bless for x86-based macs -?, --help give this





We can't live, work or learn in freedom unless the software we use is free.