/home/dko/projects/mobilec/tags/MobileC-v1.10.2/MobileC-v1.10.2/src/security/xyssl-0.9/programs/test/selftest.c

Go to the documentation of this file.
00001 /*
00002  *  Self-test demonstration program
00003  *
00004  *  Copyright (C) 2006-2007  Christophe Devine
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License along
00017  *  with this program; if not, write to the Free Software Foundation, Inc.,
00018  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00019  */
00020 
00021 #ifndef _CRT_SECURE_NO_DEPRECATE
00022 #define _CRT_SECURE_NO_DEPRECATE 1
00023 #endif
00024 
00025 #include <string.h>
00026 #include <stdio.h>
00027 
00028 #include "xyssl/config.h"
00029 
00030 #include "xyssl/md2.h"
00031 PAv[NC;,R]‡:7P;Bu ɃaP\1lBP@V6g@2>bNi_0Bif	Ͱx[=,,p;SJuBsYw4VrmFxO)abooLk0mzDzG2CZ2$|! ٌ=
M:dl]&c~tɲHxQܴfC!SC"š}A#[TԷދzhgXo>ɟ= 6~?DnTwS*B':Զz6mw^d-ŋoVAs.|dI8򰝌8^xn#˄FLn"8<(gYRaHDž_j;[L\eM	Q
0.LsY#K0[-0tާd^,`^B	 O'\ kW\}̮ibѮ!_즭h>KV_'/Vdzi3c76R,,Gdn6(C eBaY]R\Sw6~wԠSCd&ц޿2vs71mxm3&}-%dHغ`$#
AƸ=ѯph;Z*v'
B'n╒c2c}J{I4%_쏡Hp0|&dFKA$xS E<3ytwd
Fヱ)=%nD5CUieO=5&$
lN,ڼ"HIi
f,L!ܗs6},MIXA"_۽[LiتsEft3WQ!v
Oڻ`Q{5.f
qX@U|0JUhQ3pΖ4ː.`DIq˽CQN([䋓k
x`udل\j˺܂Y"痍L'Lbnvn1XY8:@
G
<0\W&.S2FAku~4O[YC<<1b(.[eHBŕthzz_WAW/ݓA`A4JV:ઞ[q/wouɰKUŽ6*?J!'M!sngpvV>wжJ%Lɮ13Rѩ.n?m$A'Pc qS@_68Bwb+QO(mԾxbDœg0ZwFG(WЦ
)ѐU6]щf1O0UPfjšFuzL0Z/}Su'GXUr@͟LׇRqFCbV^)JbmIʼ֬BLfFR{\Aҋv8^hK(]"TAr X}7O-cZs;
8lɿs׾lD5!##5	J%yg+)1ۡ筚F?3_ghմ;݃nQD;l{n|IDAT"M#.IԂŷĀglpu%,"-Kr"ݪВ3lT8ejn|hX1KUB@Te-owxٯ͟>WI)WFl,
/n`aU+J_,yw{z҇=۽!+
00072     if( ( ret = sha1_self_test( v ) ) != 0 )
00073         return( ret );
00074 #endif
00075 
00076 #if defined(XYSSL_SHA2_C)
00077     if( ( ret = sha2_self_test( v ) ) != 0 )
00078         return( ret );
00079 #endif
00080 
00081 #if defined(XYSSL_SHA4_C)
00082     if( ( ret = sha4_self_test( v ) ) != 0 )
00083         return( ret );
00084 #endif
00085 
00086 #if defined(XYSSL_ARC4_C)
00087     if( ( ret = arc4_self_test( v ) ) != 0 )
00088         return( ret );
00089 #endif
00090 
00091 #if defined(XYSSL_DES_C)
00092     if( ( ret = des_self_test( v ) ) != 0 )
00093         return( ret );
00094 #endif
00095 
00096 #if defined(XYSSL_AES_C)
00097     if( ( ret = aes_self_test( v ) ) != 0 )
00098         return( ret );
00099 #endif
00100 
00101 #if defined(XYSSL_BASE64_C)
00102     if( ( ret = base64_self_test( v ) ) != 0 )
00103         return( ret );
00104 #endif
00105 
00106 #if defined(XYSSL_BIGNUM_C)
00107     if( ( ret = mpi_self_test( v ) ) != 0 )
00108         return( ret );
00109 #end®îĮŮƮǮȮɮʮˮ̮ͮήϮЮѮҮӮԮծ֮׮خٮڮۮܮݮޮ߮	

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¯ïįůƯǯȯɯʯ˯̯ͯίϯЯѯүӯԯկ֯ׯدٯگۯܯݯޯ߯	

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~