Searched refs:token_buffer (Results 1 – 1 of 1) sorted by relevance
273 uint8_t *token_buffer = new(std::nothrow) uint8_t[sizeof(hw_auth_token_t)]; in MintAuthToken() local274 if (token_buffer == nullptr) return ERROR_MEMORY_ALLOCATION_FAILED; in MintAuthToken()276 *reinterpret_cast<hw_auth_token_t*>(token_buffer) = token; in MintAuthToken()278 *auth_token = { token_buffer, sizeof(hw_auth_token_t) }; in MintAuthToken()