[PATCH 0/3] openssl: add more fine-grained optimisation settings

2020-10-15 Thread Rui Salvaterra
This series allows for a more fine-grained control of the library optimisation settings, opening the opportunity for significant size reduction. More details in each specific patch. Rui Salvaterra (3): openssl: reorganise the config dependencies openssl: allow the user to choose the optimisati

[PATCH 3/3] openssl: build with MIPS16 if assembly is disabled

2020-10-15 Thread Rui Salvaterra
If we don't even want hand-optimised assembly routines, we're definitely optimising for size. Compiling with MIPS16 instructions breaks the build when OPENSSL_WITH_ASM assembly is enabled, but they can be used otherwise. Library sizes (in bytes): Os, 74kc, OPENSSL_OPTIMIZE_SPEED, OPENSSL_WITH_ASM

[PATCH 1/3] openssl: reorganise the config dependencies

2020-10-15 Thread Rui Salvaterra
There's no technical reason for OPENSSL_OPTIMIZE_SPEED to imply OPENSSL_WITH_ASM, but it definitely makes sense to have OPENSSL_WITH_ASM selected by default if OPENSSL_OPTIMIZE_SPEED is enabled. No changes to the current defaults. Library sizes (in bytes): O3, 74kc, OPENSSL_OPTIMIZE_SPEED 2019956

[PATCH 2/3] openssl: allow the user to choose the optimisation level

2020-10-15 Thread Rui Salvaterra
Besides disabling slower/smaller code paths in OpenSSL itself, selecting CONFIG_OPENSSL_OPTIMIZE_SPEED=y implied completely ignoring the target optimisation level and always compiling at -O3. Create a new config option to allow disabing this behaviour. No changes to the current defaults. Library s

Re: Hostapd throwing warnings

2020-10-15 Thread Philip Prindeville
> On Oct 15, 2020, at 11:32 AM, Daniel Golle wrote: > > On Thu, Oct 15, 2020 at 11:18:24AM -0600, Philip Prindeville wrote: >> Hi, >> >> I have a WLE600VX card in an APU4 running HEAD as of a week ago. >> >> My /etc/config/wireless file is straightforward: >> >> config wifi-device 'radio0' >

Re: Hostapd throwing warnings

2020-10-15 Thread Daniel Golle
On Thu, Oct 15, 2020 at 11:18:24AM -0600, Philip Prindeville wrote: > Hi, > > I have a WLE600VX card in an APU4 running HEAD as of a week ago. > > My /etc/config/wireless file is straightforward: > > config wifi-device 'radio0' > option type 'mac80211' > option channel '36' > o

Hostapd throwing warnings

2020-10-15 Thread Philip Prindeville
Hi, I have a WLE600VX card in an APU4 running HEAD as of a week ago. My /etc/config/wireless file is straightforward: config wifi-device 'radio0' option type 'mac80211' option channel '36' option hwmode '11a' option path 'pci:00/:00:02.5/:05:00.0'

[PATCH][odhcp6c] odhcp6c_find_entry: exclude priority from the list of fields that must match

2020-10-15 Thread Alin Nastac
Priority of an entry can vary from one RA to another, but the entry identity should be the same regardless of the priority declared in the RA message handled in ra_process() at a time. CDRouter for instance tests compliance of the device to requirement G-5 of RFC 7084 by provisioning initially th

Re: Monocultures are bad [Was: Re: [PATCH] build: Extract trusted-firmware-a.mk]

2020-10-15 Thread Petr Štetiar
Vladimir Vid [2020-10-12 19:23:37]: Hi, > I agree this was not the best solution but it works, and if you ask me I > would prefer functionality on some platforms rather that none. 1. I've provided feedback, asked your for changes, I was ignored 2. It doesn't work for the project as I've pointed