blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / arm / crypto / aes_glue.h
blobcca3e51eb606bab2c156df9e1554155e355fa1b6
2 #define AES_MAXNR 14
4 struct AES_KEY {
5 unsigned int rd_key[4 * (AES_MAXNR + 1)];
6 int rounds;
7 };
9 struct AES_CTX {
10 struct AES_KEY enc_key;
11 struct AES_KEY dec_key;
14 asmlinkage void AES_encrypt(const u8 *in, u8 *out, struct AES_KEY *ctx);
15 asmlinkage void AES_decrypt(const u8 *in, u8 *out, struct AES_KEY *ctx);
16 asmlinkage int private_AES_set_decrypt_key(const unsigned char *userKey,
17 const int bits, struct AES_KEY *key);
18 asmlinkage int private_AES_set_encrypt_key(const unsigned char *userKey,
19 const int bits, struct AES_KEY *key);