hwcrypto: Add protectionIDs to keys

Added function to tag keys with protectionIDs. This
allow the key creator to limit the types of buffer
that a key can operate onto.

Bug: 284177057
Test: qemu android build
Change-Id: Ie0eb266c93877c690a1cf27b356c7f8f35b1fd97
5 files changed