blob: 164fc0d3f9163a6b79ca3c8081bca268c18c2300 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/network/trust_tokens/trust_token_parameterization.h"
#include "services/network/public/mojom/trust_tokens.mojom-forward.h"
namespace network {
size_t TrustTokenMaxKeysForVersion(mojom::TrustTokenProtocolVersion version) {
switch (version) {
case mojom::TrustTokenProtocolVersion::kTrustTokenV2Pmb:
return 3;
case mojom::TrustTokenProtocolVersion::kTrustTokenV2Voprf:
return 6;
}
}
} // namespace network