comparison libtomcrypt/src/modes/f8/f8_getiv.c @ 1471:6dba84798cd5

Update to libtomcrypt 1.18.1, merged with Dropbear changes
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 21:44:05 +0800
parents f849a5ca2efc
children
comparison
equal deleted inserted replaced
1470:8bba51a55704 1471:6dba84798cd5
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 ofb_getiv.c 12 @file ofb_getiv.c
16 */ 14 */
17 15
18 #ifdef LTC_F8_MODE 16 #ifdef LTC_F8_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 f8 The F8 state 22 @param f8 The F8 state
25 @return CRYPT_OK if successful 23 @return CRYPT_OK if successful
26 */ 24 */
27 int f8_getiv(unsigned char *IV, unsigned long *len, symmetric_F8 *f8) 25 int f8_getiv(unsigned char *IV, unsigned long *len, symmetric_F8 *f8)
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$ */