8#ifndef BOTAN_SYMMETRIC_ALGORITHM_H__
9#define BOTAN_SYMMETRIC_ALGORITHM_H__
11#include <botan/algo_base.h>
12#include <botan/key_spec.h>
13#include <botan/exceptn.h>
14#include <botan/symkey.h>
15#include <botan/types.h>
35 return key_spec().maximum_keylength();
43 return key_spec().minimum_keylength();
53 return key_spec().valid_keylength(length);
68 void set_key(
const byte key[],
size_t length)
72 key_schedule(key, length);
80 virtual void key_schedule(
const byte key[],
size_t length) = 0;
virtual std::string name() const =0
const byte * begin() const
bool valid_keylength(size_t length) const
void set_key(const SymmetricKey &key)
void set_key(const byte key[], size_t length)
size_t maximum_keylength() const
size_t minimum_keylength() const
virtual Key_Length_Specification key_spec() const =0