aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/cipher.h
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-03-27 13:58:01 +0100
committerHans Nilsson <[email protected]>2019-04-05 12:41:46 +0200
commit344c3602bfdfc71670b80c9f9f9345b86e637989 (patch)
tree5c3ac950825f26a11047ecade3aa2154471dae88 /lib/crypto/c_src/cipher.h
parentc0989dcede812c47290f1c61d39e46caa0edf547 (diff)
downloadotp-344c3602bfdfc71670b80c9f9f9345b86e637989.tar.gz
otp-344c3602bfdfc71670b80c9f9f9345b86e637989.tar.bz2
otp-344c3602bfdfc71670b80c9f9f9345b86e637989.zip
crypto: Misc C-changes,
error fixes, better error reporting (file and line), make aead more robust and like the _ng api.
Diffstat (limited to 'lib/crypto/c_src/cipher.h')
-rw-r--r--lib/crypto/c_src/cipher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/c_src/cipher.h b/lib/crypto/c_src/cipher.h
index b94873940f..0e51c410eb 100644
--- a/lib/crypto/c_src/cipher.h
+++ b/lib/crypto/c_src/cipher.h
@@ -46,6 +46,8 @@ struct cipher_type_t {
#define AEAD_CIPHER 8
#define NON_EVP_CIPHER 16
#define AES_CTR_COMPAT 32
+#define CCM_MODE 64
+#define GCM_MODE 128
#ifdef FIPS_SUPPORT