On Sun, Oct 30, 2022 at 11:26 AM Niels Möller <ni...@lysator.liu.se> wrote:

> ni...@lysator.liu.se (Niels Möller) writes:
>
> > But I still want to find a way to merge the refactoring branch without
> > breaking the ppc build (in the current state, the branch fails with link
> > errors on ppc).
>
> I think the simplest way is to just move _nettle_poly1305_blocks to its
> own optional asm-file, poly1305-blocks.asm, and then use the function
> from C only when HAVE_NATIVE_poly1305_blocks is defined.
>
> In case we want to share some code/macros between single-block and
> multi-block function, we can could do that via a poly1305.m4 include file.
>
> Does that sound right?
>

Sounds good. I modified the MR to have its own poly1305-blocks.asm with
poly1305.m4 file for shared macros. However, I had to have
poly1305-blocks.c too so fat build stays functioning, let me know if we can
do it in a simpler way.

regards,
Mamone


> Regards,
> /Niels
>
> --
> Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
> Internet email is subject to wholesale government surveillance.
>
_______________________________________________
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se

Reply via email to