Use key bundle name instead of key handle for HKDF "info" parameter
In the CryptAuth v2 Enrollment flow, a key derivation function (HKDF) is needed for symmetric key generation and symmetric key proof computation. The v2 Enrollment protocol specifies that the "info" input parameter to HKDF should be the key bundle name, e.g. "PublicKey" or "authzen"; however, we were previously using the key handle. We verified this through manual testing. Bug: 899080 Change-Id: I31e6d5d4aba819f17b960744bd70f80c07ea9867 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1504310 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#638378}
Showing
Please register or sign in to comment