Mercurial > dropbear
comparison libtomcrypt/src/modes/cfb/cfb_getiv.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 |
---|---|
3 * LibTomCrypt is a library that provides various cryptographic | 3 * LibTomCrypt is a library that provides various cryptographic |
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 * | |
9 * Tom St Denis, [email protected], http://libtom.org | |
10 */ | 8 */ |
11 #include "tomcrypt.h" | 9 #include "tomcrypt.h" |
12 | 10 |
13 /** | 11 /** |
14 @file cfb_getiv.c | 12 @file cfb_getiv.c |
16 */ | 14 */ |
17 | 15 |
18 #ifdef LTC_CFB_MODE | 16 #ifdef LTC_CFB_MODE |
19 | 17 |
20 /** | 18 /** |
21 Get the current initial vector | 19 Get the current initialization vector |
22 @param IV [out] The destination of the initial vector | 20 @param IV [out] The destination of the initialization vector |
23 @param len [in/out] The max size and resulting size of the initial vector | 21 @param len [in/out] The max size and resulting size of the initialization vector |
24 @param cfb The CFB state | 22 @param cfb The CFB state |
25 @return CRYPT_OK if successful | 23 @return CRYPT_OK if successful |
26 */ | 24 */ |
27 int cfb_getiv(unsigned char *IV, unsigned long *len, symmetric_CFB *cfb) | 25 int cfb_getiv(unsigned char *IV, unsigned long *len, symmetric_CFB *cfb) |
28 { | 26 { |
39 return CRYPT_OK; | 37 return CRYPT_OK; |
40 } | 38 } |
41 | 39 |
42 #endif | 40 #endif |
43 | 41 |
44 /* $Source$ */ | 42 /* ref: $Format:%D$ */ |
45 /* $Revision$ */ | 43 /* git commit: $Format:%H$ */ |
46 /* $Date$ */ | 44 /* commit time: $Format:%ai$ */ |