summaryrefslogtreecommitdiffstats
path: root/sys/lib
AgeCommit message (Expand)AuthorFilesLines
2020-06-10Provide an optimized implementation of ffs(3) in the kernel onnaddy3-0/+47
2020-05-19If we pass a packet length larger than 2^16, we should panic() insteadpatrick1-5/+3
2020-05-18Sync in_cksum.c to the same version ospfd has. This fixes problemspatrick2-30/+29
2020-04-02Add __lshrti3 to libkern and use it on sparc64jca1-0/+71
2020-02-29Next step in prepping for ffs2 installs: introduce a new install script varotto1-0/+1
2020-02-26Remove non-__STDC__ assert macros from <lib/libkern/libkern.h>.visa1-22/+1
2019-11-29Add an element to the marks array to store the virtual address of thekettenis2-3/+5
2019-11-28Implement a hexdump command in the boot loader. This helps tobluhm2-1/+54
2019-11-05Give some END()s to assembly symbols.mpi4-4/+8
2019-11-01Reduce BOOTRANDOM_MAX to 256. naddy pointed out there's no point havingderaadt1-2/+2
2019-10-29Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdataderaadt1-9/+8
2019-10-29add arc4 cipher to the bootblocksderaadt2-0/+118
2019-08-03In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -xderaadt6-6/+176
2019-06-01Fix warnings when building zlib with ZLIB_CONST definedjca3-8/+8
2019-05-12Add ZLIB_CONSTjca2-6/+13
2019-05-11we have never built without %b supportderaadt2-7/+2
2019-04-25Add movstrSI12_i4 for linking -Os/-Oz kernels. Sadly however itderaadt1-0/+19
2019-04-20libsa's memcpy() is actually memmove(). make a proper memmove(), and givederaadt4-13/+63
2019-04-10change marks[] array to uint64_t, so the code can track full 64-bitderaadt3-9/+9
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert3-6/+6
2018-12-16Make the freelist best fit code a tiny bit smarter to not use a block ifotto1-2/+2
2018-08-10Retry on incorrect passphrase for softraid crypto boot.jsing2-72/+122
2018-07-13Use _ALIGN_TRAPS instead of _ALIGN_TEXT where nops aren't needed.guenther3-6/+6
2018-07-10In asm.h ensure NENTRY uses the old-school nop-sled align, but change standardderaadt3-5/+5
2018-07-03Add retguard macros for libkernmortimer15-12/+43
2018-05-23Align libsa ctime output with libc ctime output.cheloha1-3/+2
2018-04-25use size_t for the size of buffers and strings, not int.dlg2-6/+8
2018-03-31Stop converting UDP and IP header values from network endianness to hostpatrick1-10/+7
2018-01-17Implement basic padding support in libsa so we can do zero-paddingpatrick1-18/+55
2017-11-10"unknown KDF type 2" -> "keydisk not found".sunil1-1/+4
2017-10-26Add aliases for __aeabi_idivmod and __aeabi_uidivmod calls clang emits.jsg1-1/+3
2017-10-08Revert: libsa lacks memmove currently; a more thorough rename/change isguenther1-2/+2
2017-10-07bcopy() is expected to be overlap safe, so it implement it with memmove()guenther1-2/+2
2017-09-08If you use sys/param.h, you don't need sys/types.hderaadt2-4/+2
2017-08-20Fix the __sync_* functions to make them work properlyvisa1-1/+21
2017-05-31make the AES-XTS mode a little more constant-time, though the AESdjm1-5/+4
2017-05-27move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@naddy1-13/+13
2017-05-21Enable radeondrm(4) on loongson to get accelerated graphicsvisa1-0/+317
2017-05-08Guard debug printf with NFS_DEBUG ifdef like the other debug prints.patrick1-1/+3
2017-01-24In preparation of compiling our kernels with -ffreestanding, explicitly mapkettenis7-7/+22
2016-11-27Add missing OpenBSD CVS tagsreyk2-0/+4
2016-11-25Fix signedness warnings with careful casts and replace a re-defined variable.reyk2-17/+17
2016-11-14Copy data by using 64-bit loads and stores rather than 32-bitvisa1-1/+53
2016-09-24Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clangkettenis2-0/+183
2016-09-22Add aeabi aliases.kettenis1-1/+4
2016-09-18Add bcrypt pbkdf support to the softraid crypto boot loader code.jsing1-5/+28
2016-09-18Correctly handle short read()s in the libsa gzip handling lseek(). Alsojsing1-5/+8
2016-09-17move the .SUNW_ctf section name definition to exec_elf.h and document it in elf(5)jasper1-2/+2
2016-09-16unifdef SAVE_MEMORY which is no longer set nor usedjasper1-9/+1
2016-09-13when loading the kernel binary, also load the .SUNW_ctf section when present,jasper1-2/+3