libcli:smb: Use gnutls_aead_cipher_decryptv2() for AES GCM or CCM
authorAndreas Schneider <asn@samba.org>
Fri, 23 Aug 2019 07:12:21 +0000 (09:12 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 8 Oct 2019 14:12:44 +0000 (14:12 +0000)
commit4a24d9499757dea377b4e3d8beb7f2c10fd5c5d0
tree1915547a73dc6e94e21fdcf2ed53f59063bf265c
parent70fdd4821aa811f90944bee17cc85e3ae9302279
libcli:smb: Use gnutls_aead_cipher_decryptv2() for AES GCM or CCM

This is a new call which has been added with GnuTLS 3.6.10 and will
recuduce memory allocations and copying of data.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Oct  8 14:12:44 UTC 2019 on sn-devel-184
libcli/smb/smb2_signing.c