]> git.ipfire.org Git - thirdparty/hostap.git/commit
crypto: Add return value to DES and AES encrypt/decrypt
authorJouni Malinen <j@w1.fi>
Tue, 28 Feb 2017 08:57:43 +0000 (10:57 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 Feb 2017 09:23:54 +0000 (11:23 +0200)
commit5f0e165e80914847fe0498caa4d8e2167a60c7e0
treebd591b702f3885d05c4e95f4e8569deb8e464132
parentdca4b503f13500f5dfd1e56d440622ceb0ee2660
crypto: Add return value to DES and AES encrypt/decrypt

These operations may fail with some crypto wrappers, so allow the
functions to report their results to the caller.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/aes-internal-dec.c
src/crypto/aes-internal-enc.c
src/crypto/aes.h
src/crypto/crypto.h
src/crypto/crypto_gnutls.c
src/crypto/crypto_libtomcrypt.c
src/crypto/crypto_none.c
src/crypto/crypto_openssl.c
src/crypto/des-internal.c