s3:smb2_server: In CCM and GCM mode we can't reuse nonces
authorSimo Sorce <idra@samba.org>
Wed, 20 May 2015 12:01:44 +0000 (14:01 +0200)
committerSimo Sorce <idra@samba.org>
Fri, 29 May 2015 20:38:50 +0000 (22:38 +0200)
commit461c69bd7c52c8b980cf56be2abf9ce7accb6048
treefdd4d84211cbbd413c4797f27136d02f750ea53f
parent477ecfbdaf73a8a2b7af31938c14b84242336460
s3:smb2_server: In CCM and GCM mode we can't reuse nonces

Reuse of nonces with AES-CCM and AES-GCM leads to catastrophic failure,
so make sure the server drops the connection if that ever happens.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11300

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Simo Sorce <idra@samba.org>
Autobuild-Date(master): Fri May 29 22:38:50 CEST 2015 on sn-devel-104
source3/librpc/idl/smbXsrv.idl
source3/smbd/smb2_server.c
source3/smbd/smb2_sesssetup.c