/usr/lib/bglibs/crypto/sha512a.a is in libbg1-dev 1.106-1.1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/bglibs/crypto/../libbg-crypto.a
/usr/lib/bglibs/crypto/../libbg-crypto.a