lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 21 Dec 2017 13:56:55 +0000
From:   David Laight <David.Laight@...LAB.COM>
To:     'Crt Mori' <>
CC:     Peter Zijlstra <>,
        Jonathan Cameron <>,
        Ingo Molnar <>,
        Andrew Morton <>,
        Kees Cook <>,
        Rusty Russell <>,
        Ian Abbott <>,
        Larry Finger <>,
        Niklas Soderlund <>,
        Thomas Gleixner <>,
        Krzysztof Kozlowski <>,
        Masahiro Yamada <>,
        "" <>,
        "" <>,
        Joe Perches <>
Subject: RE: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

From: Crt Mori
> Sent: 21 December 2017 13:18
> >         unsigned int i;
> i can be u8. And I will still use explicit typing.

u8 will add extra code, unsigned int is good.
'x' needs to be u32, 'y' and 'b' could be larger.

I was testing in userspace.

> This part above looks like FLS
It also does the rest of the required shifts.

> This one indeed works. I did some more testing this morning and I am
> fine with either.
> So question is: Do I make change as per David's suggestion with his
> sign-off, or leave the version it was before the change?

If you generate the actual patch I can add an appropriate sign-off
(or whatever is needed).


Powered by blists - more mailing lists