• Kenny Root's avatar
    keystore: Add flag for blobs to be unencrypted · f9119d64
    Kenny Root authored
    In order to let apps use keystore more productively, make the blob
    encryption optional. As more hardware-assisted keystores (i.e., hardware
    that has a Keymaster HAL) come around, encrypting blobs start to make
    less sense since the thing it's encrypting is usually a token and not
    any raw key material.
    
    (cherry picked from commit 0c540aad)
    
    Bug: 8122243
    Change-Id: Ie97f6df1ba141b1ed8007413ec1a834b0486cc2a
    f9119d64
keystore.cpp 68.5 KB