aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/cipher.h
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-04-05 12:43:16 +0200
committerHans Nilsson <[email protected]>2019-04-05 12:43:16 +0200
commit9acc1eb1c76050ba76732e3904e2030abf80376e (patch)
tree294bda157a0c30d5655c1cab951b7d13b5021608 /lib/crypto/c_src/cipher.h
parentc0989dcede812c47290f1c61d39e46caa0edf547 (diff)
parent4334d5c6107d6b6380b61e9200471c28d6c63110 (diff)
downloadotp-9acc1eb1c76050ba76732e3904e2030abf80376e.tar.gz
otp-9acc1eb1c76050ba76732e3904e2030abf80376e.tar.bz2
otp-9acc1eb1c76050ba76732e3904e2030abf80376e.zip
Merge branch 'hans/crypto/polish_new_api/OTP-15644'
* hans/crypto/polish_new_api/OTP-15644: crypto: Fix valgrind error for api_ng.c ssh: Use new crypto function names crypto: Fixup lots of tests crypto: Rename new api and rework the typing crypto: Misc C-changes,
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