aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <deremin-solenikov@cavium.com>2019-04-06 14:50:15 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2019-05-24 13:53:51 +0300
commit379bbf144141d41ee31df11d8a8d3a0758c1db06 (patch)
tree53d49f518b123b3eb7ac1c381fe9c477d3c820d8 /include
parent7f79421ba6204559fc33d960f9c58ee4bd2ca064 (diff)
api: add 3DES-ECB algorithm support
Signed-off-by: Dmitry Eremin-Solenikov <deremin-solenikov@cavium.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/spec/crypto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index c57873abe..9e1191088 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
@@ -76,6 +76,9 @@ typedef enum {
/** Triple DES with cipher block chaining */
ODP_CIPHER_ALG_3DES_CBC,
+ /** Triple DES with Electronic Codebook */
+ ODP_CIPHER_ALG_3DES_ECB,
+
/** AES with cipher block chaining */
ODP_CIPHER_ALG_AES_CBC,
@@ -278,6 +281,9 @@ typedef union odp_crypto_cipher_algos_t {
/** ODP_CIPHER_ALG_3DES_CBC */
uint32_t trides_cbc : 1;
+ /** ODP_CIPHER_ALG_3DES_ECB */
+ uint32_t trides_ecb : 1;
+
/** ODP_CIPHER_ALG_AES_CBC */
uint32_t aes_cbc : 1;