OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
c_skey.c File Reference
#include <openssl/crypto.h>
#include <openssl/cast.h>
#include "cast_lcl.h"
#include "cast_s.h"

Go to the source code of this file.

Macros

#define CAST_exp(l, A, a, n)
 
#define S4   CAST_S_table4
 
#define S5   CAST_S_table5
 
#define S6   CAST_S_table6
 
#define S7   CAST_S_table7
 

Functions

void CAST_set_key (CAST_KEY *key, int len, const unsigned char *data)
 

Macro Definition Documentation

#define CAST_exp (   l,
  A,
  a,
 
)
Value:
A[n/4]=l; \
a[n+3]=(l )&0xff; \
a[n+2]=(l>> 8)&0xff; \
a[n+1]=(l>>16)&0xff; \
a[n+0]=(l>>24)&0xff;

Definition at line 64 of file c_skey.c.

#define S4   CAST_S_table4

Definition at line 71 of file c_skey.c.

#define S5   CAST_S_table5

Definition at line 72 of file c_skey.c.

#define S6   CAST_S_table6

Definition at line 73 of file c_skey.c.

#define S7   CAST_S_table7

Definition at line 74 of file c_skey.c.

Function Documentation

void CAST_set_key ( CAST_KEY key,
int  len,
const unsigned char *  data 
)

Definition at line 75 of file c_skey.c.