8#ifndef BOTAN_CAST128_H_
9#define BOTAN_CAST128_H_
11#include <botan/block_cipher.h>
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 "CAST-128"; }
27 std::unique_ptr<BlockCipher>
new_object()
const override {
return std::make_unique<CAST_128>(); }
32 void key_schedule(std::span<const uint8_t> key)
override;
void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override
std::string name() const override
std::unique_ptr< BlockCipher > new_object() const override
bool has_keying_material() const override
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector