mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
crypto: chcr - Calculate Reverse round key in setkey callback.
Move reverse round key calculation logic in setkey operation. Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -125,8 +125,8 @@ struct ablk_ctx {
|
||||
__be32 key_ctx_hdr;
|
||||
unsigned int enckey_len;
|
||||
unsigned int dst_nents;
|
||||
struct scatterlist iv_sg;
|
||||
u8 key[CHCR_AES_MAX_KEY_LEN];
|
||||
u8 rrkey[AES_MAX_KEY_SIZE];
|
||||
u8 iv[CHCR_MAX_CRYPTO_IV_LEN];
|
||||
unsigned char ciph_mode;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user