Mercurial > dropbear
comparison libtomcrypt/src/mac/omac/omac_init.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_init.c | 14 @file omac_init.c |
15 OMAC1 support, initialize state, by Tom St Denis | 15 LTC_OMAC1 support, initialize state, by Tom St Denis |
16 */ | 16 */ |
17 | 17 |
18 | 18 |
19 #ifdef LTC_OMAC | 19 #ifdef LTC_OMAC |
20 | 20 |
21 /** | 21 /** |
22 Initialize an OMAC state | 22 Initialize an LTC_OMAC state |
23 @param omac The OMAC state to initialize | 23 @param omac The LTC_OMAC state to initialize |
24 @param cipher The index of the desired cipher | 24 @param cipher The index of the desired cipher |
25 @param key The secret key | 25 @param key The secret key |
26 @param keylen The length of the secret key (octets) | 26 @param keylen The length of the secret key (octets) |
27 @return CRYPT_OK if successful | 27 @return CRYPT_OK if successful |
28 */ | 28 */ |
94 return CRYPT_OK; | 94 return CRYPT_OK; |
95 } | 95 } |
96 | 96 |
97 #endif | 97 #endif |
98 | 98 |
99 /* $Source: /cvs/libtom/libtomcrypt/src/mac/omac/omac_init.c,v $ */ | 99 /* $Source$ */ |
100 /* $Revision: 1.10 $ */ | 100 /* $Revision$ */ |
101 /* $Date: 2006/11/03 00:39:49 $ */ | 101 /* $Date$ */ |