summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/mac.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* upcast another size_t to u_long to match formatdtucker2008-06-131-2/+2
|
* Add a new MAC algorithm for data integrity, UMAC-64 (not default yet, mustpvalchev2007-06-071-27/+80
| | | | | | | | | | specify umac-64@openssh.com). Provides about 20% end-to-end speedup compared to hmac-md5. Represents a different approach to message authentication to that of HMAC that may be beneficial if HMAC based on one of its underlying hash algorithms is found to be vulnerable to a new attack. http://www.ietf.org/rfc/rfc4418.txt in conjunction with and OK djm@
* Preserve MAC ctx between packets, saving 2xhash calls per-packet.djm2007-06-051-13/+23
| | | | | | | Yields around a 12-16% end-to-end speedup for arcfour256/hmac-md5 patch from markus@ tested dtucker@ and myself, ok markus@ and me (I'm committing at his request)
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-2/+5
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* move #include <string.h> out of includes.hstevesk2006-07-221-1/+3
|
* replace {GET,PUT}_XXBIT macros with functionally similar functions,djm2006-03-301-3/+3
| | | | | | silencing a heap of lint warnings. also allows them to use __bounded__ checking which can't be applied to macros; requested by and feedback from deraadt@
* Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatdjm2006-03-251-0/+1
| | | | Theo nuked - our scripts to sync -portable need them in the files
* RCSID() can diederaadt2006-03-191-1/+0
|
* make this -Wsign-compare clean; ok avsm@ markus@djm2005-06-171-4/+7
|
* A few signedness fixes for harmless situations; markus@ okmiod2003-09-181-2/+2
|
* fix warnings (openssl 0.9.7 requires const)markus2002-05-161-2/+2
|
* use EVP_MD_size(evp_md) and not evp_md->md_size; ok steveks@markus2002-01-251-2/+2
|
* basic KNF done while i was looking for something elsederaadt2001-12-191-2/+2
|
* fix whitespace: unexpand + trailing spaces.markus2001-04-051-2/+2
|
* 1) clean up the MAC support for SSH-2markus2001-02-111-0/+114
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@