Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dcrypto.cpp100 uint8_t* out_pos = out_tmp.data(); in AES_gcm_encrypt() local
103 EVP_EncryptUpdate(ctx.get(), out_pos, &out_len, in, len); in AES_gcm_encrypt()
104 out_pos += out_len; in AES_gcm_encrypt()
105 EVP_EncryptFinal_ex(ctx.get(), out_pos, &out_len); in AES_gcm_encrypt()
106 out_pos += out_len; in AES_gcm_encrypt()
107 if (out_pos - out_tmp.data() != static_cast<ssize_t>(len)) { in AES_gcm_encrypt()
109 out_pos - out_tmp.data()); in AES_gcm_encrypt()
113 std::copy(out_tmp.data(), out_pos, out); in AES_gcm_encrypt()
138 uint8_t* out_pos = out_tmp.data(); in AES_gcm_decrypt() local
141 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.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()