Searched refs:out_tmp (Results 1 – 2 of 2) sorted by relevance
268 keymaster_blob_t out_tmp; in UpdateOperation() local271 input_consumed, &out_params, &out_tmp); in UpdateOperation()272 if (error == KM_ERROR_OK && out_tmp.data) in UpdateOperation()273 output->append(reinterpret_cast<const char*>(out_tmp.data), out_tmp.data_length); in UpdateOperation()274 free(const_cast<uint8_t*>(out_tmp.data)); in UpdateOperation()284 keymaster_blob_t out_tmp; in UpdateOperation() local287 input_consumed, &out_params, &out_tmp); in UpdateOperation()288 if (error == KM_ERROR_OK && out_tmp.data) in UpdateOperation()289 output->append(reinterpret_cast<const char*>(out_tmp.data), out_tmp.data_length); in UpdateOperation()290 free((void*)out_tmp.data); in UpdateOperation()[all …]
90 std::unique_ptr<uint8_t[]> out_tmp(new uint8_t[len]); in AES_gcm_encrypt() local91 uint8_t* out_pos = out_tmp.get(); 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()128 std::unique_ptr<uint8_t[]> out_tmp(new uint8_t[len]); in AES_gcm_decrypt() local129 ArrayEraser out_eraser(out_tmp.get(), len); in AES_gcm_decrypt()130 uint8_t* out_pos = out_tmp.get(); in AES_gcm_decrypt()140 if (out_pos - out_tmp.get() != static_cast<ssize_t>(len)) { in AES_gcm_decrypt()142 out_pos - out_tmp.get()); in AES_gcm_decrypt()[all …]