Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dcrypto.cpp90 uint8_t* out_pos = out_tmp.data(); in AES_gcm_encrypt() local
93 EVP_EncryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_encrypt()
94 out_pos += out_len; in AES_gcm_encrypt()
95 EVP_EncryptFinal_ex(ctx.get(), out_pos, &out_len); in AES_gcm_encrypt()
96 out_pos += out_len; in AES_gcm_encrypt()
97 if (out_pos - out_tmp.data() != static_cast<ssize_t>(len)) { in AES_gcm_encrypt()
99 out_pos - out_tmp.data()); in AES_gcm_encrypt()
103 std::copy(out_tmp.data(), out_pos, out); in AES_gcm_encrypt()
128 uint8_t* out_pos = out_tmp.data(); in AES_gcm_decrypt() local
131 EVP_DecryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_decrypt()
[all …]
/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.cc87 request.out_pos = 0; in Write()
95 if (request.out_pos == 0) in Write()
99 underlying_writer_->Write(output_buffer.data(), request.out_pos)); in Write()
/system/core/fs_mgr/libsnapshot/
Dmake_cow_from_ab_ota.cpp584 args.out_pos = 0; in ProcessReplace()