summaryrefslogtreecommitdiffhomepage
path: root/dss.c
AgeCommit message (Collapse)Author
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2017-06-24test dss key parameter lengths exactlyMatt Johnston
2017-06-16check p and q lengthsMatt Johnston
2017-06-15fix missing arglist NULL terminatorMatt Johnston
2017-06-14improve value range validationMatt Johnston
2017-05-26add m_mp_free_multi, be more careful freeing when failing to load keysMatt Johnston
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
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
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-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
2013-02-24fix typoMatt Johnston
2013-02-23DSS_PROTOK is not necessary now that private keys are includedMatt Johnston
in the random generation input
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-02Free x component of DSS key upon failure to loadMatt Johnston
(found by Klocwork) --HG-- extra : convert_revision : 8dd57944c592d5d74680657e437fca8803680bd0
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
2005-09-05* use own assertions which should get logged properlyMatt Johnston
--HG-- extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
2005-05-05- refactored random mp_int generation and byte->mp_int codeMatt Johnston
- added RSA blinding --HG-- extra : convert_revision : 5d5b4657a24a1c8f53c6fc45d5ec29ddb85fb45a
2005-05-04Fix memory leak (reported by Boris Berezovsky)Matt Johnston
--HG-- extra : convert_revision : 22fe832906de79fb9c641451acce4551bbce9a0c
2005-03-13* fix longstanding bug with connections being closed on failure toMatt Johnston
connect to auth socket (server) * differentiate between get_byte and get_bool * get rid of some // comments * general tidying --HG-- extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
2005-01-02Fixed DEBUG_TRACE macro so that we don't get semicolons left about the placeMatt Johnston
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2004-12-20Cleaning out various dead wood found with -dead_stripMatt Johnston
bignum.c: mptobytes now resides in dss.c loginrec.c: remove lastlog code since it isn't used. dbutil.c: removed obselete usingsyslog variable channel.h: client channel type only defined for client compile common-algo.c: s/rijndael/aes/ --HG-- extra : convert_revision : 411ea4e70506ecb0202376f94bcf2d330603d042
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