summaryrefslogtreecommitdiff
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | If on an i386, detect existance of the VIA C3 xcrypt-* using sysctl ofderaadt2004-02-032-8/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the machdep.xcrypt node. If they exist, use the xcrypt-cbc instruction to accelerate aes-{128,192,256}-cbc, for more than 100x performance increase. This code has no effect on any cpu... Tested thus far using openssl speed command, and of course, ssh. 778MB/sec AES-128-CBC performance at 8192 byte block size.
* | | | 'F'reeguard doc, as reported missing by brad. nit free thanks to jmctedu2004-02-021-1/+8
| | | |
* | | | Add const type qualifier. ok jmc@nordin2004-02-012-4/+4
| | | |
* | | | s/arm32/arm/ with VFP bit to match netbsd.drahn2004-02-011-3/+3
| | | |
* | | | cleanup byte order detection per arch a bit; mickey okderaadt2004-01-291-14/+4
| | | |
* | | | the rest of the libs stuff; from art@ againmickey2004-01-283-2/+363
| | | |
* | | | use new .St macro;jmc2004-01-253-5/+5
| | | |
* | | | `Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))jmc2004-01-235-10/+10
| | | | | | | | | | | | | | | | discussed with todd@
* | | | Use correct cvs id string.hshoexer2004-01-236-6/+6
| | | | | | | | | | | | | | | | ok deraadt@
* | | | remove junk return at endderaadt2004-01-232-4/+0
| | | |
* | | | enable acss.hshoexer2004-01-235-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ok @deraadt @markus Also bump minor version. ok @deraadt
* | | | evp api and manual page for acsshshoexer2004-01-233-0/+236
| | | | | | | | | | | | | | | | ok deraadt@ markus@
* | | | Add acss to libcrypto.hshoexer2004-01-236-0/+614
| | | | | | | | | | | | | | | | ok deraadt@ markus@
* | | | Call _exit() not exit() from abort() if we are unable to kill ourselvesmillert2004-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | to avoid flushing stdio twice. This code path should never really happen though. Also make the function declaration ANSI. OK deraadt@
* | | | Fix the example code. The loop invariant 'i' was not bound by MAXTOKENSmillert2004-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | which could result in writing a NUL byte outside of tokens[]. A fix, from Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block.
* | | | Fix printf format string. ok markus@otto2004-01-141-1/+1
| | | |
* | | | - Rename index to longindex and explain its use.fgsch2004-01-061-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Talk about zeroing the last element of the longopts array. - Remove '?' from the switch and some KNF to the code. - Change 0's to NULL where appropriate. jmc@ ok.
* | | | sync protos with <netdb.h>;jmc2003-12-301-3/+3
| | | | | | | | | | | | | | | | from Andrey Matveev;
* | | | niels kindly dropped clause 3/4 from the license. tnx!itojun2003-12-121-6/+1
| | | |
* | | | we can skip arc4random() call here. markusitojun2003-12-121-2/+2
| | | |
* | | | correct non-repetitive ID code, based on comments from niels provos.itojun2003-12-101-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | - seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000)
* | | | Discard first 256 bytes of keystream, as per recommendation indjm2003-11-261-1/+10
| | | | | | | | | | | | | | | | | | | | "Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and Shamir. ok itojun@
* | | | wording improvements from Brian Poole;jmc2003-11-251-5/+4
| | | | | | | | | | | | | | | | kill a .Pp before a display;
* | | | Break up the colon-separated path to -I into two -I args so the treemillert2003-11-191-2/+2
| | | | | | | | | | | | | | | | can build with perl 5.8.2. Ok markus@
* | | | only whine about recursion once, so we don't get into problems with loops.tedu2003-11-191-19/+26
| | | |
* | | | use bn_asm_vax.S (from netbsd); test + ok by miodmarkus2003-11-1818-25/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use asm code for i386, except for the CBC code, because it is not clean PIC code. add <machime/asm.h> support to x86unix.pl tested by: nick (on 30386), henning, djm, tedu, jmc and more; no shlib minor crank necessary, only internal symbols changed.
* | | | remove obsolete filesmarkus2003-11-1310-6089/+0
| | | |
* | | | crank minor for ERR_release_err_state_tablemarkus2003-11-111-1/+1
| | | |
* | | | merge 0.9.7c; minor bugsfixes;markus2003-11-11132-435/+1127
| | | | | | | | | | | | | | | | | | | | API addition: ERR_release_err_state_table [make includes before you build libssl/libcrypto]
* | | | This commit was generated by cvs2git to track changes on a CVS vendormarkus2003-11-116-4/+1240
|\ \ \ \ | | |/ / | |/| | branch.
| * | | import 0.9.7cmarkus2003-11-11102-280/+1976
| | | |
* | | | don't destroy old pointer if realloc fails; from Daniel Lucq; ok deraadt@markus2003-10-252-6/+14
| | | |
* | | | by popular demand, malloc guard pages. insert an unreadable/unwriteabletedu2003-10-162-5/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | page after each page size allocation to detect overrun. this is somewhat electric fence like, while attempting to be mostly usable in production. also, use tdeval's chunk randomization code. enabled with the G option. ok deraadt and co.
* | | | abort on errors by default. workaround so running out of memory isn'ttedu2003-10-151-3/+3
| | | | | | | | | | | | | | | | | | | | actually an error, A still applies full effect. suggested by phk. ok deraadt@ tdeval@
* | | | ANSIfication; most from Patrick Latifimillert2003-10-061-72/+39
| | | | | | | | | | | | | | | | OK deraadt@
* | | | Fix off-by-one, patch from Patrick Latifi; closes PR 3492millert2003-10-031-5/+5
| | | |
* | | | two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.tedu2003-10-021-4/+7
| | | | | | | | | | | | | | | | | | | | lock before setting malloc_func, not after. ok cloder@ deraadt@
* | | | updates and corrections to the references in SEE ALSO;jmc2003-10-011-7/+11
| | | | | | | | | | | | | | | | mostly from tjr@freebsd's rev. 1.14 commit.
* | | | Correct some off-by-ones. They currently don't matter, but thiscloder2003-10-012-6/+6
| | | | | | | | | | | | | | | | | | | | is for future safety and consistency. OK krw@, markus@
* | | | more fixes from 0.9.7c, ok deraadt, clodermarkus2003-09-304-8/+22
| | | |
* | | | security fix from http://www.openssl.org/news/secadv_20030930.txtmarkus2003-09-306-4/+22
| | | | | | | | | | | | | | | | see also http://cvs.openssl.org/chngview?cn=11471
* | | | full stop. reverse course. remove all periods, so as to be alignedtedu2003-09-301-40/+40
| | | | | | | | | | | | | | | | with error messages elsewhere. requested ok deraadt@ henning@
* | | | Revert BN_cmp() change. Its arguments are const. Spotted by miod@.otto2003-09-292-6/+0
| | | | | | | | | | | | | | | | ok deraadt@
* | | | remove register. end all sentences with periods.tedu2003-09-271-16/+16
| | | | | | | | | | | | | | | | ok deraadt@ henning@ millert@
* | | | put 64bit macros/functions documentation back.fgsch2003-09-261-3/+20
| | | |
* | | | No need to include non-standard machine/endian.h header sincemillert2003-09-261-3/+13
| | | | | | | | | | | | | | | | | | | | sys/types does that for us. Add a STANDARDS section that says what is and is not standard. OK fgsch@
* | | | fix buffer size; leonard+gnats@itee.uq.edu.auderaadt2003-09-261-12/+7
| | | |
* | | | It is safe to pass free() a NULL pointer since C89; update example tomillert2003-09-261-3/+2
| | | | | | | | | | | | | | | | this effect. OK deraadt@ pvalchev@
* | | | Do check for current pointer vs. buffer end before touching anymillert2003-09-252-7/+7
| | | | | | | | | | | | | | | | | | | | elements in the buffer. Fixes an out of bounds access. From aaron@; OK deraadt@
* | | | Return immediately if argument to BN_sub_word is zero.otto2003-09-252-0/+6
| | | | | | | | | | | | | | | | ok markus@ deraadt@