diff options
Diffstat (limited to 'src/lib/mac')
-rw-r--r-- | src/lib/mac/cmac/cmac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mac/cmac/cmac.cpp b/src/lib/mac/cmac/cmac.cpp index 27edda233..1501bc316 100644 --- a/src/lib/mac/cmac/cmac.cpp +++ b/src/lib/mac/cmac/cmac.cpp @@ -55,7 +55,7 @@ secure_vector<byte> CMAC::poly_double(const secure_vector<byte>& in) out[out.size()-1] ^= 0x25; break; default: - throw std::runtime_error("Unsupported CMAC size " + std::to_string(in.size())); + throw Exception("Unsupported CMAC size " + std::to_string(in.size())); } } |