Home | History | Annotate | Download | only in keystore

Lines Matching refs:params

57 void add_legacy_key_authorizations(int keyType, std::vector<keymaster_key_param_t>* params) {
58 params->push_back(keymaster_param_enum(KM_TAG_PURPOSE, KM_PURPOSE_SIGN));
59 params->push_back(keymaster_param_enum(KM_TAG_PURPOSE, KM_PURPOSE_VERIFY));
60 params->push_back(keymaster_param_enum(KM_TAG_PURPOSE, KM_PURPOSE_ENCRYPT));
61 params->push_back(keymaster_param_enum(KM_TAG_PURPOSE, KM_PURPOSE_DECRYPT));
62 params->push_back(keymaster_param_enum(KM_TAG_PADDING, KM_PAD_NONE));
64 params->push_back(keymaster_param_enum(KM_TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN));
65 params->push_back(keymaster_param_enum(KM_TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_ENCRYPT));
66 params->push_back(keymaster_param_enum(KM_TAG_PADDING, KM_PAD_RSA_PSS));
67 params->push_back(keymaster_param_enum(KM_TAG_PADDING, KM_PAD_RSA_OAEP));
69 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_NONE));
70 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_MD5));
71 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_SHA1));
72 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_SHA_2_224));
73 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_SHA_2_256));
74 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_SHA_2_384));
75 params->push_back(keymaster_param_enum(KM_TAG_DIGEST, KM_DIGEST_SHA_2_512));
76 params->push_back(keymaster_param_bool(KM_TAG_ALL_USERS));
77 params->push_back(keymaster_param_bool(KM_TAG_NO_AUTH_REQUIRED));
78 params->push_back(keymaster_param_date(KM_TAG_ORIGINATION_EXPIRE_DATETIME, LLONG_MAX));
79 params->push_back(keymaster_param_date(KM_TAG_USAGE_EXPIRE_DATETIME, LLONG_MAX));
80 params->push_back(keymaster_param_date(KM_TAG_ACTIVE_DATETIME, 0));