SASC
DVBSoftCAM

crypto.h File Reference

#include <openssl/opensslconf.h>
#include <openssl/opensslv.h>
#include "crypto-bn.h"
#include "support/aes.h"
#include "support/idea.h"

Go to the source code of this file.

Classes

class  cDes
class  cAES
class  cIDEA
class  cRSA
class  cRC6

Defines

#define OPENSSL_ALGORITHM_DEFINES
#define DES_LEFT   0
#define DES_RIGHT   1
#define DES_HASH   8
#define DES_PC1   16
#define DES_IP   32
#define DES_FP   64
#define DES_MOD   128
#define PRV_DES_ENCRYPT   (DES_LEFT|DES_PC1|DES_IP|DES_FP)
#define PRV_DES_DECRYPT   (DES_RIGHT|DES_PC1|DES_IP|DES_FP)
#define VIA_DES   (DES_LEFT|DES_MOD)
#define VIA_DES_HASH   (DES_LEFT|DES_HASH|DES_MOD)
#define SECA_DES_ENCR   PRV_DES_ENCRYPT
#define SECA_DES_DECR   PRV_DES_DECRYPT
#define NAGRA_DES_ENCR   PRV_DES_ENCRYPT
#define NAGRA_DES_DECR   PRV_DES_DECRYPT
#define RC6_ROUNDS   20
#define RC6_MAX   (RC6_ROUNDS*2+4)

Typedefs

typedef IDEA_KEY_SCHEDULE IdeaKS

Define Documentation

#define DES_FP   64

Definition at line 49 of file crypto.h.

#define DES_HASH   8

Definition at line 46 of file crypto.h.

#define DES_IP   32

Definition at line 48 of file crypto.h.

#define DES_LEFT   0

Definition at line 43 of file crypto.h.

#define DES_MOD   128

Definition at line 50 of file crypto.h.

#define DES_PC1   16

Definition at line 47 of file crypto.h.

#define DES_RIGHT   1

Definition at line 44 of file crypto.h.

#define NAGRA_DES_DECR   PRV_DES_DECRYPT

Definition at line 62 of file crypto.h.

#define NAGRA_DES_ENCR   PRV_DES_ENCRYPT

Definition at line 61 of file crypto.h.

#define OPENSSL_ALGORITHM_DEFINES

Definition at line 31 of file crypto.h.

#define PRV_DES_DECRYPT   (DES_RIGHT|DES_PC1|DES_IP|DES_FP)

Definition at line 55 of file crypto.h.

#define PRV_DES_ENCRYPT   (DES_LEFT|DES_PC1|DES_IP|DES_FP)

Definition at line 54 of file crypto.h.

#define RC6_MAX   (RC6_ROUNDS*2+4)

Definition at line 141 of file crypto.h.

#define RC6_ROUNDS   20

Definition at line 140 of file crypto.h.

#define SECA_DES_DECR   PRV_DES_DECRYPT

Definition at line 60 of file crypto.h.

#define SECA_DES_ENCR   PRV_DES_ENCRYPT

Definition at line 59 of file crypto.h.

#define VIA_DES   (DES_LEFT|DES_MOD)

Definition at line 57 of file crypto.h.

#define VIA_DES_HASH   (DES_LEFT|DES_HASH|DES_MOD)

Definition at line 58 of file crypto.h.


Typedef Documentation

Definition at line 110 of file crypto.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines