Lines Matching refs:params

108 void add_legacy_key_authorizations(int keyType, keystore::AuthorizationSet* params) {  in add_legacy_key_authorizations()  argument
110 params->push_back(TAG_PURPOSE, KeyPurpose::SIGN); in add_legacy_key_authorizations()
111 params->push_back(TAG_PURPOSE, KeyPurpose::VERIFY); in add_legacy_key_authorizations()
112 params->push_back(TAG_PURPOSE, KeyPurpose::ENCRYPT); in add_legacy_key_authorizations()
113 params->push_back(TAG_PURPOSE, KeyPurpose::DECRYPT); in add_legacy_key_authorizations()
114 params->push_back(TAG_PADDING, PaddingMode::NONE); in add_legacy_key_authorizations()
116 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_SIGN); in add_legacy_key_authorizations()
117 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_ENCRYPT); in add_legacy_key_authorizations()
118 params->push_back(TAG_PADDING, PaddingMode::RSA_PSS); in add_legacy_key_authorizations()
119 params->push_back(TAG_PADDING, PaddingMode::RSA_OAEP); in add_legacy_key_authorizations()
121 params->push_back(TAG_DIGEST, Digest::NONE); in add_legacy_key_authorizations()
122 params->push_back(TAG_DIGEST, Digest::MD5); in add_legacy_key_authorizations()
123 params->push_back(TAG_DIGEST, Digest::SHA1); in add_legacy_key_authorizations()
124 params->push_back(TAG_DIGEST, Digest::SHA_2_224); in add_legacy_key_authorizations()
125 params->push_back(TAG_DIGEST, Digest::SHA_2_256); in add_legacy_key_authorizations()
126 params->push_back(TAG_DIGEST, Digest::SHA_2_384); in add_legacy_key_authorizations()
127 params->push_back(TAG_DIGEST, Digest::SHA_2_512); in add_legacy_key_authorizations()
128 params->push_back(TAG_NO_AUTH_REQUIRED); in add_legacy_key_authorizations()
129 params->push_back(TAG_ORIGINATION_EXPIRE_DATETIME, LLONG_MAX); in add_legacy_key_authorizations()
130 params->push_back(TAG_USAGE_EXPIRE_DATETIME, LLONG_MAX); in add_legacy_key_authorizations()
131 params->push_back(TAG_ACTIVE_DATETIME, 0); in add_legacy_key_authorizations()