Searched refs:kdf (Results 1 – 7 of 7) 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()
|
D | attestation_record.cpp | 171 integer_set = &record->kdf; in build_auth_list()
|
/system/keymaster/ |
D | Makefile | 101 km_openssl/kdf.cpp \ 243 km_openssl/kdf.o \ 251 km_openssl/kdf.o \ 261 km_openssl/kdf.o \ 272 km_openssl/kdf.o \ 296 km_openssl/kdf.o \
|
D | Android.bp | 98 "km_openssl/kdf.cpp",
|
/system/keymaster/include/keymaster/ |
D | attestation_record.h | 64 ASN1_INTEGER_SET* kdf; member 104 ASN1_EXP_SET_OF_OPT(KM_AUTH_LIST, kdf, ASN1_INTEGER, TAG_KDF.masked_tag()),
|
/system/vold/ |
D | cryptfs.cpp | 1364 unsigned char* decrypted_master_key, kdf_func kdf, in decrypt_master_key_aux() argument 1373 if (kdf(passwd, salt, ikey, kdf_params)) { in decrypt_master_key_aux() 1412 static void get_kdf_func(struct crypt_mnt_ftr* ftr, kdf_func* kdf, void** kdf_params) { in get_kdf_func() argument 1414 *kdf = scrypt_keymaster; in get_kdf_func() 1417 *kdf = scrypt; in get_kdf_func() 1420 *kdf = pbkdf2; in get_kdf_func() 1428 kdf_func kdf; in decrypt_master_key() local 1432 get_kdf_func(crypt_ftr, &kdf, &kdf_params); in decrypt_master_key() 1434 decrypted_master_key, kdf, kdf_params, intermediate_key, in decrypt_master_key()
|