Home
last modified time | relevance | path

Searched refs:op_params (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp597 AuthorizationSet op_params; in TEST_F() local
598 op_params.push_back(Authorization(TAG_AUTH_TOKEN, &token, sizeof(token))); in TEST_F()
602 op_params, token.challenge, false /* is_begin_operation */)); in TEST_F()
621 AuthorizationSet op_params; in TEST_F() local
622 op_params.push_back(Authorization(TAG_AUTH_TOKEN, &token, sizeof(token))); in TEST_F()
627 op_params, token.challenge, false /* is_begin_operation */)); in TEST_F()
631 op_params, token.challenge, false /* is_begin_operation */)); in TEST_F()
649 AuthorizationSet op_params; in TEST_F() local
650 op_params.push_back(Authorization(TAG_AUTH_TOKEN, &token, sizeof(token))); in TEST_F()
654 op_params, token.challenge + 1 /* doesn't match token */, in TEST_F()
[all …]
/system/security/keystore-engine/
Dkeystore2_engine.cpp199 std::vector<KMV1::KeyParameter> op_params(4); in keystore2_sign() local
200 op_params[0] = KMV1::KeyParameter{ in keystore2_sign()
204 op_params[1] = KMV1::KeyParameter{ in keystore2_sign()
207 op_params[2] = KMV1::KeyParameter{ in keystore2_sign()
211 op_params[3] = in keystore2_sign()
216 auto rc = sec_level->createOperation(key_backend.descriptor_, op_params, false /* forced */, in keystore2_sign()
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp246 std::vector<KMV1::KeyParameter> op_params(4); in keyStore2Sign() local
247 op_params[0] = KMV1::KeyParameter{ in keyStore2Sign()
251 op_params[1] = KMV1::KeyParameter{ in keyStore2Sign()
254 op_params[2] = KMV1::KeyParameter{ in keyStore2Sign()
258 op_params[3] = KMV1::KeyParameter{ in keyStore2Sign()
265 rc = sec_level->createOperation(descriptor, op_params, false /* forced */, &op_response); in keyStore2Sign()
/system/security/keystore2/src/
Doperation.rs187 op_params: Vec<KeyParameter>, field
196 op_params: Vec<KeyParameter>, in new()
199 Self { sec_level, purpose, op_params, key_upgraded } in new()
481 &(self.logging_info.op_params), in drop()
Dmetrics_store.rs317 op_params: &[KeyParameter], in log_key_operation_event_stats()
325 op_params, in log_key_operation_event_stats()
342 op_params: &[KeyParameter], in process_key_operation_event_stats()
386 for key_param in op_params.iter().map(KsKeyParamValue::from) { in process_key_operation_event_stats()
Dsecurity_level.rs290 let op_params: Vec<KeyParameter> = in create_operation() localVariable
292 let operation_parameters = op_params.as_slice(); in create_operation()
351 let op_params: Vec<KeyParameter> = operation_parameters.to_vec(); in create_operation() localVariable
359 LoggingInfo::new(self.security_level, purpose, op_params, upgraded_blob.is_some()), in create_operation()
Denforcements.rs412 op_params: &[KmKeyParameter], in authorize_create()
591 && op_params.iter().any(|kp| kp.tag == Tag::NONCE) in authorize_create()