summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/hmac.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* change explicit_bzero();free() to freezero()jsg2020-02-261-3/+2
| | | | | | | | While freezero() returns early if the pointer is NULL the tests for NULL in callers are left to avoid warnings about passing an uninitialised size argument across a function boundry. ok deraadt@ djm@
* lots of things were relying on libcrypto headers to transitivelydjm2019-09-061-1/+2
| | | | | include various system headers (mostly stdlib.h); include them explicitly
* correct fmt-string for size_t as noted by Nicholas Lemonias; ok djm@markus2015-03-241-2/+2
|
* switch to sshbufmarkus2015-01-151-3/+3
|
* replace most bzero with explicit_bzero, except a few that cna be memsettedu2014-01-311-4/+4
| | | | ok djm dtucker
* replace openssl HMAC with an implementation based on our ssh_digest_*markus2014-01-271-0/+195
| | | | ok and feedback djm@
* 1) clean up the MAC support for SSH-2markus2001-02-111-56/+0
| | | | | | | 2) allow you to specify the MAC with 'ssh -m' 3) or the 'MACs' keyword in ssh(d)_config 4) add hmac-{md5,sha1}-96 ok stevesk@, provos@
* sync with netbsd tree changes.itojun2001-02-081-1/+3
| | | | | | - more strict prototypes, include necessary headers - use paths.h/pathnames.h decls - size_t typecase to int -> u_long
* split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.markus2001-01-211-2/+2
| | | | rename util.[ch] -> misc.[ch]
* replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'markus2000-12-191-7/+7
| | | | with u_char.
* cleanup copyright notices on all files. I have attempted to be accurate withderaadt2000-09-071-6/+1
| | | | | | | the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
* OpenBSD tagmarkus2000-06-201-1/+1
|
* #include <ssl/foo.h> -> <openssh/foo.h>markus2000-04-121-2/+2
|
* DSA, keyexchange, algorithm agreement for ssh2markus2000-04-031-0/+59