#include <wintirpc.h>
#include <sys/types.h>
#include <rpc/types.h>
#include <rpc/des_crypt.h>
#include <rpc/des.h>
Go to the source code of this file.
|
static int | common_crypt (char *, char *, unsigned, unsigned, struct desparams *) |
|
int | _des_crypt_call (char *, int, struct desparams *) |
|
int | cbc_crypt (char *key, char *buf, unsigned len, unsigned mode, char *ivec) |
|
int | ecb_crypt (char *key, char *buf, unsigned len, unsigned mode) |
|
◆ COPY8
Value: { \
char *
a = (
char *)
dst; \
char *
b = (
char *)
src; \
*
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; \
*
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; \
}
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
Definition at line 51 of file des_crypt.c.
◆ DESCOPY
Value: { \
char *
a = (
char *)
dst; \
char *
b = (
char *)
src; \
for (
i = (
int)
len;
i > 0;
i -= 8) { \
*
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; \
*
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; *
a++ = *
b++; \
} \
}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition at line 61 of file des_crypt.c.
◆ _des_crypt_call()
Definition at line 46 of file crypt_client.c.
50{
55 void *localhandle;
57
63 break;
64 }
66
68 }
73 }
75
82
87 }
88
90
95 }
96
99
101}
int strcmp(const char *String1, const char *String2)
#define clnt_freeres(rh, xres, resp)
CLIENT * clnt_tp_create(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, const struct netconfig *nconf)
#define DESERR_NOHWDEVICE
int endnetconfig(void *handlep)
struct netconfig * getnetconfig(void *handlep)
GLenum GLuint GLenum GLsizei const GLchar * buf
struct desargs::@205 desbuf
struct desresp::@206 desbuf
bool_t(* xdrproc_t)(XDR *,...)
Referenced by common_crypt().
◆ cbc_crypt()
Definition at line 75 of file des_crypt.c.
81{
84
85#ifdef BROKEN_DES
88#else
90#endif
91 COPY8(ivec, dp.des_ivec);
93 COPY8(dp.des_ivec, ivec);
95}
static int common_crypt(char *, char *, unsigned, unsigned, struct desparams *)
union desparams::@193 UDES
Referenced by _svcauth_des(), and authdes_marshal().
◆ common_crypt()
Definition at line 125 of file des_crypt.c.
131{
132 int desdev;
133
136 }
139
142
143
144
148 }
149 } else {
152 }
153 }
155}
int(* __des_crypt_LOCAL)()=0
int _des_crypt_call(char *, int, struct desparams *)
Referenced by cbc_crypt(), and ecb_crypt().
◆ ecb_crypt()
◆ __des_crypt_LOCAL
int(* __des_crypt_LOCAL) ()=0 |
( |
| ) |
|