summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
AgeCommit message (Expand)Author
2021-12-01Fix booting from an IDE block device on the Sun Blade 100. ApparentlyMark Kettenis
2021-11-29Niels agreed to remove the advertising clause; switching theseDamien Miller
2021-10-25Remove unused variables to silence clang.Patrick Wildt
2021-10-24#define open O_* flags in libsa/stand.h, so that bootblocks can useTheo de Raadt
2021-03-12spellingJonathan Gray
2020-12-09Use daddr_t and not daddr32_t in boot media.Kenneth R Westerback
2020-10-26Remove an unneeded variable.Visa Hankala
2020-07-09Fix a warning false positive from clang 10.Todd C. Miller
2020-05-19If we pass a packet length larger than 2^16, we should panic() insteadPatrick Wildt
2020-05-18Sync in_cksum.c to the same version ospfd has. This fixes problemsPatrick Wildt
2020-02-29Next step in prepping for ffs2 installs: introduce a new install script varOtto Moerbeek
2019-11-29Add an element to the marks array to store the virtual address of theMark Kettenis
2019-11-28Implement a hexdump command in the boot loader. This helps toAlexander Bluhm
2019-11-01Reduce BOOTRANDOM_MAX to 256. naddy pointed out there's no point havingTheo de Raadt
2019-10-29Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdataTheo de Raadt
2019-10-29add arc4 cipher to the bootblocksTheo de Raadt
2019-08-03In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -xTheo de Raadt
2019-05-11we have never built without %b supportTheo de Raadt
2019-04-20libsa's memcpy() is actually memmove(). make a proper memmove(), and giveTheo de Raadt
2019-04-10change marks[] array to uint64_t, so the code can track full 64-bitTheo de Raadt
2018-12-16Make the freelist best fit code a tiny bit smarter to not use a block ifOtto Moerbeek
2018-08-10Retry on incorrect passphrase for softraid crypto boot.Joel Sing
2018-05-23Align libsa ctime output with libc ctime output.cheloha
2018-03-31Stop converting UDP and IP header values from network endianness to hostPatrick Wildt
2018-01-17Implement basic padding support in libsa so we can do zero-paddingPatrick Wildt
2017-11-10"unknown KDF type 2" -> "keydisk not found".Sunil Nimmagadda
2017-10-08Revert: libsa lacks memmove currently; a more thorough rename/change isPhilip Guenther
2017-10-07bcopy() is expected to be overlap safe, so it implement it with memmove()Philip Guenther
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-05-31make the AES-XTS mode a little more constant-time, though the AESDamien Miller
2017-05-27move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@Christian Weisgerber
2017-05-08Guard debug printf with NFS_DEBUG ifdef like the other debug prints.Patrick Wildt
2016-11-27Add missing OpenBSD CVS tagsReyk Floeter
2016-11-25Fix signedness warnings with careful casts and replace a re-defined variable.Reyk Floeter
2016-09-18Add bcrypt pbkdf support to the softraid crypto boot loader code.Joel Sing
2016-09-18Correctly handle short read()s in the libsa gzip handling lseek(). AlsoJoel Sing
2016-09-17move the .SUNW_ctf section name definition to exec_elf.h and document it in e...Jasper Lievisse Adriaanse
2016-09-16unifdef SAVE_MEMORY which is no longer set nor usedJasper Lievisse Adriaanse
2016-09-13when loading the kernel binary, also load the .SUNW_ctf section when present,Jasper Lievisse Adriaanse
2016-09-11Provide initial libsa softraid - this is currently just the data structuresJoel Sing
2016-09-10Add bcrypt_pbkdf to libsa, from libutil. This will soon allow the bootJoel Sing
2016-09-10Add blowfish to libsa, taken from libc - needed for bcrypt_pbkdf.Joel Sing
2016-09-10Add sha2 to libsa, taken from libc - needed for bcrypt_pbkdf.Joel Sing
2016-09-10Rename libsa pbkdf2.c to pkcs5_pbkdf2.c so that we match libutil.Joel Sing
2016-09-10Sync libsa pkcs5_pbkdf2() with libutil.Joel Sing
2016-08-27Declare lseek() instead of assuming it'll be provided elsewherePhilip Guenther
2016-03-14Change a bunch of (<blah> *)0 to NULL.Kenneth R Westerback
2015-11-16Replace unbounded gets() in libsa with getln() which takes a buffer size,Miod Vallat
2015-10-26(char *)0 -> NULLmmcc
2015-10-26Cast isdigit()'s argument to unsigned char.mmcc