summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Fan Xu <fanxu@google.com> 2018-12-19 11:03:14 -0800
committer Fan Xu <fanxu@google.com> 2019-01-09 14:20:12 -0800
commit55b26a6101460780acaa756ef43fbc73d1b82898 (patch)
tree051a863c43bb060af4cbe8247cbc7c160ca63d4a /vulkan/libvulkan/api.cpp
parent92b66e1871c43778988db9ca31bea26df68a6462 (diff)
Refactor bufferhub token to be more secure
Now BufferHubService will use HMAC hashing from openssl library to enhance the security of the token. The token handle will use its first int to store token id, then the HMAC hash of the token id, so that BufferHubService could store token in mTokenMap using token id as the key to improve looking up performance. Test: VtsHalBufferHubV1_0TargetTest Change-Id: Ica9639bc1504a477c6a1b1f703399bb07b3a2d2c Fix: 118180214
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions