[PATCH 0/9] libmd: Porting to more exotic platforms

Guillem Jover guillem at hadrons.org
Wed May 31 04:40:51 UTC 2017


Hi!

[ Sorry for the delay, it seems I've been ignoring the list because
  I've got list admin mails mixed in the same mail box, which tend to
  be mostly spam. I've now split these, and hope to be more responsive
  in the future! ]

On Mon, 2017-04-10 at 13:10:37 +0200, Michael Haubenwallner wrote:
> here's a list of patches to get libmd working on non-BSD and non-Linux
> platforms, like Solaris, AIX, HP-UX, Cygwin, MinGW with both gcc and
> native compilers, if any.

Thanks for the patch series, portability fixes are always very much
welcome. I've started going over the patches, and merged several, I have
some issues with others, which I'll be covering, but probably only later
today.

> While I was porting the weak SHA384 function definitions, I've realized
> that I fail to see a reason why those SHA384 functions should be less
> strong at all than their SHA512 implementations, so the last patch
> drops SHA384 symbol weakness for now, although weak symbol portability
> might be possible using AX_SYS_WEAK_ALIAS macro from autoconf-archive:
> https://www.gnu.org/software/autoconf-archive/ax_sys_weak_alias.html

Well, it's mainly to get aliases for the same function implementations,
instead of having to go trough a proxy function, which is suboptimal
IMO.

Thanks,
Guillem


More information about the libbsd mailing list