ABY Framework
1.0
Arithmetic Bool Yao Framework
|
Public Member Functions | |
crypto (uint32_t symsecbits, uint8_t *seed) | |
crypto (uint32_t symsecbits) | |
void | gen_rnd (uint8_t *resbuf, uint32_t numbytes) |
void | gen_rnd_uniform (uint8_t *resbuf, uint64_t mod) |
void | gen_rnd_perm (uint32_t *perm, uint32_t neles) |
void | encrypt (uint8_t *resbuf, uint8_t *inbuf, uint32_t ninbytes) |
void | decrypt (uint8_t *resbuf, uint8_t *inbuf, uint32_t ninbytes) |
void | hash (uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes) |
void | hash_ctr (uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes, uint32_t ctr) |
void | fixed_key_aes_hash (AES_KEY_CTX *aes_key, uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes) |
void | fixed_key_aes_hash_ctr (uint8_t *resbuf, uint32_t noutbytes, uint8_t *inbuf, uint32_t ninbytes) |
void | seed_aes_hash (uint8_t *seed, bc_mode mode=ECB, const uint8_t *iv=ZERO_IV) |
void | seed_aes_enc (uint8_t *seed, bc_mode mode=ECB, const uint8_t *iv=ZERO_IV) |
void | init_aes_key (AES_KEY_CTX *aes_key, uint8_t *seed, bc_mode mode=ECB, const uint8_t *iv=ZERO_IV) |
void | init_aes_key (AES_KEY_CTX *aes_key, uint32_t symbits, uint8_t *seed, bc_mode mode=ECB, const uint8_t *iv=ZERO_IV) |
uint32_t | get_aes_key_bytes () |
void | encrypt (AES_KEY_CTX *enc_key, uint8_t *resbuf, uint8_t *inbuf, uint32_t ninbytes) |
void | decrypt (AES_KEY_CTX *dec_key, uint8_t *resbuf, uint8_t *inbuf, uint32_t ninbytes) |
pk_crypto * | gen_field (field_type ftype) |
seclvl | get_seclvl () |
uint32_t | get_hash_bytes () |
void | gen_common_seed (prf_state_ctx *aes_key, CSocket &sock) |
void | init_prf_state (prf_state_ctx *prf_state, uint8_t *seed) |
void | free_prf_state (prf_state_ctx *prf_state) |