Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp1209 EVP_CIPHER_CTX e_ctx; in encrypt_master_key() local
1242 EVP_CIPHER_CTX_init(&e_ctx); in encrypt_master_key()
1243 if (!EVP_EncryptInit_ex(&e_ctx, EVP_aes_128_cbc(), NULL, ikey, in encrypt_master_key()
1248 EVP_CIPHER_CTX_set_padding(&e_ctx, 0); /* Turn off padding as our data is block aligned */ in encrypt_master_key()
1251 if (!EVP_EncryptUpdate(&e_ctx, encrypted_master_key, &encrypted_len, decrypted_master_key, in encrypt_master_key()
1256 if (!EVP_EncryptFinal_ex(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) { in encrypt_master_key()
1283 EVP_CIPHER_CTX_cleanup(&e_ctx); in encrypt_master_key()