comparison libtomcrypt/src/encauth/ocb/ocb_encrypt_authenticate_memory.c @ 1435:f849a5ca2efc

update to libtomcrypt 1.17 (with Dropbear changes)
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 17:50:50 +0800
parents 0cbe8f6dbf9e
children 6dba84798cd5
comparison
equal deleted inserted replaced
1434:27b9ddb06b09 1435:f849a5ca2efc
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 /** 12 /**
13 @file ocb_encrypt_authenticate_memory.c 13 @file ocb_encrypt_authenticate_memory.c
14 OCB implementation, encrypt block of memory, by Tom St Denis 14 OCB implementation, encrypt block of memory, by Tom St Denis
15 */ 15 */
16 #include "tomcrypt.h" 16 #include "tomcrypt.h"
17 17
18 #ifdef OCB_MODE 18 #ifdef LTC_OCB_MODE
19 19
20 /** 20 /**
21 Encrypt and generate an authentication code for a buffer of memory 21 Encrypt and generate an authentication code for a buffer of memory
22 @param cipher The index of the cipher desired 22 @param cipher The index of the cipher desired
23 @param key The secret key 23 @param key The secret key
77 return err; 77 return err;
78 } 78 }
79 79
80 #endif 80 #endif
81 81
82 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/ocb/ocb_encrypt_authenticate_memory.c,v $ */ 82 /* $Source$ */
83 /* $Revision: 1.4 $ */ 83 /* $Revision$ */
84 /* $Date: 2006/03/31 14:15:35 $ */ 84 /* $Date$ */