Keystore VTS for module hash

Also move a couple of helpers away from the rust-openssl crate.

Test: keystore2_client_tests
Bug: 369375199
Change-Id: I230eebe9941858dd10f1634c9eee474ddc6cbbae
3 files changed