diff --git a/cbits/decaf/ed448goldilocks/decaf.c b/cbits/decaf/ed448goldilocks/decaf.c index 8ee6029..579c2ce 100644 --- a/cbits/decaf/ed448goldilocks/decaf.c +++ b/cbits/decaf/ed448goldilocks/decaf.c @@ -1530,13 +1530,13 @@ prepare_wnaf_table( extern const gf API_NS(precomputed_wnaf_as_fe)[]; static const niels_t *API_NS(wnaf_base) = (const niels_t *)API_NS(precomputed_wnaf_as_fe); -const size_t API_NS(sizeof_precomputed_wnafs) __attribute((visibility("hidden"))) +const size_t API_NS(sizeof_precomputed_wnafs) = sizeof(niels_t)<"$2/$FILE_NAME" \ + -e 's/ __attribute((visibility("hidden")))//g' \ + -e 's/ __attribute__((visibility("hidden")))//g' \ + -e 's/ __attribute__ ((visibility ("hidden")))//g' \ -e "s/__attribute__((aligned(32)))/$REPL/g" \ -e 's/decaf_/cryptonite_decaf_/g' \ -e 's/DECAF_/CRYPTONITE_DECAF_/g' \ @@ -103,4 +113,9 @@ done cat >"$DEST_DIR"/include/portable_endian.h <