Searched refs:serializedToken (Results 1 – 2 of 2) sorted by relevance
155 std::vector<uint8_t> serializedToken; in serializeVerificationToken() local156 appendUint64(serializedToken, token.challenge); in serializeVerificationToken()157 appendUint64(serializedToken, token.timestamp); in serializeVerificationToken()158 appendUint32(serializedToken, uint32_t(token.securityLevel)); in serializeVerificationToken()159 appendUint32(serializedToken, token.mac.size()); in serializeVerificationToken()160 serializedToken.insert(serializedToken.end(), token.mac.begin(), token.mac.end()); in serializeVerificationToken()161 return serializedToken; in serializeVerificationToken()165 const std::vector<uint8_t>& serializedToken) { in deserializeVerificationToken() argument166 if (serializedToken.size() < 24) { in deserializeVerificationToken()167 LOG(ERROR) << "Unexpected serialized VerificationToken size " << serializedToken.size() in deserializeVerificationToken()[all …]
63 const std::vector<uint8_t>& serializedToken);