crypto: aes - Precompute tables
[firefly-linux-kernel-4.4.55.git] / include / crypto / aes.h
index 40008d67ee3daf26573ad8648b491365134aa4d6..656a4c66a568f39cf769210bbfaab6d7dc6c7a07 100644 (file)
@@ -23,10 +23,10 @@ struct crypto_aes_ctx {
        u32 key_dec[AES_MAX_KEYLENGTH_U32];
 };
 
-extern u32 crypto_ft_tab[4][256];
-extern u32 crypto_fl_tab[4][256];
-extern u32 crypto_it_tab[4][256];
-extern u32 crypto_il_tab[4][256];
+extern const u32 crypto_ft_tab[4][256];
+extern const u32 crypto_fl_tab[4][256];
+extern const u32 crypto_it_tab[4][256];
+extern const u32 crypto_il_tab[4][256];
 
 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key,
                unsigned int key_len);