Searched refs:kdf (Results 1 – 5 of 5) sorted by relevance
/system/keymaster/tests/ |
D | kdf_test.cpp | 32 ForTestAbstractKdf kdf; in TEST() local 35 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA1, key, 128, salt, 128)); in TEST() 36 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA_2_256, key, 128, salt, 128)); in TEST() 37 ASSERT_TRUE(kdf.Init(KM_DIGEST_SHA1, key, 128, nullptr, 0)); in TEST() 38 ASSERT_FALSE(kdf.Init(KM_DIGEST_MD5, key, 128, salt, 128)); in TEST() 39 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, nullptr, 0, salt, 128)); in TEST() 40 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, nullptr, 128, salt, 128)); in TEST() 41 ASSERT_FALSE(kdf.Init(KM_DIGEST_SHA1, key, 0, salt, 128)); in TEST()
|
/system/keymaster/km_openssl/ |
D | ecies_kem.cpp | 45 keymaster_kdf_t kdf; in EciesKem() local 46 if (!authorizations.GetTagValue(TAG_KDF, &kdf)) { in EciesKem() 51 switch (kdf) { in EciesKem() 56 LOG_E("Kdf %d is unsupported", kdf); in EciesKem()
|
/system/vold/ |
D | cryptfs.cpp | 1386 unsigned char* decrypted_master_key, kdf_func kdf, in decrypt_master_key_aux() argument 1395 if (kdf(passwd, salt, ikey, kdf_params)) { in decrypt_master_key_aux() 1434 static void get_kdf_func(struct crypt_mnt_ftr* ftr, kdf_func* kdf, void** kdf_params) { in get_kdf_func() argument 1436 *kdf = scrypt_keymaster; in get_kdf_func() 1439 *kdf = scrypt; in get_kdf_func() 1442 *kdf = pbkdf2; in get_kdf_func() 1450 kdf_func kdf; in decrypt_master_key() local 1454 get_kdf_func(crypt_ftr, &kdf, &kdf_params); in decrypt_master_key() 1456 decrypted_master_key, kdf, kdf_params, intermediate_key, in decrypt_master_key()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | attestation_record.h | 83 ASN1_INTEGER_SET* kdf; member 132 ASN1_EXP_SET_OF_OPT(KM_AUTH_LIST, kdf, ASN1_INTEGER, TAG_KDF.masked_tag()),
|
/system/keymaster/ |
D | Android.bp | 143 "km_openssl/kdf.cpp",
|