From c29da5a7fe6a5d3e1719ce9a831076df2eff52d5 Mon Sep 17 00:00:00 2001 From: Weiwei Li Date: Sat, 23 Apr 2022 10:35:01 +0800 Subject: crypto: move sm4_sbox from target/arm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - share it between target/arm and target/riscv Signed-off-by: Weiwei Li Signed-off-by: Junqiang Wang Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Reviewed-by: Richard Henderson Message-Id: <20220423023510.30794-6-liweiwei@iscas.ac.cn> Signed-off-by: Alistair Francis --- include/crypto/sm4.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 include/crypto/sm4.h (limited to 'include') diff --git a/include/crypto/sm4.h b/include/crypto/sm4.h new file mode 100644 index 0000000..9bd3ebc --- /dev/null +++ b/include/crypto/sm4.h @@ -0,0 +1,6 @@ +#ifndef QEMU_SM4_H +#define QEMU_SM4_H + +extern const uint8_t sm4_sbox[256]; + +#endif -- cgit v1.1