Searched refs:encrypt_params (Results 1 – 1 of 1) sorted by relevance
/system/security/keystore/ |
D | keystore_client_impl.cpp | 91 AuthorizationSetBuilder encrypt_params; in encryptWithAuthentication() local 92 encrypt_params.Padding(KM_PAD_PKCS7); in encryptWithAuthentication() 93 encrypt_params.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC); in encryptWithAuthentication() 96 if (!oneShotOperation(KM_PURPOSE_ENCRYPT, encryption_key_name, encrypt_params.build(), data, in encryptWithAuthentication() 151 AuthorizationSetBuilder encrypt_params; in decryptWithAuthentication() local 152 encrypt_params.Padding(KM_PAD_PKCS7); in decryptWithAuthentication() 153 encrypt_params.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC); in decryptWithAuthentication() 154 encrypt_params.Authorization(keymaster::TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication() 156 if (!oneShotOperation(KM_PURPOSE_DECRYPT, encryption_key_name, encrypt_params.build(), in decryptWithAuthentication()
|