On Windows libtommath uses CryptAcquireContextW and CryptGenRandom to generate random numbers.
According to the documentation here and here both functions are deprecated.
Important This API is deprecated. New and existing software should start using Cryptography Next Generation APIs. Microsoft may remove this API in future releases.
In fact, I'm opening this issue, because I failed to compile libtommath for UWP where those functions were already removed.
libtomcrypt should probably replace the deprecated functions with the mentioned Cryptography Next Generation API.