VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format/Format.vcxproj.user
blob: ace9a86acb77340247c6d79e985eca55840261de (plain)
1
2
3
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>
.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef SMALL_CAMELLIA_H
#define SMALL_CAMELLIA_H

#include "Common/Tcdefs.h"

#ifdef __cplusplus
extern "C" {
#endif

#define CAMELLIA_KS		34 * 8 * 2

/* userKey is always 32-bytes long */
/* size of ks is 34 */
void camellia_set_key(const unsigned __int8 userKey[], unsigned __int8 *ks);
void camellia_encrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks);
void camellia_decrypt(const unsigned __int8 *inBlock,  unsigned __int8 *outBlock, unsigned __int8 *ks);

#ifdef __cplusplus
}
#endif


#endif /* camellia.h */