Implementation of crypto primitive class.
More...
|
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) |
|
Implementation of crypto primitive class.
- Author
- micha.nosp@m.el.z.nosp@m.ohner.nosp@m.@ec-.nosp@m.sprid.nosp@m.e.de
- Copyright
- ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation Copyright (C) 2015 Engineering Cryptographic Protocols Group, TU Darmstadt This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.