Merge pull request #406 from libtom/remove-sosemanuk_setup()-"NOP"

Sosemanuk - remove what is effectively a NOP
This commit is contained in:
Steffen Jaeckel 2018-06-19 11:45:38 +02:00 committed by GitHub
commit 927b196210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,11 +318,7 @@ int sosemanuk_setup(sosemanuk_state *ss, const unsigned char *key, unsigned long
#undef WUP0
#undef WUP1
/*
* Initialize with a zero-value iv to ensure state is correct in the
* event user fails to call setiv().
*/
return sosemanuk_setiv(ss, NULL, 0);
return CRYPT_OK;
}