Skip to content
Commit 6b5a85c9 authored by Christian Flach's avatar Christian Flach Committed by Chromium LUCI CQ
Browse files

signed-web-bundles: Use stronger key types in tests

Instead of using `std::vector<uint8_t>` to represent keys in tests, use
`Ed25519PublicKey` for public keys and `std::array<uint8_t, 64>` for
private keys (there is no separate wrapper type for private keys given
that private keys are only used in tests).

Bug: None
Change-Id: Icf297fa5a307cfe72f3185c65897254e9e7d016f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4020302


Reviewed-by: default avatarPhillis Tang <phillis@chromium.org>
Commit-Queue: Christian Flach <cmfcmf@chromium.org>
Reviewed-by: default avatarHayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072166}
parent 091c06e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment