1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: crypto_AesCtrContextBase.h 4 5 Copyright 2009 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Date:: 2010-06-29 #$ 14 $Rev: 19400 $ 15 $Author: takiguchi_shinichi $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef NN_CRYPTO_CRYPTO_AESCTRCONTEXTBASE_H_ 19 #define NN_CRYPTO_CRYPTO_AESCTRCONTEXTBASE_H_ 20 21 #include <nn/types.h> 22 #include <nn/config.h> 23 #include <nn/crypto/crypto_AesContextBase.h> 24 25 #ifdef __cplusplus 26 27 namespace nn{ namespace crypto{ 28 29 /*! 30 @brief AES-CTR コンテキストオブジェクトの基底クラスです。 31 32 このクラスを直接インスタンス化することはできません。 33 継承先のクラスを使用してください。 34 */ 35 class AesCtrContextBase : public AesContextBase 36 { 37 public: 38 virtual const bit32* GetIv() const = 0; 39 40 protected: 41 42 // 単独インスタンス化の禁止 AesCtrContextBase()43 AesCtrContextBase() {} ~AesCtrContextBase()44 ~AesCtrContextBase() {} 45 46 }; 47 48 49 }} // namespace nn::crypto 50 51 #endif // __cplusplus 52 53 54 #endif /* NN_CRYPTO_CRYPTO_AESCTRCONTEXTBASE_H_ */ 55