// Generated by Haxe 4.3.3
#ifndef INCLUDED_haxe_crypto_Aes
#define INCLUDED_haxe_crypto_Aes
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,crypto,Aes)
HX_DECLARE_CLASS2(haxe,io,Bytes)
namespace haxe{
namespace crypto{
class HXCPP_CLASS_ATTRIBUTES Aes_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef Aes_obj OBJ_;
Aes_obj();
public:
enum { _hx_ClassId = 0x49ad9de8 };
void __construct( ::haxe::io::Bytes key, ::haxe::io::Bytes iv);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.crypto.Aes")
{ return ::hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return ::hx::Object::operator new(inSize+extra,true,"haxe.crypto.Aes"); }
static ::hx::ObjectPtr< Aes_obj > __new( ::haxe::io::Bytes key, ::haxe::io::Bytes iv);
static ::hx::ObjectPtr< Aes_obj > __alloc(::hx::Ctx *_hx_ctx, ::haxe::io::Bytes key, ::haxe::io::Bytes iv);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~Aes_obj();
HX_DO_RTTI_ALL;
::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
::hx::Val __SetField(const ::String &inString,const ::hx::Val &inValue, ::hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, ::hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Aes",ef,aa,31,00); }
static ::Array< int > SBOX;
static ::Array< int > RSBOX;
static ::Array< int > SUB_BYTES_MIX_COLUMN_0;
static ::Array< int > SUB_BYTES_MIX_COLUMN_1;
static ::Array< int > SUB_BYTES_MIX_COLUMN_2;
static ::Array< int > SUB_BYTES_MIX_COLUMN_3;
static ::Array< int > RSUB_BYTES_MIX_COLUMN_0;
static ::Array< int > RSUB_BYTES_MIX_COLUMN_1;
static ::Array< int > RSUB_BYTES_MIX_COLUMN_2;
static ::Array< int > RSUB_BYTES_MIX_COLUMN_3;
static ::Array< int > RCON;
static void initTable();
static ::Dynamic initTable_dyn();
int Nk;
int Nr;
::Array< int > roundKey;
::Array< int > rRoundKey;
int keyRows;
::Array< int > state;
::haxe::io::Bytes key;
::haxe::io::Bytes iv;
::haxe::io::Bytes set_iv( ::haxe::io::Bytes vector);
::Dynamic set_iv_dyn();
void init( ::haxe::io::Bytes key, ::haxe::io::Bytes iv);
::Dynamic init_dyn();
void keyExpansion( ::haxe::io::Bytes key);
::Dynamic keyExpansion_dyn();
::haxe::io::Bytes encrypt(::String cipherMode, ::haxe::io::Bytes data,::String padding, ::haxe::io::Bytes aad, ::Dynamic tagLen,::Array< ::Dynamic> aadCollection);
::Dynamic encrypt_dyn();
::haxe::io::Bytes decrypt(::String cipherMode, ::haxe::io::Bytes data,::String padding, ::haxe::io::Bytes aad, ::Dynamic tagLen,::Array< ::Dynamic> aadCollection);
::Dynamic decrypt_dyn();
void encryptBlock( ::haxe::io::Bytes src,int srcIndex, ::haxe::io::Bytes dst,int dstIndex);
::Dynamic encryptBlock_dyn();
void decryptBlock( ::haxe::io::Bytes src,int srcIndex, ::haxe::io::Bytes dst,::hx::Null< int > dstIndex);
::Dynamic decryptBlock_dyn();
void generateBlock(::Array< int > keySchedule,::Array< int > SUB_MIX_0,::Array< int > SUB_MIX_1,::Array< int > SUB_MIX_2,::Array< int > SUB_MIX_3,::Array< int > SBOX);
::Dynamic generateBlock_dyn();
int bytesToInt32( ::haxe::io::Bytes bs,int off);
::Dynamic bytesToInt32_dyn();
void int32ToBytes(int n, ::haxe::io::Bytes bs,int off);
::Dynamic int32ToBytes_dyn();
};
} // end namespace haxe
} // end namespace crypto
#endif /* INCLUDED_haxe_crypto_Aes */