31 void reset()
override;
33 std::string
name()
const override {
return "CTR-BE(AES-256)"; }
38 bool valid_salt_length(
size_t iv_length)
const override;
43 std::unique_ptr<XOF> copy_state()
const override;
45 std::unique_ptr<XOF>
new_object()
const override {
return std::make_unique<AES_256_CTR_XOF>(); }
54 void start_msg(std::span<const uint8_t> iv = {}, std::span<const uint8_t> key = {})
override;
59 void add_data(std::span<const uint8_t>)
override;
61 void generate_bytes(std::span<uint8_t> output)
override;
64 std::unique_ptr<StreamCipher> m_stream_cipher;