OpenCores
URL https://opencores.org/ocsvn/hight/hight/trunk

Subversion Repositories hight

[/] [hight/] [trunk/] [sw/] [hight_unit_test.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 truemind
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
////  Header file of unit test functions for HIGHT Integer Model  ////
4
////                                                              ////
5
////  This file is part of the HIGHT Crypto Core project          ////
6
////  http://github.com/OpenSoCPlus/hight_crypto_core             ////
7
////  http://www.opencores.org/project,hight                      ////
8
////                                                              ////
9
////  Description                                                 ////
10
////  __description__                                             ////
11
////                                                              ////
12
////  Author(s):                                                  ////
13
////      - JoonSoo Ha, json.ha@gmail.com                         ////
14
////      - Younjoo Kim, younjookim.kr@gmail.com                  ////
15
////                                                              ////
16
//////////////////////////////////////////////////////////////////////
17
////                                                              ////
18
//// Copyright (C) 2015 Authors, OpenSoCPlus and OPENCORES.ORG    ////
19
////                                                              ////
20
//// This source file may be used and distributed without         ////
21
//// restriction provided that this copyright statement is not    ////
22
//// removed from the file and that any derivative work contains  ////
23
//// the original copyright notice and the associated disclaimer. ////
24
////                                                              ////
25
//// This source file is free software; you can redistribute it   ////
26
//// and/or modify it under the terms of the GNU Lesser General   ////
27
//// Public License as published by the Free Software Foundation; ////
28
//// either version 2.1 of the License, or (at your option) any   ////
29
//// later version.                                               ////
30
////                                                              ////
31
//// This source is distributed in the hope that it will be       ////
32
//// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
33
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
34
//// PURPOSE.  See the GNU Lesser General Public License for more ////
35
//// details.                                                     ////
36
////                                                              ////
37
//// You should have received a copy of the GNU Lesser General    ////
38
//// Public License along with this source; if not, download it   ////
39
//// from http://www.opencores.org/lgpl.shtml                     ////
40
////                                                              ////
41
//////////////////////////////////////////////////////////////////////
42
 
43
#ifndef __HIGHT_UNIT_TEST_H__
44
#define __HIGHT_UNIT_TEST_H__
45
 
46
/* =====================================
47
 
48
    DeltaGenTest()
49
 
50
=======================================*/
51
void DeltaGenTest();
52
 
53
 
54
/* =====================================
55
 
56
    SubKeyGenTest()
57
 
58
=======================================*/
59
void SubKeyGenTest();
60
 
61
 
62
/* =====================================
63
 
64
    WhiteningKeyGenTest()
65
 
66
=======================================*/
67
void WhiteningKeyGenTest ();
68
 
69
 
70
/* =====================================
71
 
72
    InitialWhiteningFunctionTest()
73
 
74
=======================================*/
75
void InitialWhiteningFunctionTest ();
76
 
77
 
78
/* =====================================
79
 
80
    FinalWhiteningFunctionTest()
81
 
82
=======================================*/
83
void FinalWhiteningFunctionTest ();
84
 
85
 
86
/* =====================================
87
 
88
    InterRoundFunctionTest()
89
 
90
=======================================*/
91
void InterRoundFunctionTest();
92
 
93
 
94
/* =====================================
95
 
96
    FinalRoundFunctionTest ()
97
 
98
=======================================*/
99
void FinalRoundFunctionTest();
100
 
101
 
102
/* =====================================
103
 
104
    HightEncryptionTest()
105
 
106
=======================================*/
107
void HightEncryptionTest();
108
 
109
 
110
/* =====================================
111
 
112
    HightDecryptionTest()
113
 
114
=======================================*/
115
void HightDecryptionTest();
116
 
117
#endif
118
 
119
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.