Mercurial > dropbear
comparison libtomcrypt/src/encauth/eax/eax_addheader.c @ 1437:871b18fd7065 fuzz
merge from main (libtommath/libtomcrypt/curve25510-donna updates)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 22:51:45 +0800 |
parents | f849a5ca2efc |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
1432:41dca1e5ea34 | 1437:871b18fd7065 |
---|---|
4 * algorithms in a highly modular and flexible manner. | 4 * algorithms in a highly modular and flexible manner. |
5 * | 5 * |
6 * The library is free for all purposes without any express | 6 * The library is free for all purposes without any express |
7 * guarantee it works. | 7 * guarantee it works. |
8 * | 8 * |
9 * Tom St Denis, [email protected], http://libtomcrypt.com | 9 * Tom St Denis, [email protected], http://libtom.org |
10 */ | 10 */ |
11 /** | 11 /** |
12 @file eax_addheader.c | 12 @file eax_addheader.c |
13 EAX implementation, add meta-data, by Tom St Denis | 13 EAX implementation, add meta-data, by Tom St Denis |
14 */ | 14 */ |
15 #include "tomcrypt.h" | 15 #include "tomcrypt.h" |
16 | 16 |
17 #ifdef EAX_MODE | 17 #ifdef LTC_EAX_MODE |
18 | 18 |
19 /** | 19 /** |
20 add header (metadata) to the stream | 20 add header (metadata) to the stream |
21 @param eax The current EAX state | 21 @param eax The current EAX state |
22 @param header The header (meta-data) data you wish to add to the state | 22 @param header The header (meta-data) data you wish to add to the state |
31 return omac_process(&eax->headeromac, header, length); | 31 return omac_process(&eax->headeromac, header, length); |
32 } | 32 } |
33 | 33 |
34 #endif | 34 #endif |
35 | 35 |
36 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_addheader.c,v $ */ | 36 /* $Source$ */ |
37 /* $Revision: 1.4 $ */ | 37 /* $Revision$ */ |
38 /* $Date: 2006/03/31 14:15:35 $ */ | 38 /* $Date$ */ |