set null auth on decr too.
commita31cb780e5e762568a616675fd4d21e2462ec277
authorJaren Johnston <jaren.johnston>
Thu, 28 Jun 2012 21:45:40 +0000 (28 14:45 -0700)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 1 Jul 2012 21:14:57 +0000 (1 23:14 +0200)
tree72ff20fd347564f327af60d3eef63852eb89f9bd
parentb6039d941ec1e89a0fd5edda27b83d0979dc6ad2
set null auth on decr too.

Encr had code to especially set null auth data if there was none.  Turns out to be important for decr too.

Moved the special empty-auth setting out of auth_n_crypt and into cryptodev_cipher_auth.

Change-Id: I32206eb5755782f6f9adebd68590f59fb35613d5

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
authenc.c
cryptlib.h