aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes/aead/eax/eax.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-01-21 08:31:27 -0500
committerJack Lloyd <[email protected]>2019-01-21 08:31:27 -0500
commitfb20486176390a5449d96ff00234191bf1d3ac31 (patch)
tree6e42ac162ddc56d6c2114fd99c2268e810b31157 /src/lib/modes/aead/eax/eax.cpp
parent4087e4f28d38746f5db0e9fdd341ae1b305ecec3 (diff)
parentb835fdf8fd3910a79ab408660757d9736f82d14d (diff)
Merge GH #1816 Rename Integrity_Failure to Invalid_Authentication_Tag
Diffstat (limited to 'src/lib/modes/aead/eax/eax.cpp')
-rw-r--r--src/lib/modes/aead/eax/eax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/modes/aead/eax/eax.cpp b/src/lib/modes/aead/eax/eax.cpp
index 00253e405..1a31c3cff 100644
--- a/src/lib/modes/aead/eax/eax.cpp
+++ b/src/lib/modes/aead/eax/eax.cpp
@@ -184,7 +184,7 @@ void EAX_Decryption::finish(secure_vector<uint8_t>& buffer, size_t offset)
mac ^= m_ad_mac;
if(!constant_time_compare(mac.data(), included_tag, tag_size()))
- throw Integrity_Failure("EAX tag check failed");
+ throw Invalid_Authentication_Tag("EAX tag check failed");
buffer.resize(offset + remaining);