This is an archive of the discontinued LLVM Phabricator instance.

[X86] Support Intel Key Locker
ClosedPublic

Authored by xiangzhangllvm on Sep 28 2020, 2:17 AM.

Details

Summary

Key Locker provides a mechanism to encrypt and decrypt data with an AES key without having access
to the raw key value by converting AES keys into “handles”. These handles can be used to perform the
same encryption and decryption operations as the original AES keys, but they only work on the current
system and only until they are revoked. If software revokes Key Locker handles (e.g., on a reboot),
then any previous handles can no longer be used.

Diff Detail

Event Timeline

xiangzhangllvm created this revision.Sep 28 2020, 2:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2020, 2:17 AM
xiangzhangllvm requested review of this revision.Sep 28 2020, 2:17 AM
craig.topper added inline comments.Sep 29 2020, 8:11 PM
llvm/lib/Support/Host.cpp
1515

Remove commented out code

xiangzhangllvm marked an inline comment as done.
xiangzhangllvm added inline comments.
llvm/lib/Support/Host.cpp
1515

Done, TKS!

This revision is now accepted and ready to land.Sep 29 2020, 11:14 PM
This revision was automatically updated to reflect the committed changes.
xiangzhangllvm marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2020, 3:09 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Refine Clang format

Refine Clang format

Did you mean to upload to this old review?

Oh, sorry, It is a mistake, I planned to update to https://reviews.llvm.org/D105336
How can I revert this update ?

I'll use the old patch to recover it, thanks!

Use old patch to remove the "mistake update". (Nothing changed)