Reallocate keymaster parameters with malloc.

Keystore assumes keymaster parameters are allocated with malloc but
keymaster's AuthorizationSet allocates with new[]. To avoid memory
corruption, reallocate with malloc before passing to keystore.

BUG: 24905120

Change-Id: I958d5060b08bb0c97eceded354241e0948d5f3b2
1 file changed
tree: fdb7eae9267e7749368e43b2a033023483d121f7
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/