Added virtual destructor to IAES

This commit is contained in:
Jack Andersen 2015-07-15 16:01:37 -10:00
parent f3ba8819a4
commit 7442d618e7
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# PKGBUILD for libAthena
_pkgname=libathena
pkgname=$_pkgname-git
pkgver=2.0.0.8.g24fedff
pkgver=2.0.0.9.gf3ba881
pkgrel=1
pkgdesc="Basic cross platform IO library"
arch=('i686' 'x86_64')

View File

@ -11,6 +11,7 @@ namespace Athena
class IAES
{
public:
virtual ~IAES() {}
virtual void encrypt(const uint8_t* iv, const uint8_t* inbuf, uint8_t* outbuf, uint64_t len)=0;
virtual void decrypt(const uint8_t* iv, const uint8_t* inbuf, uint8_t* outbuf, uint64_t len)=0;
virtual void setKey(const uint8_t* key)=0;