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 | 174 integer_set = &record->kdf; in build_auth_list()
|
/system/keymaster/ |
D | Makefile | 100 km_openssl/kdf.cpp \ 242 km_openssl/kdf.o \ 250 km_openssl/kdf.o \ 260 km_openssl/kdf.o \ 271 km_openssl/kdf.o \ 295 km_openssl/kdf.o \
|
D | Android.bp | 107 "km_openssl/kdf.cpp",
|
/system/keymaster/include/keymaster/ |
D | attestation_record.h | 68 ASN1_INTEGER_SET* kdf; member 112 ASN1_EXP_SET_OF_OPT(KM_AUTH_LIST, kdf, ASN1_INTEGER, TAG_KDF.masked_tag()),
|
/system/vold/ |
D | cryptfs.cpp | 1290 unsigned char* decrypted_master_key, kdf_func kdf, in decrypt_master_key_aux() argument 1299 if (kdf(passwd, salt, ikey, kdf_params)) { in decrypt_master_key_aux() 1338 static void get_kdf_func(struct crypt_mnt_ftr* ftr, kdf_func* kdf, void** kdf_params) { in get_kdf_func() argument 1340 *kdf = scrypt_keymaster; in get_kdf_func() 1343 *kdf = scrypt; in get_kdf_func() 1346 *kdf = pbkdf2; in get_kdf_func() 1354 kdf_func kdf; in decrypt_master_key() local 1358 get_kdf_func(crypt_ftr, &kdf, &kdf_params); in decrypt_master_key() 1360 decrypted_master_key, kdf, kdf_params, intermediate_key, in decrypt_master_key()
|