[vlc-commits] keystore/file: encrypt/decrypt password via AndroidKeyStore

Thomas Guillem git at videolan.org
Fri Feb 26 10:59:16 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 18 09:12:41 2016 +0100| [394b4bf71e26e49bcc6f33f917b63dc7debf247c] | committer: Thomas Guillem

keystore/file: encrypt/decrypt password via AndroidKeyStore

This works only on Android M, the used cipher is AES/CBC/PKCS7Padding, the IV
(Initialisation Vector) is generated by Android, and the key is stored by
Android.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=394b4bf71e26e49bcc6f33f917b63dc7debf247c
---

 modules/keystore/Makefile.am          |    3 +
 modules/keystore/file_crypt.h         |    7 +-
 modules/keystore/file_crypt_android.c |  620 +++++++++++++++++++++++++++++++++
 3 files changed, 624 insertions(+), 6 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=394b4bf71e26e49bcc6f33f917b63dc7debf247c


More information about the vlc-commits mailing list