view crypto_desc.h @ 911:367205a2c1c4 asm

Include license information for Cryptogams routines
author Matt Johnston <matt@ucc.asn.au>
date Thu, 27 Feb 2014 22:30:56 +0800
parents 89555751c489
children
line wrap: on
line source

#ifndef _CRYPTO_DESC_H
#define _CRYPTO_DESC_H

#include "includes.h"

void crypto_init();

extern int dropbear_ltc_prng;

#ifdef DROPBEAR_AES_ASM
extern const struct ltc_cipher_descriptor aes_asm_desc;
#define DROPBEAR_AES_DESC (aes_asm_desc)
#else
#define DROPBEAR_AES_DESC (aes_desc)
#endif

#ifdef DROPBEAR_SHA1_ASM
extern const struct ltc_hash_descriptor sha1_asm_desc;
#define DROPBEAR_SHA1_DESC (sha1_asm_desc)
#else
#define DROPBEAR_SHA1_DESC (sha1_desc)
#endif




#endif /* _CRYPTO_DESC_H */