Lines Matching refs:appId
100 const std::string& appId, std::string* key) {
106 addStringParam(¶mBuilder, keymaster::TAG_APPLICATION_ID, appId);
126 const std::string& appId) {
131 addStringParam(¶mBuilder, keymaster::TAG_APPLICATION_ID, appId);
140 const KeyAuthentication& auth, const std::string& appId,
142 auto params = beginParams(auth, appId).build();
165 const KeyAuthentication& auth, const std::string& appId,
169 auto params = addStringParam(beginParams(auth, appId), keymaster::TAG_NONCE, nonce).build();
239 std::string* appId) {
242 *appId = hashSecdiscardable(secdiscardable) + stretched;
269 std::string appId;
270 if (!generateAppId(auth, stretching, salt, secdiscardable, &appId)) return false;
274 if (!generateKeymasterKey(keymaster, auth, appId, &kmKey)) return false;
277 if (!encryptWithKeymasterKey(keymaster, kmKey, auth, appId, key, &encryptedKey)) return false;
297 std::string appId;
298 if (!generateAppId(auth, stretching, salt, secdiscardable, &appId)) return false;
305 return decryptWithKeymasterKey(keymaster, kmKey, auth, appId, encryptedMessage, key);