Logo Search packages:      
Sourcecode: libtomcrypt version File versions  Download package

ltc_cipher_descriptor Struct Reference

#include <tomcrypt_cipher.h>

List of all members.

Public Attributes

int(* accel_cbc_decrypt )(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigned char *IV, symmetric_key *skey)
int(* accel_cbc_encrypt )(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, symmetric_key *skey)
int(* accel_ccm_memory )(const unsigned char *key, unsigned long keylen, symmetric_key *uskey, const unsigned char *nonce, unsigned long noncelen, const unsigned char *header, unsigned long headerlen, unsigned char *pt, unsigned long ptlen, unsigned char *ct, unsigned char *tag, unsigned long *taglen, int direction)
int(* accel_ctr_encrypt )(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, int mode, symmetric_key *skey)
int(* accel_ecb_decrypt )(const unsigned char *ct, unsigned char *pt, unsigned long blocks, symmetric_key *skey)
int(* accel_ecb_encrypt )(const unsigned char *pt, unsigned char *ct, unsigned long blocks, symmetric_key *skey)
int(* accel_gcm_memory )(const unsigned char *key, unsigned long keylen, const unsigned char *IV, unsigned long IVlen, const unsigned char *adata, unsigned long adatalen, unsigned char *pt, unsigned long ptlen, unsigned char *ct, unsigned char *tag, unsigned long *taglen, int direction)
int(* accel_lrw_decrypt )(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigned char *IV, const unsigned char *tweak, symmetric_key *skey)
int(* accel_lrw_encrypt )(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, const unsigned char *tweak, symmetric_key *skey)
int block_length
int default_rounds
void(* done )(symmetric_key *skey)
int(* ecb_decrypt )(const unsigned char *ct, unsigned char *pt, symmetric_key *skey)
int(* ecb_encrypt )(const unsigned char *pt, unsigned char *ct, symmetric_key *skey)
int(* f9_memory )(const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen)
unsigned char ID
int(* keysize )(int *keysize)
int max_key_length
int min_key_length
char * name
int(* omac_memory )(const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen)
int(* setup )(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey)
int(* test )(void)
int(* xcbc_memory )(const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen)

Detailed Description

cipher descriptor table, last entry has "name == NULL" to mark the end of table

Definition at line 331 of file tomcrypt_cipher.h.


The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index