Mercurial > dropbear
comparison libtomcrypt/src/encauth/ocb/ocb_done_encrypt.c @ 1478:3a933956437e coverity
update coverity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 23:49:22 +0800 |
parents | 6dba84798cd5 |
children |
comparison
equal
deleted
inserted
replaced
1439:8d24733026c5 | 1478:3a933956437e |
---|---|
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 | 9 |
12 /** | 10 /** |
13 @file ocb_done_encrypt.c | 11 @file ocb_done_encrypt.c |
14 OCB implementation, terminate encryption, by Tom St Denis | 12 OCB implementation, terminate encryption, by Tom St Denis |
15 */ | 13 */ |
16 #include "tomcrypt.h" | 14 #include "tomcrypt.h" |
17 | 15 |
18 #ifdef LTC_OCB_MODE | 16 #ifdef LTC_OCB_MODE |
19 | 17 |
20 /** | 18 /** |
21 Terminate an encryption OCB state | 19 Terminate an encryption OCB state |
22 @param ocb The OCB state | 20 @param ocb The OCB state |
23 @param pt Remaining plaintext (if any) | 21 @param pt Remaining plaintext (if any) |
24 @param ptlen The length of the plaintext (octets) | 22 @param ptlen The length of the plaintext (octets) |
25 @param ct [out] The ciphertext (if any) | 23 @param ct [out] The ciphertext (if any) |
39 } | 37 } |
40 | 38 |
41 #endif | 39 #endif |
42 | 40 |
43 | 41 |
44 /* $Source$ */ | 42 /* ref: $Format:%D$ */ |
45 /* $Revision$ */ | 43 /* git commit: $Format:%H$ */ |
46 /* $Date$ */ | 44 /* commit time: $Format:%ai$ */ |