Mercurial > dropbear
comparison libtomcrypt/src/mac/omac/omac_done.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 #include "tomcrypt.h" | 11 #include "tomcrypt.h" |
12 | 12 |
13 /** | 13 /** |
14 @file omac_done.c | 14 @file omac_done.c |
15 OMAC1 support, terminate a stream, Tom St Denis | 15 LTC_OMAC1 support, terminate a stream, Tom St Denis |
16 */ | 16 */ |
17 | 17 |
18 #ifdef LTC_OMAC | 18 #ifdef LTC_OMAC |
19 | 19 |
20 /** | 20 /** |
21 Terminate an OMAC stream | 21 Terminate an LTC_OMAC stream |
22 @param omac The OMAC state | 22 @param omac The LTC_OMAC state |
23 @param out [out] Destination for the authentication tag | 23 @param out [out] Destination for the authentication tag |
24 @param outlen [in/out] The max size and resulting size of the authentication tag | 24 @param outlen [in/out] The max size and resulting size of the authentication tag |
25 @return CRYPT_OK if successful | 25 @return CRYPT_OK if successful |
26 */ | 26 */ |
27 int omac_done(omac_state *omac, unsigned char *out, unsigned long *outlen) | 27 int omac_done(omac_state *omac, unsigned char *out, unsigned long *outlen) |
79 } | 79 } |
80 | 80 |
81 #endif | 81 #endif |
82 | 82 |
83 | 83 |
84 /* $Source: /cvs/libtom/libtomcrypt/src/mac/omac/omac_done.c,v $ */ | 84 /* $Source$ */ |
85 /* $Revision: 1.7 $ */ | 85 /* $Revision$ */ |
86 /* $Date: 2006/11/03 00:39:49 $ */ | 86 /* $Date$ */ |