Home
last modified time | relevance | path

Searched refs:encrypt_params (Results 1 – 1 of 1) sorted by relevance

/system/security/keystore/
Dkeystore_client_impl.cpp82 AuthorizationSetBuilder encrypt_params; in encryptWithAuthentication() local
83 encrypt_params.Padding(PaddingMode::PKCS7); in encryptWithAuthentication()
84 encrypt_params.Authorization(TAG_BLOCK_MODE, BlockMode::CBC); in encryptWithAuthentication()
87 if (!oneShotOperation(KeyPurpose::ENCRYPT, encryption_key_name, encrypt_params, data, in encryptWithAuthentication()
141 AuthorizationSetBuilder encrypt_params; in decryptWithAuthentication() local
142 encrypt_params.Padding(PaddingMode::PKCS7); in decryptWithAuthentication()
143 encrypt_params.Authorization(TAG_BLOCK_MODE, BlockMode::CBC); in decryptWithAuthentication()
144 encrypt_params.Authorization(TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication()
146 if (!oneShotOperation(KeyPurpose::DECRYPT, encryption_key_name, encrypt_params, in decryptWithAuthentication()