Nettle's poly1305 code ended up with internal symbol _poly1305_block in
public header. This causes issues on Nettle version changes. Since those
symbols are going to become nettle-internal, vendor in relevant source
file.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
chacha-set-key.c
chacha-set-nonce.c
chacha.h
+poly1305-internal.c
+poly1305.h
"
PUBLIC="
+aes.h
bignum.h
ecc-curve.h
ecc.h
memxor.h
nettle-meta.h
nettle-types.h
-poly1305.h
"
test -d $DST || mkdir $DST
chacha/chacha-core-internal.c chacha/chacha-crypt.c \
chacha/chacha-internal.h chacha/chacha-poly1305.c \
chacha/chacha-poly1305.h chacha/chacha-set-key.c \
- chacha/chacha-set-nonce.c chacha/chacha.h
+ chacha/chacha-set-nonce.c chacha/chacha.h \
+ chacha/poly1305.h chacha/poly1305-internal.c
endif