Home
last modified time | relevance | path

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

/system/security/keystore/
Dkey_proto_handler.cpp31 void checkEnforcedCharacteristics(const hidl_vec<KeyParameter>& keyParams, KeyConfig* keyConfig) { in checkEnforcedCharacteristics() argument
35 keyConfig->add_purpose(toString(accessTagValue(TAG_PURPOSE, keyParam))); in checkEnforcedCharacteristics()
38 keyConfig->set_algorithm(toString(accessTagValue(TAG_ALGORITHM, keyParam))); in checkEnforcedCharacteristics()
41 keyConfig->set_key_size(accessTagValue(TAG_KEY_SIZE, keyParam)); in checkEnforcedCharacteristics()
44 keyConfig->add_block_mode(toString(accessTagValue(TAG_BLOCK_MODE, keyParam))); in checkEnforcedCharacteristics()
47 keyConfig->add_padding(toString(accessTagValue(TAG_PADDING, keyParam))); in checkEnforcedCharacteristics()
50 keyConfig->add_digest(toString(accessTagValue(TAG_DIGEST, keyParam))); in checkEnforcedCharacteristics()
53 keyConfig->set_ec_curve(toString(accessTagValue(TAG_EC_CURVE, keyParam))); in checkEnforcedCharacteristics()
56 keyConfig->set_user_auth_key_timeout(accessTagValue(TAG_AUTH_TIMEOUT, keyParam)); in checkEnforcedCharacteristics()
59 keyConfig->set_origin(toString(accessTagValue(TAG_ORIGIN, keyParam))); in checkEnforcedCharacteristics()
[all …]