ReactOS 0.4.16-dev-822-gbcedb53
|
#include <rpc/rpc.h>
Go to the source code of this file.
Macros | |
#define | DES_MAXDATA 8192 /* max bytes encrypted in one call */ |
#define | DES_DIRMASK (1 << 0) |
#define | DES_ENCRYPT (0*DES_DIRMASK) /* Encrypt */ |
#define | DES_DECRYPT (1*DES_DIRMASK) /* Decrypt */ |
#define | DES_DEVMASK (1 << 1) |
#define | DES_HW (0*DES_DEVMASK) /* Use hardware device */ |
#define | DES_SW (1*DES_DEVMASK) /* Use software device */ |
#define | DESERR_NONE 0 /* succeeded */ |
#define | DESERR_NOHWDEVICE 1 /* succeeded, but hw device not available */ |
#define | DESERR_HWERROR 2 /* failed, hardware/driver error */ |
#define | DESERR_BADPARAM 3 /* failed, bad parameter to call */ |
#define | DES_FAILED(err) ((err) > DESERR_NOHWDEVICE) |
Functions | |
__BEGIN_DECLS int | cbc_crypt (char *, char *, unsigned int, unsigned int, char *) |
__END_DECLS __BEGIN_DECLS int | ecb_crypt (char *, char *, unsigned int, unsigned int) |
__END_DECLS __BEGIN_DECLS void | des_setparity (char *) |
#define DES_DECRYPT (1*DES_DIRMASK) /* Decrypt */ |
Definition at line 52 of file des_crypt.h.
#define DES_DEVMASK (1 << 1) |
Definition at line 55 of file des_crypt.h.
#define DES_DIRMASK (1 << 0) |
Definition at line 50 of file des_crypt.h.
#define DES_ENCRYPT (0*DES_DIRMASK) /* Encrypt */ |
Definition at line 51 of file des_crypt.h.
#define DES_FAILED | ( | err | ) | ((err) > DESERR_NOHWDEVICE) |
Definition at line 65 of file des_crypt.h.
#define DES_HW (0*DES_DEVMASK) /* Use hardware device */ |
Definition at line 56 of file des_crypt.h.
Definition at line 49 of file des_crypt.h.
#define DES_SW (1*DES_DEVMASK) /* Use software device */ |
Definition at line 57 of file des_crypt.h.
#define DESERR_BADPARAM 3 /* failed, bad parameter to call */ |
Definition at line 63 of file des_crypt.h.
Definition at line 62 of file des_crypt.h.
Definition at line 61 of file des_crypt.h.
#define DESERR_NONE 0 /* succeeded */ |
Definition at line 60 of file des_crypt.h.
__END_DECLS __BEGIN_DECLS void des_setparity | ( | char * | p | ) |
Definition at line 56 of file des_soft.c.
__END_DECLS __BEGIN_DECLS int ecb_crypt | ( | char * | , |
char * | , | ||
unsigned int | , | ||
unsigned int | |||
) |