summaryrefslogtreecommitdiff
path: root/ccm.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-05-03 09:31:00 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-05-03 09:31:00 +0200
commit65e69879e0692457620bbf454fa71bb0113e0feb (patch)
tree9339bb0970f0a0b6cfa8e42b70ab4cee20097f59 /ccm.h
parentcfc888919dc603dd4831f373d26b9ef9956b9285 (diff)
downloadnettle-65e69879e0692457620bbf454fa71bb0113e0feb.tar.gz
New constant CCM_DIGEST_SIZE.
Diffstat (limited to 'ccm.h')
-rw-r--r--ccm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ccm.h b/ccm.h
index 271638b6..0a742a5c 100644
--- a/ccm.h
+++ b/ccm.h
@@ -89,6 +89,7 @@ extern "C" {
/* For CCM, the block size of the block cipher shall be 128 bits. */
#define CCM_BLOCK_SIZE 16
+#define CCM_DIGEST_SIZE 16
#define CCM_MIN_NONCE_SIZE 7
#define CCM_MAX_NONCE_SIZE 14