blob: ed0da00d6a06955ba20d415a79b27b1c32c2400b (
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
|
/*
* Threefish-512 in AVX2
* (C) 2013 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_THREEFISH_AVX2_H__
#define BOTAN_THREEFISH_AVX2_H__
#include <botan/threefish.h>
namespace Botan {
/**
* Threefish-512
*/
class BOTAN_DLL Threefish_512_AVX2 : public Threefish_512
{
private:
void encrypt_n(const byte in[], byte out[], size_t blocks) const override;
void decrypt_n(const byte in[], byte out[], size_t blocks) const override;
BlockCipher* clone() const override { return new Threefish_512_AVX2; }
};
}
#endif
|