summaryrefslogtreecommitdiff
path: root/src/common/crypto_digest.c
AgeCommit message (Collapse)Author
2018-06-20Run rectify_include_paths.pyNick Mathewson
2018-06-20Update copyrights to 2018.Nick Mathewson
2018-05-08rust: Add crypto crate and implement Rust wrappers for SHA2 code.Isis Lovecruft
* FIXES #24659: https://bugs.torproject.org/24659
2018-04-06crypto: Refactor (P)RNG functionality into new crypto_rand module.Isis Lovecruft
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658
2018-03-26Merge branch 'bug24658-rm-curve25519-header' into bug24658-mergeNick Mathewson
2018-02-20crypto: Remove crypto_rsa.h from crypto_digest.c.Isis Lovecruft
* ADD include for "crypto_openssl_mgt.h" so that we have OpenSSL defined SHA* types and functions. * FIXES part of #24658: https://bugs.torproject.org/24658#comment:30
2018-02-20crypto: Remove unnecessary curve25519 header from crypto_digest.h.Isis Lovecruft
* ADD includes for "torint.h" and "container.h" to crypto_digest.h. * ADD includes for "crypto_digest.h" to a couple places in which crypto_digest_t was then missing. * FIXES part of #24658: https://bugs.torproject.org/24658#comment:30
2018-02-16Move the pk-digest functions into crypto_rsa.[ch].Fernando Fernandez Mancera
We moved the crypto_pk_* digest functions into crypto_rsa.[ch] because they fit better with the RSA module. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
2018-02-03Add crypto_digest.[ch] to include.amFernando Fernandez Mancera
Included crypto_digest.[ch] into include.am in order to solve a compiling issue. Also EOF line in crypto_digest.c added. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
2018-02-03Add xof functions into crypto_digest.[ch]Fernando Fernandez Mancera
Added xof functions and operations into xof+digest module. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
2018-02-03Refactor crypto.[ch] into smaller xof+digest module.Fernando Fernandez Mancera
Add two new files (crypto_digest.c, crypto_digest.h) as new module of crypto.[ch]. This new module includes all functions and dependencies related to digest and xof operations. Those have been removed from crypto.[ch]. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>