Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dcrypto.cpp99 std::vector<uint8_t> out_tmp(len); in AES_gcm_encrypt() local
100 uint8_t* out_pos = out_tmp.data(); 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()
136 std::vector<uint8_t> out_tmp(len); in AES_gcm_decrypt() local
137 ArrayEraser out_eraser(out_tmp.data(), len); in AES_gcm_decrypt()
138 uint8_t* out_pos = out_tmp.data(); in AES_gcm_decrypt()
149 if (out_pos - out_tmp.data() != static_cast<ssize_t>(len)) { in AES_gcm_decrypt()
151 out_pos - out_tmp.data()); in AES_gcm_decrypt()
[all …]