/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: CBC.hpp Date: 2022-10-08 Author: Reece ***/ #pragma once namespace Aurora::Crypto::CBC { struct ICBCContext { virtual bool Initialize(const Memory::MemoryViewRead &key, const Memory::MemoryViewRead &iv) = 0; virtual bool GetIV(const Memory::MemoryViewWrite &writeView) = 0; virtual bool SetIV(const Memory::MemoryViewRead &readView) = 0; }; AUKN_SHARED_API(NewContext, ICBCContext); }