ReactOS 0.4.16-dev-1019-g2c2cdfd
des.h
Go to the documentation of this file.
1
36#include "netif/ppp/ppp_opts.h"
37#if LWIP_INCLUDED_POLARSSL_DES
38
39#ifndef LWIP_INCLUDED_POLARSSL_DES_H
40#define LWIP_INCLUDED_POLARSSL_DES_H
41
42#define DES_ENCRYPT 1
43#define DES_DECRYPT 0
44
48typedef struct
49{
50 int mode;
51 unsigned long sk[32];
52}
54
55#ifdef __cplusplus
56extern "C" {
57#endif
58
65void des_setkey_enc( des_context *ctx, unsigned char key[8] );
66
73void des_setkey_dec( des_context *ctx, unsigned char key[8] );
74
83 const unsigned char input[8],
84 unsigned char output[8] );
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif /* LWIP_INCLUDED_POLARSSL_DES_H */
91
92#endif /* LWIP_INCLUDED_POLARSSL_DES */
#define des_context
Definition: compat-1.3.h:1886
#define des_setkey_dec
Definition: compat-1.3.h:1895
#define des_crypt_ecb
Definition: compat-1.3.h:1888
#define des_setkey_enc
Definition: compat-1.3.h:1896
GLenum mode
Definition: glext.h:6217
GLenum GLenum GLenum input
Definition: glext.h:9031
Definition: copy.c:22