OSDN Git Service

Add VTS for Wifi Keystore HAL's sign()
authorBranden Archer <brarcher@google.com>
Fri, 14 Dec 2018 23:01:05 +0000 (15:01 -0800)
committerBranden Archer <brarcher@google.com>
Tue, 29 Jan 2019 19:17:43 +0000 (11:17 -0800)
commit317497a9688f49a73efb5b963632e08fdc6c55b1
tree717b2c2702184c1bc6423156fc041deeeeb10389
parente142f41d629c8601b87375416448d0655616ea8f
Add VTS for Wifi Keystore HAL's sign()

This generates a signing key and attempts to use it
in the Wifi Keystore HAL's sign() call. This reproduces
the SIGSEGV in 120182820, and with the fix shows that
data can be signed.

Bug: 120182820
Test: atest system/hardware/interfaces/wifi/keystore/1.0/
            vts/functional/VtsHalWifiKeystoreV1_0TargetTest.cpp

Change-Id: I98afa26e7a54cacff8935a3420d0ea5a2ca5ac50
wifi/keystore/1.0/vts/functional/Android.bp
wifi/keystore/1.0/vts/functional/VtsHalWifiKeystoreV1_0TargetTest.cpp