commit | 78cf1c8bfcb81a21347dfa57ce71d475cea9f595 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Mon Sep 14 14:22:14 2020 +1000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 25 17:48:13 2020 +1000 |
tree | 0145d63947e14df916292f019e12bbf607f83714 | |
parent | 18e5189535910450f6cf7a63f8f0b84153b91f66 [diff] |
crypto: inside-secure - Move ipad/opad into safexcel_context As both safexcel_ahash_ctx and safexcel_cipher_ctx contain ipad and opad buffers this patch moves them into the common struct safexcel_context. It also adds a union so that they can be accessed in the appropriate endian without crazy casts. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>