20 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
21 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
23 void clear()
override;
25 std::string
name()
const override {
return "Kuznyechik"; }
27 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<Kuznyechik>(); }
33 void key_schedule(std::span<const uint8_t> key)
override;
34 uint64_t m_rke[10][2];
35 uint64_t m_rkd[10][2];
36 bool m_has_keying_material;