summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_aead_cipher_set_key
blob: 7a4fd70fdbcc4bbc16421f0e9858563dd761b2bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@deftypefun {int} {gnutls_aead_cipher_set_key} (gnutls_aead_cipher_hd_t @var{handle}, const gnutls_datum_t * @var{key})
@var{handle}: is a @code{gnutls_aead_cipher_hd_t}  type.

@var{key}: The key to be used for encryption

This function will set a new key without re-initializing the
context.

@strong{Returns:} Zero or a negative error code on error.

@strong{Since:} 3.7.5
@end deftypefun