mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@51 4ee2a332-4b2b-5046-8439-1ba90f034370
30 lines
1.3 KiB
C
30 lines
1.3 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlSDK - aes - include
|
|
File: assert.h
|
|
|
|
Copyright 2007 Nintendo. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Log: $
|
|
$NoKeywords: $
|
|
*---------------------------------------------------------------------------*/
|
|
#ifndef TWL_AES_ASSERT_H_
|
|
#define TWL_AES_ASSERT_H_
|
|
|
|
/*---------------------------------------------------------------------------*
|
|
ASSERT
|
|
*---------------------------------------------------------------------------*/
|
|
#define AES_ASSERT_KEYNO( keyNo ) SDK_ASSERTMSG( (keyNo) <= AES_KEY_MAX_NUM, "illegal AES Key No." )
|
|
#define AES_ASSERT_DATA_LENGTH( len ) SDK_ASSERTMSG( (len) & 0xFF0000FF, "illegal data length." )
|
|
|
|
#endif /* TWL_AES_ASSERT_H_ */
|
|
|
|
/*---------------------------------------------------------------------------*
|
|
End of file
|
|
*---------------------------------------------------------------------------*/
|