summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-28libauthsrv: fix _asgetresp() for passwdcinap_lenrek
2015-08-27mp.h: third time's a charmglenda
2015-08-27mp.h: oopsglenda
2015-08-27mp.h: define mpnrandglenda
2015-08-27libsec: add TLS_RSA_WITH_AES_128_CBC_SHA256 and ↵mischief
TLS_RSA_WITH_AES_256_CBC_SHA256 ciphers
2015-08-27devtls: add sha256 macmischief
2015-08-26libsec: add q parameter to dh_new() for subgroup support, sanitize dh parameterscinap_lenrek
2015-08-26libmp: simplify mpnrand(), as mpnew() cannot return nilcinap_lenrek
2015-08-25libmp: add mpnrand() function to generate uniform random number 0 ≤ x < ncinap_lenrek
2015-08-25tput: check sbrk return valuemischief
2015-08-25mergeglenda
2015-08-25fix fuckupglenda
2015-08-25import E script from bell labsmischief
2015-08-25import E script from bell labsmischief
2015-08-25libc: import more endianness fixes (thanks cherry9)mischief
from https://bitbucket.org/cherry9/plan9-loongson/
2015-08-23libsec: fix probably_prime() endless loop for n == 3cinap_lenrek
2015-08-22remove convkeys2cinap_lenrek
2015-08-21init: remove dependency to <authsrv.h>cinap_lenrek
2015-08-21tapefs: remove dependency to <authsrv.h>cinap_lenrek
2015-08-21import(4): -o, -O flags gonecinap_lenrek
2015-08-21remove srvold9pcinap_lenrek
2015-08-21cpu, import: remove old9p supportcinap_lenrek
2015-08-21remove old9p cpu servicecinap_lenrek
2015-08-21cmd/auth: remove private /dev/random reading routines, use genrandom()cinap_lenrek
2015-08-21auth/changeuser: set the aes key in plan9 database, but not in securenet dbcinap_lenrek
2015-08-21keyfs: fix typo (thanks jpm)cinap_lenrek
2015-08-21kernel/boot: do not handle kfs bootcinap_lenrek
2015-08-21remove kfs and kfscmdcinap_lenrek
2015-08-21remove kfs references from manualcinap_lenrek
2015-08-21fshalt: remove kfs supportcinap_lenrek
2015-08-21mkfs(8): dont mention kfscinap_lenrek
2015-08-21disk/mkfs: rmeove kfs supportcinap_lenrek
2015-08-21cwfs: remove 9p1 supportcinap_lenrek
2015-08-21authsrv: randomize aes key in mkkey(), not used yet.cinap_lenrek
2015-08-21authsrv: more aes key stuffcinap_lenrek
2015-08-21introduce AES key into nvram and keyfscinap_lenrek
2015-08-20kfs: adjust to new libauthsrvcinap_lenrek
2015-08-20cwfs: adjust for new libauthsrv changescinap_lenrek
2015-08-20libauthsrv: add missing files (thanks mischief)cinap_lenrek
2015-08-20libsec: add pbkdf2_hmac_sha1() (from wpapsk factotum module)cinap_lenrek
2015-08-19mergecinap_lenrek
2015-08-19libauthsrv: generalize ticket service, not hardcoding ticket format and DES ↵cinap_lenrek
encryption this is in preparation for replacing DES ticket encryption with something better. but first need to make the code stop making assumptions. the wire encoding of the Ticket might be variable length with TICKETLEN just giving an upper bound. the details will be handled by libauthsrv _asgetticket() and _asgetresp() funciotns. the Authenticator and Passwordreq structures are encrypted with the random ticket key. The encryption schmeme will depend on the Ticket format used, so we pass the Ticket* structure instead of the DES key. introduce Authkey structure that will hold all the required cryptographic keys instead of passing DES key.
2015-08-18/lib/1oct1993: use words correctly (thanks, spew)stanley lieber
2015-08-18aux/statusbar: use title as rio window title (thanks qrstuv)mischief
2015-08-17libsec: TLS1.2 server support, make cipher list with most prefered firstcinap_lenrek
2015-08-17libsec: TLS1.2 client supportcinap_lenrek
2015-08-17bullshit: app, deep-learning, responsive.cinap_lenrek
2015-08-17cc: improve (non-) side effect detection (thanks charle)cinap_lenrek
2015-08-16games/doom: fix array offsets for respawn angle (thanks qu7uux)cinap_lenrek
mthing->angle is a signed short, and if ANG45 * mthing->angle/45 < 0, the result of the right shift is sign extended. afaik, an being 16bit in the dos version of doom, you'd endup with a negative array offset, which would just access values from adjacent arrays (finetangent[] for finecosine[], and finecosine[] for finesine[]), and it would result in a misplaced teleport fog in some circumstances (fog is not in front of the player on respawn, hence "silent teleport"). so, this fix is bug incompatible, but this only affects live multiplay. to test: % hget http://doomedsda.us/dm/ahfx7_2.zip | unzip -sv extracting AHFX7_2.TXT extracting AHFX7_2.LMP % mv AHFX7_2.LMP ahfx7_2.lmp % games/doom -playdemo ahfx7_2 [...] doom 10553: suicide: sys: trap: fault read addr=0x400429e10 pc=0x205b45
2015-08-16games/doom: fix gamma correction and key translation (thanks qu7uux)cinap_lenrek
KEY_F11 and KEY_F12 are not KEY_F1+11 and KEY_F1+12 as it is assumed in runetokey(), which prevents these keystrokes from being used. rather than change runetokey(), it seems better to just change the key definitions in doomdef.h (the new values don't correspond to any other keys anyway). F11 is the gamma correction key. to make gamma correction actually work, i_video.c:I_SetPalette must also take into account usegamma (this was just never ported). cf i_video.c:UploadNewPalette in source code release. F12 is the spycam key. the spycam switches the renderview to a different player during a coop game, or when watching a multiplayer demo. this feature only changes the renderview; sounds, palette effects, status bar, etc. are still from the first player's perspective.