Searched refs:authorizations (Results 1 - 3 of 3) sorted by relevance

/system/keymaster/
H A Dasymmetric_key.cpp110 if (!authorizations().GetTagValue(TAG_DIGEST, &digest) || digest != KM_DIGEST_NONE) {
116 if (!authorizations().GetTagValue(TAG_PADDING, &padding) || padding != KM_PAD_NONE) {
130 AuthorizationSet authorizations(key_description);
133 if (!authorizations.GetTagValue(TAG_RSA_PUBLIC_EXPONENT, &public_exponent))
134 authorizations.push_back(Authorization(TAG_RSA_PUBLIC_EXPONENT, public_exponent));
137 if (!authorizations.GetTagValue(TAG_KEY_SIZE, &key_size))
138 authorizations.push_back(Authorization(TAG_KEY_SIZE, key_size));
154 RsaKey* new_key = new RsaKey(rsa_key.release(), authorizations, logger);
170 AuthorizationSet authorizations(key_description);
173 if (authorizations
[all...]
H A Dkey.h53 const AuthorizationSet& authorizations() const { return authorizations_; } function in class:keymaster::Key
57 Key(const AuthorizationSet& authorizations, const Logger& logger) argument
58 : logger_(logger), authorizations_(authorizations) {}
H A Dgoogle_keymaster.cpp305 error = SetAuthorizations(key->authorizations(), origin, enforced, unenforced);
310 error = BuildHiddenAuthorizations(key->authorizations(), &hidden_auths);

Completed in 69 milliseconds