blob: 68bb5d4f082478b3d3fe9f7d310100d5a3eb446f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/**
* Stream Cipher Default Implementation for IV and Seek
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/stream_cipher.h>
namespace Botan {
/*
* Default StreamCipher Resync Operation
*/
void StreamCipher::resync(const byte[], u32bit length)
{
if(length)
throw Exception("The stream cipher " + name() +
" does not support resyncronization");
}
/*
* Default StreamCipher Seek Operation
*/
void StreamCipher::seek(u32bit)
{
throw Exception("The stream cipher " + name() + " does not support seek()");
}
}
|