#include <openssl/e_os2.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <math.h>#include <openssl/des.h>Go to the source code of this file.
Macros | |
| #define | ITERATIONS 16 |
| #define | HALF_ITERATIONS 8 |
| #define | MAXWRITE (1024*16) |
| #define | BSIZE (MAXWRITE+4) |
| #define | c2l(c, l) |
| #define | c2ln(c, l1, l2, n) |
| #define | l2c(l, c) |
| #define | HDRSIZE 4 |
| #define | n2l(c, l) |
| #define | l2n(l, c) |
| #define | l2cn(l1, l2, c, n) |
| #define | ROTATE(a, n) (((a)>>(n))+((a)<<(32-(n)))) |
| #define | LOAD_DATA_tmp(a, b, c, d, e, f) LOAD_DATA(a,b,c,d,e,f,g) |
| #define | LOAD_DATA(R, S, u, t, E0, E1, tmp) |
| #define | D_ENCRYPT(LL, R, S) |
| #define | PERM_OP(a, b, t, n, m) |
| #define | IP(l, r) |
| #define | FP(l, r) |
Functions | |
| void | fcrypt_body (DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, DES_LONG Eswap1) |
Variables | |
| const DES_LONG | DES_SPtrans [8][64] |
| #define BSIZE (MAXWRITE+4) |
Definition at line 106 of file des_locl.h.
| #define c2l | ( | c, | |
| l | |||
| ) |
Definition at line 108 of file des_locl.h.
| #define c2ln | ( | c, | |
| l1, | |||
| l2, | |||
| n | |||
| ) |
Definition at line 114 of file des_locl.h.
| #define D_ENCRYPT | ( | LL, | |
| R, | |||
| S | |||
| ) |
Definition at line 348 of file des_locl.h.
| #define FP | ( | l, | |
| r | |||
| ) |
Definition at line 414 of file des_locl.h.
| #define HALF_ITERATIONS 8 |
Definition at line 102 of file des_locl.h.
| #define HDRSIZE 4 |
Definition at line 136 of file des_locl.h.
| #define IP | ( | l, | |
| r | |||
| ) |
Definition at line 404 of file des_locl.h.
| #define ITERATIONS 16 |
Definition at line 101 of file des_locl.h.
| #define l2c | ( | l, | |
| c | |||
| ) |
| #define l2cn | ( | l1, | |
| l2, | |||
| c, | |||
| n | |||
| ) |
Definition at line 149 of file des_locl.h.
| #define l2n | ( | l, | |
| c | |||
| ) |
Definition at line 195 of file des_locl.h.
Definition at line 194 of file des_locl.h.
| #define MAXWRITE (1024*16) |
Definition at line 105 of file des_locl.h.
| #define n2l | ( | c, | |
| l | |||
| ) |
Definition at line 138 of file des_locl.h.
Definition at line 177 of file des_locl.h.
| void fcrypt_body | ( | DES_LONG * | out, |
| DES_key_schedule * | ks, | ||
| DES_LONG | Eswap0, | ||
| DES_LONG | Eswap1 | ||
| ) |
Definition at line 80 of file fcrypt_b.c.
1.8.2