Lines Matching refs:AuthorizationSetBuilder
119 AuthorizationSet version_info(AuthorizationSetBuilder() in CreateDevice()
153 AuthorizationSet version_info(AuthorizationSetBuilder() in CreateDevice()
188 AuthorizationSet version_info(AuthorizationSetBuilder() in CreateDevice()
250 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
285 GenerateKey(AuthorizationSetBuilder() in TEST_P()
295 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
323 GenerateKey(AuthorizationSetBuilder() in TEST_P()
333 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(KM_DIGEST_NONE))); in TEST_P()
339 GenerateKey(AuthorizationSetBuilder() in TEST_P()
348 EXPECT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest( in TEST_P()
358 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
371 GenerateKey(AuthorizationSetBuilder() in TEST_P()
377 EXPECT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
388 GenerateKey(AuthorizationSetBuilder() in TEST_P()
399 GenerateKey(AuthorizationSetBuilder() in TEST_P()
409 GenerateKey(AuthorizationSetBuilder() in TEST_P()
419 GenerateKey(AuthorizationSetBuilder() in TEST_P()
429 GenerateKey(AuthorizationSetBuilder() in TEST_P()
441 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
458 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
471 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
485 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
502 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
515 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
528 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
549 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
563 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
582 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
599 GenerateKey(AuthorizationSetBuilder() in TEST_P()
613 GenerateKey(AuthorizationSetBuilder() in TEST_P()
628 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaKey(256, 3).SigningKey().Digest( in TEST_P()
639 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
652 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
666 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
689 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
699 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest( in TEST_P()
710 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest( in TEST_P()
722 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
747 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(key_size).Digest(digest))); in TEST_P()
764 GenerateKey(AuthorizationSetBuilder().AesEncryptionKey(128).Authorization( in TEST_P()
773 GenerateKey(AuthorizationSetBuilder() in TEST_P()
786 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
799 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
812 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
826 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
840 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1026 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1040 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1059 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1073 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1088 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1124 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1146 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1169 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1183 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1218 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1240 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1341 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1359 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest(KM_DIGEST_NONE))); in TEST_P()
1371 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest(KM_DIGEST_NONE))); in TEST_P()
1383 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(521).Digest(KM_DIGEST_NONE))); in TEST_P()
1399 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1421 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest( in TEST_P()
1453 AuthorizationSetBuilder builder; in TEST_P()
1472 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1485 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1498 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1511 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1535 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1548 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1564 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1580 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
1592 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1604 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1617 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().AesEncryptionKey(128))); in TEST_P()
1641 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder() in TEST_P()
1678 ImportKey(AuthorizationSetBuilder() in TEST_P()
1691 ImportKey(AuthorizationSetBuilder() in TEST_P()
1705 ImportKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest(KM_DIGEST_NONE), in TEST_P()
1737 ImportKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest(KM_DIGEST_NONE), in TEST_P()
1768 ImportKey(AuthorizationSetBuilder() in TEST_P()
1780 ImportKey(AuthorizationSetBuilder().AesEncryptionKey(128).EcbMode().Authorization( in TEST_P()
1798 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder() in TEST_P()
1928 auto import_params = AuthorizationSetBuilder() in TEST_F()
1963 auto params = AuthorizationSetBuilder().BlockMode(KM_MODE_ECB).Padding(KM_PAD_PKCS7).build(); in TEST_F()
1973 auto import_params = AuthorizationSetBuilder() in TEST_F()
2005 auto import_params = AuthorizationSetBuilder() in TEST_F()
2037 auto import_params = AuthorizationSetBuilder() in TEST_F()
2067 GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(256, 3).Padding(KM_PAD_NONE))); in TEST_P()
2085 GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(256, 3).Padding(KM_PAD_NONE))); in TEST_P()
2103 GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(256, 3).Padding(KM_PAD_NONE))); in TEST_P()
2121 GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(256, 3).Padding(KM_PAD_NONE))); in TEST_P()
2163 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2184 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2205 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2222 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2238 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2258 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2281 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2304 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2326 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2352 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(512, 3).Padding( in TEST_P()
2369 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(512, 3).Padding( in TEST_P()
2384 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2422 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(512, 3).Padding( in TEST_P()
2440 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(512, 3).Padding( in TEST_P()
2464 GenerateKey(AuthorizationSetBuilder().RsaSigningKey(256, 3).Padding(KM_PAD_NONE))); in TEST_P()
2476 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
2485 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2497 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2519 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2534 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2552 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2570 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2588 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2613 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2639 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2730 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2743 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2759 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2784 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2827 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2857 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2898 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2917 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2960 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
2983 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3051 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder() in TEST_P()
3068 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder() in TEST_P()
3082 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3125 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3195 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3246 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3293 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3334 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3380 auto auths = AuthorizationSetBuilder() in TEST_P()
3402 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3415 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3431 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3447 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3463 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3651 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3676 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3717 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3745 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3758 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3775 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3792 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3808 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3833 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3877 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
3898 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
4057 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
4087 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest( in TEST_P()
4118 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
4167 GenerateKey(AuthorizationSetBuilder().RsaEncryptionKey(256, 3).Padding(KM_PAD_NONE))); in TEST_P()
4212 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(256).Digest( in TEST_P()