fix, PEBKAC, make signatures of reference implementation match header

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'bld/non-x86'

* bld/non-x86:
  fix, PEBKAC, make signatures of reference implementation match header