Lines Matching refs:auth_set
36 const AuthProxy& auth_set) { in AuthorizeOperation() argument
39 purpose, keyid, auth_set, empty_set, 0 /* op_handle */, true /* is_begin_operation */); in AuthorizeOperation()
114 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
117 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
121 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
129 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
132 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
142 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
145 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
149 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
158 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
161 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
171 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
174 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
185 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
188 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
199 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
202 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
213 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
216 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
226 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
229 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
238 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
241 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
243 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
255 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
258 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
260 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
262 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
264 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
266 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
269 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
278 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
281 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
284 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 2 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
287 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 3 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
291 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 4 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
295 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
299 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
303 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 4 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
307 AuthProxy(auth_set, empty))); in TEST_F()
309 AuthProxy(auth_set, empty))); in TEST_F()
318 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
321 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
323 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
325 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
341 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
344 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
347 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
350 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
360 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
363 AuthProxy(auth_set, empty))); in TEST_F()
370 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
373 AuthProxy(auth_set, empty))); in TEST_F()
380 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
384 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 2 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
387 AuthProxy(auth_set, empty))); in TEST_F()
394 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
398 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 2 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
402 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 3 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
406 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 4 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
412 AuthProxy(auth_set, empty))); in TEST_F()
417 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
421 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 2 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
425 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 3 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
431 AuthProxy(auth_set, empty))); in TEST_F()
435 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 2 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
439 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 3 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
443 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, 4 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
448 AuthProxy(auth_set, empty))); in TEST_F()
450 AuthProxy(auth_set, empty))); in TEST_F()
452 AuthProxy(auth_set, empty))); in TEST_F()
461 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() local
464 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
470 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, 1 /* key_id */, AuthProxy(auth_set, empty))); in TEST_F()
473 AuthProxy(auth_set, empty))); in TEST_F()
480 AuthorizationSet auth_set( in TEST_F() local
484 kmen.AuthorizeOperation(invalidPurpose1, key_id, AuthProxy(auth_set, empty))); in TEST_F()
486 kmen.AuthorizeOperation(invalidPurpose2, key_id, AuthProxy(auth_set, empty))); in TEST_F()
490 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
496 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
498 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
501 kmen.AuthorizeOperation(KM_PURPOSE_ENCRYPT, key_id, AuthProxy(auth_set, empty))); in TEST_F()
503 kmen.AuthorizeOperation(KM_PURPOSE_DECRYPT, key_id, AuthProxy(auth_set, empty))); in TEST_F()
507 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
513 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
515 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
519 kmen.AuthorizeOperation(KM_PURPOSE_ENCRYPT, key_id, AuthProxy(auth_set, empty))); in TEST_F()
521 kmen.AuthorizeOperation(KM_PURPOSE_DECRYPT, key_id, AuthProxy(auth_set, empty))); in TEST_F()
552 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
557 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
561 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
565 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
570 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
583 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
592 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
606 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
617 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
621 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()
635 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
644 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
659 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
668 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
672 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()
686 AuthorizationSet auth_set( in TEST_F() local
697 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
701 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()
715 AuthorizationSet auth_set( in TEST_F() local
726 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
730 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()
744 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
753 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
767 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
777 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
781 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
785 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()
788 auth_set.Reinitialize(AuthorizationSetBuilder() in TEST_F()
796 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()
801 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
807 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
820 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
831 KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), op_params, in TEST_F()
845 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
856 KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), op_params, in TEST_F()
863 KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), op_params, in TEST_F()
870 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
876 KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), op_params, in TEST_F()
881 KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), op_params, in TEST_F()
895 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local
906 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
911 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty), in TEST_F()
916 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty), in TEST_F()