Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dxz_chromeos.cc36 size_t out_pos = 0; in XzCompress() local
43 &out_pos, in XzCompress()
50 out->resize(out_pos); in XzCompress()
/system/update_engine/payload_consumer/
Dxz_extent_writer.cc88 request.out_pos = 0; in Write()
96 if (request.out_pos == 0) in Write()
100 underlying_writer_->Write(output_buffer.data(), request.out_pos)); in Write()
/system/security/keystore/
Dblob.cpp91 uint8_t* out_pos = out_tmp.get(); in AES_gcm_encrypt() local
94 EVP_EncryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_encrypt()
95 out_pos += out_len; in AES_gcm_encrypt()
96 EVP_EncryptFinal_ex(ctx.get(), out_pos, &out_len); in AES_gcm_encrypt()
97 out_pos += out_len; in AES_gcm_encrypt()
98 if (out_pos - out_tmp.get() != static_cast<ssize_t>(len)) { in AES_gcm_encrypt()
100 out_pos - out_tmp.get()); in AES_gcm_encrypt()
104 std::copy(out_tmp.get(), out_pos, out); in AES_gcm_encrypt()
130 uint8_t* out_pos = out_tmp.get(); in AES_gcm_decrypt() local
133 EVP_DecryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_decrypt()
[all …]