commit | a51a408d1236035baa346da404084287f50b2ef7 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Wed Jul 22 12:59:59 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Wed Jul 22 13:11:41 2015 -0700 |
tree | 94ec069b1ff693799d93ffe550f32c40cc06b5c3 | |
parent | f37253ef0060bc33592e53e9f3a7d5d26f78e909 [diff] |
Adjust Android Keystore AES-GCM test to handle IVs from BC. This adjusts Android Keystore AES-GCM test to handle the case where AES/GCM/NoPadding Cipher implementation of the highest priority provider can generate an IV which is not 12 bytes long. Android Keystore AES/GCM/NoPadding Cipher implementation only supports 12-byte IVs. Bouncy Castle's AES/GCM/NoPadding implementation generates 16-byte IVs. Bug: 22573249 Change-Id: Ia34837162ef374f8ab8203a7c3d2e7bf274ab992