Searched hist:cb9ba02b (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-ce-core.S | cb9ba02b Thu Oct 27 01:54:59 CDT 2022 Tianjia Zhang <tianjia.zhang@linux.alibaba.com> crypto: arm64/sm4 - simplify sm4_ce_expand_key() of CE implementation
Use a 128-bit swap mask and tbl instruction to simplify the implementation for generating SM4 rkey_dec.
Also fixed the issue of not being wrapped by kernel_neon_begin/end() when using the sm4_ce_expand_key() function.
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | sm4-ce-glue.c | cb9ba02b Thu Oct 27 01:54:59 CDT 2022 Tianjia Zhang <tianjia.zhang@linux.alibaba.com> crypto: arm64/sm4 - simplify sm4_ce_expand_key() of CE implementation
Use a 128-bit swap mask and tbl instruction to simplify the implementation for generating SM4 rkey_dec.
Also fixed the issue of not being wrapped by kernel_neon_begin/end() when using the sm4_ce_expand_key() function.
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|