Expose some SHA1Digest methods for FIPS 186-2 PRF
The FIPS 186-2 PRF required by EAP-SIM and EAP-AKA (used in telephony)
require a hashing function extremely similar to SHA1, with the exception
of the padding bytes added. This commit exposes the BouncyCastle
SHA1Digest implementation as core-platform-api to allow platform
internals to implement FIPS 186-2 PRF without re-implementing SHA1.
Bug: 136175302
Test: Build succeeds, IKE using this, tests passing.
Change-Id: I952d49b57a4d40873910cb33a597a2691bb2a268
1 file changed