> On Jul 24, 2020, at 1:14 AM, Jason A. Donenfeld <[email protected]> wrote:
> 
> On Fri, Jul 24, 2020 at 10:03 AM Rui Salvaterra <[email protected]> 
> wrote:
>> 
>> The wg utility compiles and runs without issues in MIPS16 mode, despite 
>> setting
>> PKG_USE_MIPS16:=0 in the makefile. Let's remove this, allowing for a 
>> substantial
>> size reduction of the wg executable. Since wg is a just a configuration 
>> utility,
>> it shouldn't be performance-critical, as the crypto heavy-lifting is done on 
>> the
>> kernel side.
>> 
>> wg sizes for both modes:
>> 
>> MIPS32: 64309 bytes
>> MIPS16: 42501 bytes
> 
> Seems probably fine to me, but would you let me know if the
> performance of `wg pubkey` suffers as a result?
Of course. I imagine it’s very tiny. Logging in to the router with ssh is much 
slower.
> I'm far from home at
> the moment without any access to MIPS hardware to test myself.
> 
> Jason
> 
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to