Path: blob/master/libs/tomcrypt/src/modes/xts/xts_done.c
5972 views
/* LibTomCrypt, modular cryptographic library -- Tom St Denis1*2* LibTomCrypt is a library that provides various cryptographic3* algorithms in a highly modular and flexible manner.4*5* The library is free for all purposes without any express6* guarantee it works.7*/8#include "tomcrypt.h"910/**11Source donated by Elliptic Semiconductor Inc (www.ellipticsemi.com) to the LibTom Projects12*/1314#ifdef LTC_XTS_MODE1516/** Terminate XTS state17@param xts The state to terminate18*/19void xts_done(symmetric_xts *xts)20{21LTC_ARGCHKVD(xts != NULL);22cipher_descriptor[xts->cipher].done(&xts->key1);23cipher_descriptor[xts->cipher].done(&xts->key2);24}2526#endif272829