Home
last modified time | relevance | path

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

/system/security/keystore/
Doperation_proto_handler.cpp34 void determinePurpose(KeyPurpose purpose, OperationConfig* operationConfig) { in determinePurpose() argument
37 operationConfig->set_purpose("verify"); in determinePurpose()
40 operationConfig->set_purpose("encrypt"); in determinePurpose()
43 operationConfig->set_purpose("sign"); in determinePurpose()
46 operationConfig->set_purpose("decrypt"); in determinePurpose()
49 operationConfig->set_purpose("wrap"); in determinePurpose()
57 OperationConfig* operationConfig) { in checkKeyCharacteristics() argument
61 operationConfig->set_algorithm(toString(accessTagValue(TAG_ALGORITHM, opParam))); in checkKeyCharacteristics()
64 operationConfig->set_key_size(accessTagValue(TAG_KEY_SIZE, opParam)); in checkKeyCharacteristics()
67 operationConfig->set_ec_curve(toString(accessTagValue(TAG_EC_CURVE, opParam))); in checkKeyCharacteristics()
[all …]