sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
des.h
Go to the documentation of this file.
1
35
40
#include "
netif/ppp/ppp_opts.h
"
41
#if LWIP_INCLUDED_POLARSSL_DES
42
43
#ifndef LWIP_INCLUDED_POLARSSL_DES_H
44
#define LWIP_INCLUDED_POLARSSL_DES_H
45
46
#define DES_ENCRYPT 1
47
#define DES_DECRYPT 0
48
52
typedef
struct
53
{
54
int
mode;
55
unsigned
long
sk[32];
56
}
57
des_context;
58
59
#ifdef __cplusplus
60
extern
"C"
{
61
#endif
62
69
void
des_setkey_enc( des_context *ctx,
unsigned
char
key[8] );
70
77
void
des_setkey_dec( des_context *ctx,
unsigned
char
key[8] );
78
86
void
des_crypt_ecb( des_context *ctx,
87
const
unsigned
char
input[8],
88
unsigned
char
output[8] );
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
/* LWIP_INCLUDED_POLARSSL_DES_H */
95
96
#endif
/* LWIP_INCLUDED_POLARSSL_DES */
ppp_opts.h
core
ps2ip
include
lwip_include
netif
ppp
polarssl
des.h
Generated by
1.18.0