summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccree/cc_crypto_ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/ccree/cc_crypto_ctx.h')
-rw-r--r--drivers/crypto/ccree/cc_crypto_ctx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/crypto/ccree/cc_crypto_ctx.h b/drivers/crypto/ccree/cc_crypto_ctx.h
index c8dac273c563..97e56e9af01e 100644
--- a/drivers/crypto/ccree/cc_crypto_ctx.h
+++ b/drivers/crypto/ccree/cc_crypto_ctx.h
@@ -55,6 +55,14 @@
#define CC_DRV_ALG_MAX_BLOCK_SIZE CC_HASH_BLOCK_SIZE_MAX
+#define CC_CPP_NUM_SLOTS 8
+#define CC_CPP_NUM_ALGS 2
+
+enum cc_cpp_alg {
+ CC_CPP_SM4 = 1,
+ CC_CPP_AES = 0
+};
+
enum drv_engine_type {
DRV_ENGINE_NULL = 0,
DRV_ENGINE_AES = 1,