sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
Add CFI start/end proc directives to arm64, i386, and ppcFollow-up to r353959 and r368070: do the same for other architectures.arm32 already seems to use its own .fnstart/.fnend directives, which
Add CFI start/end proc directives to arm64, i386, and ppcFollow-up to r353959 and r368070: do the same for other architectures.arm32 already seems to use its own .fnstart/.fnend directives, whichappear to be ARM-specific variants of the same thing. Likewise, MIPSuses .frame directives.Reviewed by: arichardsonDifferential Revision: https://reviews.freebsd.org/D27387
show more ...
Consistently use C99 fixed-width types in the in-kernel crypto code.Reviewed by: markjSponsored by: Chelsio CommunicationsDifferential Revision: https://reviews.freebsd.org/D27061
Stop using des_cblock * for arguments to DES functions.This amounts to a char ** since it is a char[8] *. Evil casts mostlyresolved the fact that what was actually passed in were plain char *.In
Stop using des_cblock * for arguments to DES functions.This amounts to a char ** since it is a char[8] *. Evil casts mostlyresolved the fact that what was actually passed in were plain char *.Instead, change the DES functions to use 'unsigned char *' for keysand for input and output buffers.Reviewed by: cem, impSponsored by: Chelsio CommunicationsDifferential Revision: https://reviews.freebsd.org/D21389
Use 'const' for keys and IVs passed to software encryption algorithms.Specifically, use 'const' for the key passed to the 'setkey' methodand 'const' for the 'iv' passed to the 'reinit' method.Re
Use 'const' for keys and IVs passed to software encryption algorithms.Specifically, use 'const' for the key passed to the 'setkey' methodand 'const' for the 'iv' passed to the 'reinit' method.Reviewed by: cemSponsored by: Chelsio CommunicationsDifferential Revision: https://reviews.freebsd.org/D21347
Remove register keyword from sys/ and ANSIfy prototypesA long long time ago the register keyword told the compiler to storethe corresponding variable in a CPU register, but it is not relevantfor
Remove register keyword from sys/ and ANSIfy prototypesA long long time ago the register keyword told the compiler to storethe corresponding variable in a CPU register, but it is not relevantfor any compiler used in the FreeBSD world today.ANSIfy related prototypes while here.Reviewed by: cem, jhbSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D10193
Use __FBSDID().
Assembly files put thru the C preprocessor need to have C style comments.
just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.(based on freebsd4-snap-20020128)Reviewed by: umeMFC after: 1 week
Remove __P.
- Speedup 3DES by using assembly code for i386.- Sync des/blowfish to more recent openssl.Obtained from: KAME/NetBSDMFC after: 2 weeks
properly check DES weak key. KAME PR 363.Obtained from: KAMEMFC after: 1 week
Sync with recent KAME.This work was based on kame-20010528-freebsd43-snap.tgz and somecritical problem after the snap was out were fixed.There are many many changes since last KAME merge.TODO:
Sync with recent KAME.This work was based on kame-20010528-freebsd43-snap.tgz and somecritical problem after the snap was out were fixed.There are many many changes since last KAME merge.TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT.Reviewed by: itojunObtained from: KAMEMFC after: 3 weeks
sync with kame tree as of july00. tons of bug fixes/improvements.API changes:- additional IPv6 ioctls- IPsec PF_KEY API was changed, it is mandatory to upgrade setkey(8). (also syntax change)
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"is an application space macro and the applications are supposed to be freeto use it as they please (but cannot). This is cons
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"is an application space macro and the applications are supposed to be freeto use it as they please (but cannot). This is consistant with the otherBSD's who made this change quite some time ago. More commits to come.
IPSEC support in the kernel.pr_input() routines prototype is also changed to support IPSEC and IPV6chained protocol headers.Reviewed by: freebsd-arch, cvs-committersObtained from: KAME project