19 throw Not_Implemented(
"FrodoKEM mode " + mode.to_string() +
" is not available");
27 case FrodoKEMMode::FrodoKEM640_SHAKE:
28 case FrodoKEMMode::FrodoKEM640_AES:
29 case FrodoKEMMode::eFrodoKEM640_SHAKE:
30 case FrodoKEMMode::eFrodoKEM640_AES:
31 m_nist_strength = 128;
35 if(mode.is_static()) {
41 BOTAN_ASSERT_UNREACHABLE();
44 m_cdf_table = {4643, 13363, 20579, 25843, 29227, 31145, 32103, 32525, 32689, 32745, 32762, 32766, 32767};
46 m_shake =
"SHAKE-128";
53 m_nist_strength = 192;
63 BOTAN_ASSERT_UNREACHABLE();
66 m_cdf_table = {5638, 15915, 23689, 28571, 31116, 32217, 32613, 32731, 32760, 32766, 32767};
68 m_shake =
"SHAKE-256";
75 m_nist_strength = 256;
85 BOTAN_ASSERT_UNREACHABLE();
88 m_cdf_table = {9142, 23462, 30338, 32361, 32725, 32765, 32767};
90 m_shake =
"SHAKE-256";