#ifndef COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_ECDSA_P256_UTILS_H_
#define COMPONENTS_WEB_PACKAGE_SIGNED_WEB_BUNDLES_ECDSA_P256_UTILS_H_
#include <cstdint>
#include "base/containers/span.h"
#include "components/web_package/signed_web_bundles/ecdsa_p256_public_key.h"
namespace web_package::internal {
bool IsValidEcdsaP256PublicKey(
base::span<const uint8_t, EcdsaP256PublicKey::kLength> public_key);
bool VerifyMessageSignedWithEcdsaP256SHA256(
base::span<const uint8_t> message,
base::span<const uint8_t> signature,
const EcdsaP256PublicKey& public_key);
}
#endif