gwenhywfar
4.8.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
crypt3
smalltresor.h
Go to the documentation of this file.
1
/***************************************************************************
2
begin : Wed May 11 2010
3
copyright : (C) 2010 by Martin Preuss
4
email : martin@libchipcard.de
5
6
***************************************************************************
7
* Please see toplevel file COPYING for license details *
8
***************************************************************************/
9
10
11
#ifndef GWEN_SMALLTRESOR_H
12
#define GWEN_SMALLTRESOR_H
13
14
15
#include <gwenhywfar/gwenhywfarapi.h>
16
#include <gwenhywfar/buffer.h>
17
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
29
GWENHYWFAR_API
30
int
GWEN_SmallTresor_Encrypt
(
const
uint8_t *src,
31
uint32_t slen,
32
const
char
*password,
33
GWEN_BUFFER
*dst,
34
int
passwordIterations,
35
int
cryptIterations);
36
37
38
GWENHYWFAR_API
39
int
GWEN_SmallTresor_Decrypt
(
const
uint8_t *p,
40
uint32_t len,
41
const
char
*password,
42
GWEN_BUFFER
*dst,
43
int
passwordIterations,
44
int
cryptIterations);
45
46
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
53
#endif
54
Generated on Tue Nov 12 2013 10:50:21 for gwenhywfar by
1.8.1.2