diff options
Diffstat (limited to 'src/lib/mac/x919_mac/x919_mac.cpp')
-rw-r--r-- | src/lib/mac/x919_mac/x919_mac.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/mac/x919_mac/x919_mac.cpp b/src/lib/mac/x919_mac/x919_mac.cpp index 31fda319b..2e0fb2817 100644 --- a/src/lib/mac/x919_mac/x919_mac.cpp +++ b/src/lib/mac/x919_mac/x919_mac.cpp @@ -90,8 +90,7 @@ MessageAuthenticationCode* ANSI_X919_MAC::clone() const */ ANSI_X919_MAC::ANSI_X919_MAC() : m_state(8), m_position(0) { - auto& ciphers = Algo_Registry<BlockCipher>::global_registry(); - m_des1.reset(ciphers.make(BlockCipher::Spec("DES"), "")); + m_des1.reset(get_block_cipher("DES")); m_des2.reset(m_des1->clone()); } |