| commit | bc0c74963418442991072b2c87baec839eec9c20 | [log] [tgz] |
|---|---|---|
| author | Darren Krahn <[email protected]> | Mon May 04 19:00:38 2015 -0700 |
| committer | ChromeOS Commit Bot <[email protected]> | Thu May 07 23:38:55 2015 +0000 |
| tree | 93d00abd6fc2d05cb8b027abbf0288392521a8b2 | |
| parent | 62c73fa5a343fbbf6a0b0176dd789352b85c44e5 [diff] |
attestation: Implemented an asymmetric Decrypt operation. Keys that are created with a KEY_USAGE_DECRYPT usage can be used to decrypt using this operation. The encrypted data must use the TPM_BOUND_DATA format and the TPM_ES_RSAESOAEP_SHA1_MGF1 mechanism. BUG=brillo:737 TEST=unit, manual using 'attestation_client decrypt' and 'attestation_client encrypt' Change-Id: Iae8fe01abf0c635d853974518c9b5e918f7b88c1 Reviewed-on: https://chromium-review.googlesource.com/269777 Reviewed-by: Alex Vakulenko <[email protected]> Reviewed-by: Utkarsh Sanghi <[email protected]> Commit-Queue: Darren Krahn <[email protected]> Tested-by: Darren Krahn <[email protected]>