Lines Matching refs:contains
312 EXPECT_TRUE(contains(auths, TAG_PURPOSE, KM_PURPOSE_SIGN)); in CheckBaseParams()
313 EXPECT_TRUE(contains(auths, TAG_PURPOSE, KM_PURPOSE_VERIFY)); in CheckBaseParams()
314 EXPECT_TRUE(contains(auths, TAG_USER_ID, 7)); in CheckBaseParams()
315 EXPECT_TRUE(contains(auths, TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD)); in CheckBaseParams()
316 EXPECT_TRUE(contains(auths, TAG_AUTH_TIMEOUT, 300)); in CheckBaseParams()
319 EXPECT_FALSE(contains(auths, TAG_ROOT_OF_TRUST)); in CheckBaseParams()
320 EXPECT_FALSE(contains(auths, TAG_APPLICATION_ID)); in CheckBaseParams()
321 EXPECT_FALSE(contains(auths, TAG_APPLICATION_DATA)); in CheckBaseParams()
324 EXPECT_FALSE(contains(auths, TAG_PURPOSE, KM_PURPOSE_ENCRYPT)); in CheckBaseParams()
325 EXPECT_FALSE(contains(auths, TAG_PURPOSE, KM_PURPOSE_DECRYPT)); in CheckBaseParams()
326 EXPECT_FALSE(contains(auths, TAG_AUTH_TIMEOUT, 301)); in CheckBaseParams()
329 EXPECT_TRUE(contains(auths, KM_TAG_CREATION_DATETIME)); in CheckBaseParams()
355 EXPECT_TRUE(contains(crypto_params, TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_P()
356 EXPECT_FALSE(contains(non_crypto_params, TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_P()
357 EXPECT_TRUE(contains(crypto_params, TAG_KEY_SIZE, 256)); in TEST_P()
358 EXPECT_FALSE(contains(non_crypto_params, TAG_KEY_SIZE, 256)); in TEST_P()
359 EXPECT_TRUE(contains(crypto_params, TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST_P()
360 EXPECT_FALSE(contains(non_crypto_params, TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST_P()
395 EXPECT_TRUE(contains(crypto_params, TAG_ALGORITHM, KM_ALGORITHM_EC)); in TEST_P()
396 EXPECT_FALSE(contains(non_crypto_params, TAG_ALGORITHM, KM_ALGORITHM_EC)); in TEST_P()
397 EXPECT_TRUE(contains(crypto_params, TAG_KEY_SIZE, 224)); in TEST_P()
398 EXPECT_FALSE(contains(non_crypto_params, TAG_KEY_SIZE, 224)); in TEST_P()
1669 EXPECT_TRUE(contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_RSA) ? hw_enforced() in TEST_P()
1672 EXPECT_TRUE(contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_RSA) ? hw_enforced() in TEST_P()
1675 EXPECT_TRUE(contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_RSA) ? hw_enforced() in TEST_P()
1681 EXPECT_TRUE(contains(hw_enforced(), TAG_ORIGIN, KM_ORIGIN_UNKNOWN)); in TEST_P()
1683 EXPECT_TRUE(contains(sw_enforced(), TAG_ORIGIN, KM_ORIGIN_IMPORTED)); in TEST_P()
1684 EXPECT_TRUE(contains(sw_enforced(), KM_TAG_CREATION_DATETIME)); in TEST_P()
1759 contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_EC) ? hw_enforced() : sw_enforced(), in TEST_P()
1762 contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_EC) ? hw_enforced() : sw_enforced(), in TEST_P()
1767 EXPECT_TRUE(contains(hw_enforced(), TAG_ORIGIN, KM_ORIGIN_UNKNOWN)); in TEST_P()
1769 EXPECT_TRUE(contains(sw_enforced(), TAG_ORIGIN, KM_ORIGIN_IMPORTED)); in TEST_P()
1770 EXPECT_TRUE(contains(sw_enforced(), KM_TAG_CREATION_DATETIME)); in TEST_P()
1791 contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_EC) ? hw_enforced() : sw_enforced(), in TEST_P()
1794 contains(GetParam()->algorithm_in_hardware(KM_ALGORITHM_EC) ? hw_enforced() : sw_enforced(), in TEST_P()
1799 EXPECT_TRUE(contains(hw_enforced(), TAG_ORIGIN, KM_ORIGIN_UNKNOWN)); in TEST_P()
1801 EXPECT_TRUE(contains(sw_enforced(), TAG_ORIGIN, KM_ORIGIN_IMPORTED)); in TEST_P()
1802 EXPECT_TRUE(contains(sw_enforced(), KM_TAG_CREATION_DATETIME)); in TEST_P()
1833 EXPECT_TRUE(contains(sw_enforced(), TAG_ORIGIN, KM_ORIGIN_IMPORTED)); in TEST_P()
1834 EXPECT_TRUE(contains(sw_enforced(), KM_TAG_CREATION_DATETIME)); in TEST_P()
1853 EXPECT_TRUE(contains(sw_enforced(), TAG_ORIGIN, KM_ORIGIN_IMPORTED)); in TEST_P()
1854 EXPECT_TRUE(contains(sw_enforced(), KM_TAG_CREATION_DATETIME)); in TEST_P()
3261 EXPECT_TRUE(contains(sw_enforced(), TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_P()
3262 EXPECT_TRUE(contains(sw_enforced(), TAG_KEY_SIZE, 512)); in TEST_P()
3263 EXPECT_TRUE(contains(sw_enforced(), TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST_P()
3264 EXPECT_TRUE(contains(sw_enforced(), TAG_DIGEST, KM_DIGEST_NONE)); in TEST_P()
3265 EXPECT_TRUE(contains(sw_enforced(), TAG_PADDING, KM_PAD_NONE)); in TEST_P()
3266 EXPECT_TRUE(contains(sw_enforced(), TAG_PURPOSE, KM_PURPOSE_SIGN)); in TEST_P()
3267 EXPECT_TRUE(contains(sw_enforced(), TAG_PURPOSE, KM_PURPOSE_VERIFY)); in TEST_P()
3311 EXPECT_TRUE(contains(hw_enforced(), TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_P()
3312 EXPECT_TRUE(contains(hw_enforced(), TAG_KEY_SIZE, 512)); in TEST_P()
3313 EXPECT_TRUE(contains(hw_enforced(), TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST_P()
3314 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_NONE)); in TEST_P()
3315 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_MD5)); in TEST_P()
3316 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_SHA1)); in TEST_P()
3317 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_SHA_2_224)); in TEST_P()
3318 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_SHA_2_256)); in TEST_P()
3319 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_SHA_2_384)); in TEST_P()
3320 EXPECT_TRUE(contains(hw_enforced(), TAG_DIGEST, KM_DIGEST_SHA_2_512)); in TEST_P()
3321 EXPECT_TRUE(contains(hw_enforced(), TAG_PADDING, KM_PAD_NONE)); in TEST_P()
3322 EXPECT_TRUE(contains(hw_enforced(), TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_ENCRYPT)); in TEST_P()
3323 EXPECT_TRUE(contains(hw_enforced(), TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN)); in TEST_P()
3324 EXPECT_TRUE(contains(hw_enforced(), TAG_PADDING, KM_PAD_RSA_OAEP)); in TEST_P()
3325 EXPECT_TRUE(contains(hw_enforced(), TAG_PADDING, KM_PAD_RSA_PSS)); in TEST_P()
3328 EXPECT_TRUE(contains(sw_enforced(), TAG_PURPOSE, KM_PURPOSE_SIGN)); in TEST_P()
3329 EXPECT_TRUE(contains(sw_enforced(), TAG_PURPOSE, KM_PURPOSE_VERIFY)); in TEST_P()
3333 EXPECT_FALSE(contains(sw_enforced(), TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_P()
3334 EXPECT_FALSE(contains(sw_enforced(), TAG_KEY_SIZE, 512)); in TEST_P()
3335 EXPECT_FALSE(contains(sw_enforced(), TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST_P()
3336 EXPECT_FALSE(contains(sw_enforced(), TAG_DIGEST, KM_DIGEST_NONE)); in TEST_P()
3337 EXPECT_FALSE(contains(sw_enforced(), TAG_PADDING, KM_PAD_NONE)); in TEST_P()