Mercurial > dropbear
comparison libtomcrypt/src/modes/xts/xts_done.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 | |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
1434:27b9ddb06b09 | 1435:f849a5ca2efc |
---|---|
1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis | |
2 * | |
3 * LibTomCrypt is a library that provides various cryptographic | |
4 * algorithms in a highly modular and flexible manner. | |
5 * | |
6 * The library is free for all purposes without any express | |
7 * guarantee it works. | |
8 * | |
9 * Tom St Denis, [email protected], http://libtom.org | |
10 */ | |
11 #include "tomcrypt.h" | |
12 | |
13 /** | |
14 Source donated by Elliptic Semiconductor Inc (www.ellipticsemi.com) to the LibTom Projects | |
15 */ | |
16 | |
17 #ifdef LTC_XTS_MODE | |
18 | |
19 /** Terminate XTS state | |
20 @param XTS The state to terminate | |
21 */ | |
22 void xts_done(symmetric_xts *xts) | |
23 { | |
24 LTC_ARGCHKVD(xts != NULL); | |
25 cipher_descriptor[xts->cipher].done(&xts->key1); | |
26 cipher_descriptor[xts->cipher].done(&xts->key2); | |
27 } | |
28 | |
29 #endif | |
30 | |
31 /* $Source$ */ | |
32 /* $Revision$ */ | |
33 /* $Date$ */ | |
34 |