blob: f629062f7b7bc7dd1b26d62190be183b73fd3ef7 (
plain) (
tree)
|
|
// Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "AES tools" project.
// For details, see https://github.com/egor-tensin/aes-tools.
// Distributed under the MIT License.
#pragma once
#include <string>
#include <utility>
#include <vector>
class Input
{
public:
Input(const std::string& key, const std::string& iv, std::vector<std::string>&& blocks)
: key{key}
, iv{iv}
, blocks{std::move(blocks)}
{ }
Input(const std::string& key, std::vector<std::string>&& blocks)
: key{key}
, blocks{std::move(blocks)}
{ }
const std::string key;
const std::string iv;
const std::vector<std::string> blocks;
};
|