1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     crypto_Hmac.h
4   Copyright (C)2009 Nintendo Co., Ltd.  All rights reserved.
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law. They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10   $Rev: 35449 $
11  *---------------------------------------------------------------------------
12 
13 
14 */
15 
16 /* Please see man pages for details
17 
18 
19 */
20 
21 #ifndef NN_CRYPTO_CRYPTO_HMAC_H_
22 #define NN_CRYPTO_CRYPTO_HMAC_H_
23 
24 #ifdef __cplusplus
25 
26 namespace nn{ namespace crypto{
27 
28 /* Please see man pages for details
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 */
39 void CalculateHmacSha1(
40     void*                   pOut,
41     const void*             pData,
42     size_t                  length,
43     const void*             pKeyData,
44     size_t                  keyLength
45 );
46 
47 /* Please see man pages for details
48 
49 
50 
51 
52 
53 
54 
55 
56 
57 */
58 void CalculateHmacSha256(
59     void*                   pOut,
60     const void*             pData,
61     size_t                  length,
62     const void*             pKeyData,
63     size_t                  keyLength
64 );
65 
66 }} // namespace nn::crypto
67 
68 #endif // __cplusplus
69 
70 
71 #endif /* NN_CRYPTO_CRYPTO_HMAC_H_ */
72