Home
last modified time | relevance | path

Searched refs:Kdf (Results 1 – 5 of 5) sorted by relevance

/system/keymaster/km_openssl/
Dkdf.cpp21 Kdf::Kdf() : is_initialized_(false) {} in Kdf() function in keymaster::Kdf
23 bool Kdf::Init(keymaster_digest_t digest_type, const uint8_t* secret, size_t secret_len, in Init()
61 bool Kdf::Uint32ToBigEndianByteArray(uint32_t number, uint8_t* output) { in Uint32ToBigEndianByteArray()
/system/keymaster/include/keymaster/km_openssl/
Dkdf.h31 class Kdf {
33 virtual ~Kdf() { memset_s(secret_key_.get(), 0, secret_key_len_); }; in ~Kdf()
34 Kdf();
Diso18033kdf.h33 class Iso18033Kdf : public Kdf {
38 return Kdf::Init(digest_type, secret, secret_len, nullptr /* salt */, 0 /* salt_len */); in Init()
Dhkdf.h32 class Rfc5869Sha256Kdf : public Kdf {
41 return Kdf::Init(KM_DIGEST_SHA_2_256, secret, secret_len, salt, salt_len); in Init()
/system/keymaster/tests/
Dkdf_test.cpp24 class ForTestAbstractKdf : public Kdf {
31 TEST(KdfTest, Kdf) { in TEST() argument