mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
crypto: geode - Kill AES_IV_LENGTH
The AES IV length is always 128bits, just use the define from aes.h Signed-off-by: Marek Vasut <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Dmitry Kasatkin <[email protected]> Cc: Eric Bénard <[email protected]> Cc: Jussi Kivilinna <[email protected]> Cc: Kent Yoder <[email protected]> Cc: Michal Ludvig <[email protected]> Cc: Varun Wadekar <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: [email protected] Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
b9d865e331
commit
bac79a2a61
2 changed files with 1 additions and 2 deletions
|
|
@ -408,7 +408,7 @@ static struct crypto_alg geode_cbc_alg = {
|
|||
.setkey = geode_setkey_blk,
|
||||
.encrypt = geode_cbc_encrypt,
|
||||
.decrypt = geode_cbc_decrypt,
|
||||
.ivsize = AES_IV_LENGTH,
|
||||
.ivsize = AES_BLOCK_SIZE,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#define _GEODE_AES_H_
|
||||
|
||||
/* driver logic flags */
|
||||
#define AES_IV_LENGTH 16
|
||||
#define AES_KEY_LENGTH 16
|
||||
|
||||
#define AES_MODE_ECB 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue