OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
fcrypt_b.c File Reference
#include <stdio.h>
#include "des_locl.h"

Go to the source code of this file.

Macros

#define DES_FCRYPT
 
#define PERM_OP(a, b, t, n, m)
 
#define HPERM_OP(a, t, n, m)
 

Functions

void fcrypt_body (DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, DES_LONG Eswap1)
 

Macro Definition Documentation

#define DES_FCRYPT

Definition at line 67 of file fcrypt_b.c.

#define HPERM_OP (   a,
  t,
  n,
 
)
Value:
((t)=((((a)<<(16-(n)))^(a))&(m)),\
(a)=(a)^(t)^(t>>(16-(n))))\

Definition at line 77 of file fcrypt_b.c.

#define PERM_OP (   a,
  b,
  t,
  n,
 
)
Value:
((t)=((((a)>>(n))^(b))&(m)),\
(b)^=(t),\
(a)^=((t)<<(n)))

Definition at line 72 of file fcrypt_b.c.

Function Documentation

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.