Searched refs:d_ctx (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 1294 EVP_CIPHER_CTX d_ctx; in decrypt_master_key_aux() local 1305 EVP_CIPHER_CTX_init(&d_ctx); in decrypt_master_key_aux() 1306 if (!EVP_DecryptInit_ex(&d_ctx, EVP_aes_128_cbc(), NULL, ikey, in decrypt_master_key_aux() 1310 EVP_CIPHER_CTX_set_padding(&d_ctx, 0); /* Turn off padding as our data is block aligned */ in decrypt_master_key_aux() 1312 if (!EVP_DecryptUpdate(&d_ctx, decrypted_master_key, &decrypted_len, encrypted_master_key, in decrypt_master_key_aux() 1316 if (!EVP_DecryptFinal_ex(&d_ctx, decrypted_master_key + decrypted_len, &final_len)) { in decrypt_master_key_aux() 1333 EVP_CIPHER_CTX_cleanup(&d_ctx); in decrypt_master_key_aux()
|