These unit tests are hard to maintain as there is a lot of mocking with willreturn and expect*. We don't need to mock salt_hash_data and securechip_kdf results, we use existing mock implementations of these that perform the real function (in case of securechip_kdf, the mocked one from mock_securechip.c).
These unit tests are hard to maintain as there is a lot of mocking with willreturn and expect*. We don't need to mock salt_hash_data and securechip_kdf results, we use existing mock implementations of these that perform the real function (in case of securechip_kdf, the mocked one from mock_securechip.c).