0
Files
src/crypto
Alex Ilin ac03cf4cff [crypto] Fix UMA recording TPM key creation from a wrapped key on Win
Crypto.TPMOperation.Win.WrappedKeyCreation{RSA,ECDSA}.Error UMA records
wrapped key export operation whereas it's supposed to record wrapped key
import (see Crypto.TPMOperation.WrappedKeyCreation{RSA,ECDSA} as an
example).

This CL reworks TPM error histograms around wrapped keys:
- Adds `Crypto.TPMOperation.Win.WrappedKeyCreation.Error` histogram that
  records the wrapped key import. This histogram doesn't have an
  algorithm suffix since the selected algorithm is unknown until the key
  is successfully imported.
- Renames `Crypto.TPMOperation.Win.WrappedKeyCreation{RSA,ECDSA}.Error`
  as `Crypto.TPMOperation.Win.WrappedKeyExport{RSA,ECDSA}.Error` to
  avoid the confusion with the new histogram above and also other
  histograms with the "WrappedKeyCreation" suffix.

OBSOLETE_HISTOGRAM[Crypto.TPMOperation.Win.WrappedKeyCreationECDSA.Error]=Replaced by Crypto.TPMOperation.Win.WrappedKeyExportECDSA.Error
OBSOLETE_HISTOGRAM[Crypto.TPMOperation.Win.WrappedKeyCreationRSA.Error]=Replaced by Crypto.TPMOperation.Win.WrappedKeyExportRSA.Error

Bug: 347025280
Change-Id: Ib165e9849b5799a8152ca2dea2964d73dffa7a12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6167112
Reviewed-by: David Schinazi <dschinazi@chromium.org>
Reviewed-by: Adam Langley <agl@chromium.org>
Commit-Queue: Alex Ilin <alexilin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1405982}
2025-01-14 02:25:12 -08:00
..
2024-10-23 17:28:03 +00:00
2024-10-23 17:28:03 +00:00
2024-10-23 17:28:03 +00:00
2024-11-27 16:17:21 +00:00
2024-11-27 16:17:21 +00:00
2024-11-27 16:17:21 +00:00
2024-10-23 21:50:38 +00:00
2024-10-10 20:51:36 +00:00
2024-10-10 20:51:36 +00:00
2024-10-10 20:51:36 +00:00
2024-08-14 15:40:02 +00:00
2024-10-18 03:18:26 +00:00
2024-10-10 20:51:36 +00:00
2024-10-10 20:51:36 +00:00
2025-01-06 15:15:14 -08:00