monotone

monotone Mtn Source Tree

Root/botan/ctr.h

1/*************************************************
2* CTR Mode Header File *
3* (C) 1999-2007 The Botan Project *
4*************************************************/
5
6#ifndef BOTAN_CTR_H__
7#define BOTAN_CTR_H__
8
9#include <botan/modebase.h>
10
11namespace Botan {
12
13/*************************************************
14* CTR-BE Mode *
15*************************************************/
16class CTR_BE : public BlockCipherMode
17 {
18 public:
19 CTR_BE(const std::string&);
20 CTR_BE(const std::string&,
21 const SymmetricKey&, const InitializationVector&);
22 private:
23 void write(const byte[], u32bit);
24 void increment_counter();
25 };
26
27}
28
29#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status