ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Functions
crypto.cpp File Reference

Implementation of crypto primitive class. More...

#include "crypto.h"
Include dependency graph for crypto.cpp:

Functions

void gen_rnd_bytes (prf_state_ctx *prf_state, uint8_t *resbuf, uint32_t nbytes)
 
void sha1_hash (uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes, uint8_t *hash_buf)
 
void sha256_hash (uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes, uint8_t *hash_buf)
 
void sha512_hash (uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes, uint8_t *hash_buf)
 
void gen_secure_random (uint8_t *dest, uint32_t nbytes)
 
seclvl get_sec_lvl (uint32_t symsecbits)
 

Detailed Description

Implementation of crypto primitive class.

Author
micha.nosp@m.el.z.nosp@m.ohner.nosp@m.@ec-.nosp@m.sprid.nosp@m.e.de