History log of /hardware/samsung_slsi/exynos5/libkeymaster/keymaster_mobicore.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7604f7bcac36402e983db7ca6f391c90d175ab83 06-Sep-2013 Kenny Root <kroot@google.com> Use EVP_PKEY_get1_RSA to get RSA reference

EVP_PKEY structures could be of any number of key types. Switch to
EVP_PKEY_get1_RSA because that will check that the key type before it
tries to pull out the RSA pointer. This prevents crashes when the key
type is not actually RSA.

Bug: 10647482
Change-Id: I6848db52b04ed11331138ac00f0796574a87fa6a
/hardware/samsung_slsi/exynos5/libkeymaster/keymaster_mobicore.cpp
9449b168e067934c54cd846f61791cc8e52cea22 27-Apr-2013 Dima Zavin <dima@android.com> keystore: don't use binder input buffers for rsa sign/verify directly

The input buffers for RSA sign/verify are passed over the binder, which
maps it into this process as read-only. When this buffer is passed
to mobicore, it tries to pin the page with __get_user_pages with
PROT_WRITE, which fails. Since the mobicore transport code doesn't
know if the APIs are producers or consumers, it "rightfully" assumes
all buffers are read/write. The interface to trustzone currently
doesn't support specifying read/write access bits, so instead
we create a copy of the input data in a locally allocated
malloc buffer and use that instead.

Bug: 8019596
Change-Id: I3c77c893f674ec73196a8a2ea3e5a24fb9e3b860
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/samsung_slsi/exynos5/libkeymaster/keymaster_mobicore.cpp
90f24801864719d76f29800eb120a84829364031 15-Feb-2013 Kenny Root <kroot@google.com> Merge "Hardware keymaster HAL should not indicate 'software'"
e8f5f3e087df4825e30e25cb4bdd7daa02c73e65 29-Nov-2012 Kenny Root <kroot@google.com> Hardware keymaster HAL should not indicate 'software'

Remove the 'software' flag so that keystore knows that this is a
hardware implementation.

Bug: 7106634
Change-Id: I1eef2d3564dc4e687644bd156694c893cc9a8e8d
/hardware/samsung_slsi/exynos5/libkeymaster/keymaster_mobicore.cpp
0a978e72eb133fcee5e801226195e3ec6c2e7c21 15-Nov-2012 Kenny Root <kroot@google.com> Remove unnecessary dependency on keystore_client

Change-Id: I801740653a6a13cb85d85204e2c8fa1b5ea2f879
(cherry picked from commit 60b72f63f6d36cfc87319bd720a4467fece6a548)
/hardware/samsung_slsi/exynos5/libkeymaster/keymaster_mobicore.cpp
8eff0eb0768d4f98b3b1c63ff7c41c333ff1ddfc 31-Aug-2012 DongJin Park <djpax.park@samsung.com> exynos5: libkeymaster: add keymaster HAL for Exynos5

Change-Id: I5f89cbda9f24683ace7dd13e5d279af3546811e2
Signed-off-by: DongJin Park <djpax.park@samsung.com>
/hardware/samsung_slsi/exynos5/libkeymaster/keymaster_mobicore.cpp