Mercurial > dropbear
comparison libtomcrypt/demos/small.c @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 6dba84798cd5 |
children |
comparison
equal
deleted
inserted
replaced
1457:32f990cc96b1 | 1511:5916af64acd4 |
---|---|
1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis | |
2 * | |
3 * LibTomCrypt is a library that provides various cryptographic | |
4 * algorithms in a highly modular and flexible manner. | |
5 * | |
6 * The library is free for all purposes without any express | |
7 * guarantee it works. | |
8 */ | |
1 /* small demo app that just includes a cipher/hash/prng */ | 9 /* small demo app that just includes a cipher/hash/prng */ |
2 #include <tomcrypt.h> | 10 #include <tomcrypt.h> |
3 | 11 |
4 int main(void) | 12 int main(void) |
5 { | 13 { |
7 register_prng(&yarrow_desc); | 15 register_prng(&yarrow_desc); |
8 register_hash(&sha256_desc); | 16 register_hash(&sha256_desc); |
9 return 0; | 17 return 0; |
10 } | 18 } |
11 | 19 |
12 /* $Source$ */ | 20 /* ref: $Format:%D$ */ |
13 /* $Revision$ */ | 21 /* git commit: $Format:%H$ */ |
14 /* $Date$ */ | 22 /* commit time: $Format:%ai$ */ |