OSDN Git Service

Fix SMP_Encrypt for data shorter than 16 bytes
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 18 Jun 2018 20:29:24 +0000 (13:29 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Mon, 18 Jun 2018 20:32:05 +0000 (20:32 +0000)
commitdb83273e52eafdd49c137e3207cf277b8affc3d0
treed0882025fa351f0dc9ad78d4422260265557461f
parent9fef1767909d02108938222df83a8455a817a271
Fix SMP_Encrypt for data shorter than 16 bytes

This bug was introduced in commit c3e7c878fe8495590f059547153bd77cdea322a6
osi_calloc was replaced with raw array, that is not wiped clean.

Change-Id: I57a4e7a26108ad4672d2dd2ff25028653c96ca1b
stack/smp/smp_keys.cc