aboutsummaryrefslogtreecommitdiff
path: root/src/libsec
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10Trivial changes: whitespace and modes.Dan Cross18-420/+415
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2017-09-14all: remove .cvsignore filesKare Nuorteva1-2/+0
Rename following .cvsignore files to .gitkeep since they are required by the build (directories must exist before build): - bin/fossil/.gitkeep - bin/fs/.gitkeep - bin/venti/.gitkeep Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
2015-06-03all: linux/arm64 portAram Hăvărneanu1-0/+4
Really trivial port. Change-Id: Ib2e3ad48df555ca4bd9339ddf79a832be895bd95 Reviewed-on: https://plan9port-review.googlesource.com/1030 Reviewed-by: Russ Cox <rsc@google.com>
2015-06-03all: linux/mips portAram Hăvărneanu1-0/+4
Change-Id: I0af67bc44c7bb62a8e5a47eac597367f521f1c11 Reviewed-on: https://plan9port-review.googlesource.com/1210 Reviewed-by: Russ Cox <rsc@google.com>
2013-03-19libsec: avoid undefined CXi Wang1-2/+1
gcc compiles `p + length < p' into 'length < 0' since pointer overflow is undefined behavior in C. This breaks the check against a large `length'. Use `length > pend - p' instead. There's no need to check `length < 0' since `length' is from length_decode() and should be non-negative. === Try the simplified code. void bar(void); void foo(unsigned char *p, int length) { if (p + length < p) bar(); } $ gcc -S -o - t.c -O2 ... foo: .LFB0: .cfi_startproc testl %esi, %esi js .L4 rep ret .L4: jmp bar .cfi_endproc Clearly `p' is not used at all. R=rsc CC=plan9port.codebot https://codereview.appspot.com/7231069
2012-10-21fix clang warnings reported by Tuncer AyazRuss Cox1-1/+1
R=rsc http://codereview.appspot.com/6744054
2011-10-05libsec: fix dsagen 64-bit bugRuss Cox1-1/+1
2011-05-18arm: build fixesRichard Miller1-0/+4
Get p9p to build cleanly for ARM - based on suggestions from rsc and eekee, plus a final tweak from me. Tested (a bit) on sheevaplug (ubuntu jaunty), Nokia N800 (maemo 4) and Nokia N900 (maemo 5). R=rsc CC=plan9port.codebot http://codereview.appspot.com/4524056
2011-05-17SunOS fixes (thanks Aram Hăvărneanu)Russ Cox1-2/+2
R=rsc, rsc http://codereview.appspot.com/4271084
2010-03-11probably_prime: run more than one Miller-Rabin roundRuss Cox1-12/+17
R=rsc http://codereview.appspot.com/462041
2010-03-11libsec: update primetest to use mpfmtRuss Cox1-1/+1
R=rsc http://codereview.appspot.com/464041
2008-03-06libsec: use intptr to silence 64-bit warning (Michael Teichgräber)Russ Cox1-1/+1
2006-04-21applersc3-1/+11
2006-04-21use gcc because cpp sucksrsc3-4/+2
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc25-220/+220
2006-02-09sparcrsc1-0/+4
2005-05-12change labels to get better function boundariesrsc2-12/+12
2005-02-13add dsa x509rsc1-0/+74
2005-02-11new allocrpc interfacersc1-6/+1
2005-01-19continue x86-64rsc1-0/+4
2005-01-14checkpointrsc1-1/+6
2005-01-11os x changesrsc1-1/+1
2004-12-28more little compile fixesrsc1-2/+2
2004-12-27silence various warningsrsc1-0/+4
2004-12-26add portdatersc1-0/+56
2004-12-26changes from plan 9. some clean-up.rsc5-20/+91
2004-05-14Empty changelogrsc4-6/+8
2004-05-14asdfrsc1-4/+0
2004-05-14Crsc4-0/+6
little bugs . wq VS: ----------------------------------------------------------------------
2004-05-09Ditto.rsc1-9/+12
2004-05-09It's bad form to access data *below* the stack pointer.rsc1-16/+19
2004-05-03Ignore unknown pragmas.wkj1-0/+2
Be less verbose when allocating uprocs. Don't drop core dump turds all over the place when x11 goes away.
2004-04-21Libsec doesn't compile without a reduce script, either.wkj1-0/+13
2004-04-21more tomfoolery.rsc1-1/+0
i bet mk can't read the mac os or sun os archives.
2004-04-21make scripts work with more shells,rsc2-2/+4
use current variable names.
2004-04-21dittorsc2-0/+8
2004-04-21Rename the files so that we can run them through cpp.rsc3-0/+5
2004-04-21MD5 and SHA1 in transliterated to x86 assembler with C preprocessor goo.wkj4-2/+471
Thanks to Brendan Connell for putting up with this nonsense.
2004-04-19clean up when finished.rsc2-2/+0
don't set PLAN9 don't set PLAN9
2004-03-26SunOS can rot in hell.rsc1-1/+1
2004-03-21Add most of libsec.rsc47-0/+9625
2004-03-21Small tweaksrsc5-28/+45
Lots of new code imported.
2003-11-25More tweaks on Linux and Solaris.rsc1-1/+1
2003-11-23Make things build on FreeBSD again.rsc2-1/+2
2003-11-23add libsecrsc12-0/+2916