Searched refs:e_ctx (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 1079 EVP_CIPHER_CTX e_ctx; in encrypt_master_key() local 1112 EVP_CIPHER_CTX_init(&e_ctx); in encrypt_master_key() 1113 if (! EVP_EncryptInit_ex(&e_ctx, EVP_aes_128_cbc(), NULL, ikey, ikey+KEY_LEN_BYTES)) { in encrypt_master_key() 1117 EVP_CIPHER_CTX_set_padding(&e_ctx, 0); /* Turn off padding as our data is block aligned */ in encrypt_master_key() 1120 if (! EVP_EncryptUpdate(&e_ctx, encrypted_master_key, &encrypted_len, in encrypt_master_key() 1125 if (! EVP_EncryptFinal_ex(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) { in encrypt_master_key() 1153 EVP_CIPHER_CTX_cleanup(&e_ctx); in encrypt_master_key()
|