Enforce purpose checking on keymaster operations.

Bug: 20917242
Change-Id: Ifd1d64e67f85ee42caae768c4512804bbbe20ad0
4 files changed