summaryrefslogtreecommitdiffhomepage
path: root/rsa.c
AgeCommit message (Collapse)Author
2017-05-26add m_mp_free_multi, be more careful freeing when failing to load keysMatt Johnston
2017-06-01fix DEBUG_* conditionFrancois Perrad
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-01-01more hard tabFrancois Perrad
2015-12-31refactor indentation with hard tabFrancois Perrad
2015-06-04buf_getstring and buf_putstring now use non-unsigned char*Matt Johnston
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaƫl PORTAY
2014-02-24Make some debug info conditionalMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h
2013-05-25have separate ecdsa keys for each sizeMatt Johnston
fix crash from the mp_alloc_init_multi change in RSA --HG-- branch : ecc
2013-05-23Add m_mp_alloc_init_multi() helperMatt Johnston
--HG-- branch : ecc
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-04-06Make _sign and _verify functions take a buffer* rather than void* and intMatt Johnston
--HG-- branch : ecc
2013-04-01Move the more verbose TRACE() statements into TRACE2()Matt Johnston
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2010-07-21Rename rsa_key to dropbear_rsa_key (and same for dss too) soMatt Johnston
we don't conflict with libtomcrypt. --HG-- extra : convert_revision : 77961344ec415d73d48fdc7b1ebead3099c13394
2006-12-06merge of '182c2d8dbd5321ef4d1df8758936f4dc7127015f'Matt Johnston
and '31dcd7a22983ef19d6c63248e415e71d292dd0ec' --HG-- extra : convert_revision : e84f66826c7ee6ebe99ef92cc0f6c22ecf638d01
2006-11-02Make sure that we clean up key parts if we fail during reading a rsa keyMatt Johnston
(from Klocwork) --HG-- extra : convert_revision : fbcb5f84b48c3c2f04bba5516abbf101aec49a14
2006-07-07Fixes from Erik Hovland:Matt Johnston
cli-authpubkey.c: fix leak of keybuf cli-kex.c: fix leak of fingerprint fp cli-service.c: remove commented out code dropbearkey.c: don't attepmt to free NULL key on failure common-kex.c: only free key if it is initialised keyimport.c: remove dead encrypted-key code don't leak a FILE* loading OpenSSH keys rsa.c, dss.c: check return values for some libtommath functions svr-kex.c: check return value retrieving DH kex mpint svr-tcpfwd.c: fix null-dereference if remote tcp forward request fails tcp-accept.c: don't incorrectly free the tcpinfo var --HG-- extra : convert_revision : 640a55bc710cbaa6d212453c750026c770e19193
2006-03-08Stomp on some minor warningsMatt Johnston
--HG-- extra : convert_revision : 4cbdd6e0a0d8c061075b9ed7609a06c4547f67d3
2005-09-05* use own assertions which should get logged properlyMatt Johnston
--HG-- extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
2005-07-08* move RSA_BLINDING to options.hMatt Johnston
--HG-- extra : convert_revision : e3f32a86aafc1d806b2bee9405020368f9706d85
2005-05-10* add a "label" argument to printhex()Matt Johnston
* make some vars static in random.c --HG-- extra : convert_revision : ef941a918e42e8af23b132946f44e6836a327e71
2005-05-05- refactored random mp_int generation and byte->mp_int codeMatt Johnston
- added RSA blinding --HG-- extra : convert_revision : 5d5b4657a24a1c8f53c6fc45d5ec29ddb85fb45a
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2004-08-17default initialisers for mp_intsMatt Johnston
--HG-- extra : convert_revision : af69bacb50a31523e383e8f73844d04681f9e394
2004-08-12Merging in the changes from 0.41-0.43 main Dropbear treeMatt Johnston
--HG-- extra : convert_revision : 4c3428781bc8faf0fd7cadd7099fbd7f4ea386e7
2004-07-28Client mostly works up to password authMatt Johnston
Need to rework algo-choosing etc, since server is now broken. --HG-- extra : convert_revision : 458dc4eed0e885e7c91633d4781d3348213a0e19
2004-06-01Makefile.in contains updated files requiredMatt Johnston
--HG-- extra : convert_revision : cc8a8c49dc70e632c352853a39801089b08149be