summaryrefslogtreecommitdiff
path: root/rsa-sign.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch rsa_compute_root to use side-channel safe variantSimo Sorce2018-11-251-2/+38
|
* Catch bad private keys early on.Simo Sorce2018-11-251-2/+8
|
* Use mpz_powm_sec.Niels Möller2016-06-201-2/+2
|
* Update copyright headers for dual licensing.Niels Möller2014-04-121-23/+31
|
* Updated FSF address. Patch from David Woodhouse.Niels Möller2012-07-071-2/+2
|
* Converted files to utf-8.Niels Möller2012-02-181-1/+1
|
* Reviewed FIXME-comments.Niels Möller2008-09-151-2/+0
| | | | | | | | | | | | | | | | | | | | | Rev: nettle/aes-decrypt-internal.c:1.2 Rev: nettle/aes-encrypt-internal.c:1.2 Rev: nettle/aes-internal.h:1.2 Rev: nettle/arctwo.h:1.2 Rev: nettle/base16-decode.c:1.2 Rev: nettle/base16-encode.c:1.2 Rev: nettle/base16.h:1.2 Rev: nettle/base64.h:1.2 Rev: nettle/bignum-random.c:1.2 Rev: nettle/bignum.c:1.2 Rev: nettle/bignum.h:1.3 Rev: nettle/rsa-sign.c:1.3 Rev: nettle/rsa-verify.c:1.3 Rev: nettle/rsa.c:1.3 Rev: nettle/rsa.h:1.2 Rev: nettle/sexp-transport-format.c:1.2 Rev: nettle/sexp.c:1.2 Rev: nettle/sexp.h:1.2
* Don't use WITH_PUBLIC_KEY / WITH_HOGWEED, then Makefile sorts outNiels Möller2007-05-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which files should be compiled. Rev: nettle/der2rsa.c:1.2 Rev: nettle/dsa-keygen.c:1.2 Rev: nettle/dsa-sign.c:1.2 Rev: nettle/dsa-verify.c:1.2 Rev: nettle/dsa.c:1.2 Rev: nettle/pkcs1-rsa-md5.c:1.2 Rev: nettle/pkcs1-rsa-sha1.c:1.2 Rev: nettle/pkcs1-rsa-sha256.c:1.2 Rev: nettle/pkcs1.c:1.2 Rev: nettle/rsa-compat.c:1.2 Rev: nettle/rsa-decrypt.c:1.2 Rev: nettle/rsa-encrypt.c:1.2 Rev: nettle/rsa-keygen.c:1.2 Rev: nettle/rsa-md5-sign.c:1.2 Rev: nettle/rsa-md5-verify.c:1.2 Rev: nettle/rsa-sha1-sign.c:1.2 Rev: nettle/rsa-sha1-verify.c:1.2 Rev: nettle/rsa-sha256-sign.c:1.2 Rev: nettle/rsa-sha256-verify.c:1.2 Rev: nettle/rsa-sign.c:1.2 Rev: nettle/rsa-verify.c:1.2 Rev: nettle/rsa.c:1.2 Rev: nettle/rsa2openpgp.c:1.2 Rev: nettle/rsa2sexp.c:1.2 Rev: nettle/sexp2dsa.c:1.2 Rev: nettle/sexp2rsa.c:1.2
* * Reordered includes in most or all .c-files. All should now includeNiels Möller2003-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.h. Rev: src/nettle/ChangeLog:1.195 Rev: src/nettle/aes-decrypt-table.c:1.4 Rev: src/nettle/aes-decrypt.c:1.5 Rev: src/nettle/aes-encrypt-table.c:1.4 Rev: src/nettle/aes-encrypt.c:1.5 Rev: src/nettle/aes-meta.c:1.3 Rev: src/nettle/aes-set-decrypt-key.c:1.2 Rev: src/nettle/aes-set-encrypt-key.c:1.2 Rev: src/nettle/aes.c:1.12 Rev: src/nettle/aesdata.c:1.2 Rev: src/nettle/arcfour-meta.c:1.2 Rev: src/nettle/arcfour.c:1.3 Rev: src/nettle/base16-decode.c:1.2 Rev: src/nettle/base16-encode.c:1.2 Rev: src/nettle/base16-meta.c:1.3 Rev: src/nettle/base64-decode.c:1.5 Rev: src/nettle/base64-encode.c:1.3 Rev: src/nettle/base64-meta.c:1.4 Rev: src/nettle/bignum-random.c:1.3 Rev: src/nettle/bignum.c:1.7 Rev: src/nettle/blowfish.c:1.4 Rev: src/nettle/buffer-init.c:1.3 Rev: src/nettle/buffer.c:1.8 Rev: src/nettle/cast128-meta.c:1.3 Rev: src/nettle/cast128.c:1.4 Rev: src/nettle/cbc.c:1.6 Rev: src/nettle/des-compat.c:1.10 Rev: src/nettle/des.c:1.7 Rev: src/nettle/des3.c:1.2 Rev: src/nettle/dsa-keygen.c:1.6 Rev: src/nettle/dsa-sign.c:1.7 Rev: src/nettle/dsa-verify.c:1.4 Rev: src/nettle/dsa.c:1.5 Rev: src/nettle/examples/io.c:1.4 Rev: src/nettle/examples/nettle-benchmark.c:1.8 Rev: src/nettle/examples/nettle-openssl.c:1.2 Rev: src/nettle/examples/rsa-keygen.c:1.10 Rev: src/nettle/examples/rsa-sign.c:1.5 Rev: src/nettle/examples/rsa-verify.c:1.4 Rev: src/nettle/hmac-md5.c:1.5 Rev: src/nettle/hmac-sha1.c:1.2 Rev: src/nettle/hmac-sha256.c:1.2 Rev: src/nettle/hmac.c:1.4 Rev: src/nettle/knuth-lfib.c:1.2 Rev: src/nettle/md5-compat.c:1.3 Rev: src/nettle/md5-meta.c:1.2 Rev: src/nettle/md5.c:1.6 Rev: src/nettle/memxor.c:1.2 Rev: src/nettle/nettle-internal.c:1.3 Rev: src/nettle/pgp-encode.c:1.4 Rev: src/nettle/pkcs1-rsa-md5.c:1.2 Rev: src/nettle/pkcs1-rsa-sha1.c:1.2 Rev: src/nettle/pkcs1.c:1.2 Rev: src/nettle/realloc.c:1.3 Rev: src/nettle/rsa-compat.c:1.8 Rev: src/nettle/rsa-decrypt.c:1.4 Rev: src/nettle/rsa-encrypt.c:1.5 Rev: src/nettle/rsa-keygen.c:1.5 Rev: src/nettle/rsa-md5-sign.c:1.2 Rev: src/nettle/rsa-md5-verify.c:1.2 Rev: src/nettle/rsa-sha1-sign.c:1.2 Rev: src/nettle/rsa-sha1-verify.c:1.2 Rev: src/nettle/rsa-sign.c:1.3 Rev: src/nettle/rsa-verify.c:1.2 Rev: src/nettle/rsa.c:1.12 Rev: src/nettle/rsa2openpgp.c:1.2 Rev: src/nettle/rsa2sexp.c:1.7 Rev: src/nettle/serpent-meta.c:1.2 Rev: src/nettle/serpent.c:1.4 Rev: src/nettle/sexp-format.c:1.9 Rev: src/nettle/sexp-transport-format.c:1.2 Rev: src/nettle/sexp-transport.c:1.4 Rev: src/nettle/sexp.c:1.14 Rev: src/nettle/sexp2bignum.c:1.5 Rev: src/nettle/sexp2dsa.c:1.4 Rev: src/nettle/sexp2rsa.c:1.11 Rev: src/nettle/sha1-meta.c:1.2 Rev: src/nettle/sha1.c:1.8 Rev: src/nettle/sha256-meta.c:1.2 Rev: src/nettle/sha256.c:1.3 Rev: src/nettle/tools/input.c:1.2 Rev: src/nettle/tools/misc.c:1.2 Rev: src/nettle/tools/output.c:1.3 Rev: src/nettle/tools/parse.c:1.2 Rev: src/nettle/tools/sexp-conv.c:1.14 Rev: src/nettle/twofish-meta.c:1.2 Rev: src/nettle/twofish.c:1.6 Rev: src/nettle/yarrow256.c:1.17 Rev: src/nettle/yarrow_key_event.c:1.4
* * rsa-sign.c (rsa_private_key_init, rsa_private_key_clear)Niels Möller2003-01-271-3/+3
| | | | | | | | | | | | (rsa_private_key_prepare): Renamed functions. * rsa.c (rsa_public_key_init, rsa_public_key_clear) (rsa_public_key_prepare): Renamed functions. Rev: src/nettle/NEWS:1.9 Rev: src/nettle/rsa-sign.c:1.2 Rev: src/nettle/rsa.c:1.11 Rev: src/nettle/rsa.h:1.19
* * rsa_md5.c, rsa_sha1.c: Deleted files, contents spread overNiels Möller2003-01-231-0/+142
several files for signing and verification. * rsa-sign.c, rsa-sha1-verify.c, rsa-sha1-sign.c, rsa-md5-verify.c, rsa-md5-sign.c: New files. * rsa-sha1-verify.c (rsa_sha1_verify_digest): New function. * rsa-sha1-sign.c (rsa_sha1_sign_digest): New function. * rsa-md5-verify.c (rsa_md5_verify_digest): New function. * rsa-md5-sign.c (rsa_md5_sign_digest): New function. * rsa-verify.c (_rsa_verify): New file, new function. * rsa.c (_rsa_check_size): Renamed from rsa_check_size, and made non-static. Private key functions moved to rsa-sign.c. Rev: src/nettle/rsa-md5-sign.c:1.1 Rev: src/nettle/rsa-md5-verify.c:1.1 Rev: src/nettle/rsa-sha1-sign.c:1.1 Rev: src/nettle/rsa-sha1-verify.c:1.1 Rev: src/nettle/rsa-sign.c:1.1 Rev: src/nettle/rsa-verify.c:1.1 Rev: src/nettle/rsa.c:1.10 Rev: src/nettle/rsa.h:1.18