/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/Public/ |
D | MobiCoreRegistry.h | 62 mcResult_t mcRegistryStoreAuthToken(const mcSoAuthTokenCont_t *so); 68 mcResult_t mcRegistryReadAuthToken(mcSoAuthTokenCont_t *so); 73 mcResult_t mcRegistryDeleteAuthToken(void); 79 mcResult_t mcRegistryStoreRoot(const mcSoRootCont_t *so); 85 mcResult_t mcRegistryReadRoot(mcSoRootCont_t *so); 92 mcResult_t mcRegistryStoreSp(mcSpid_t spid, const mcSoSpCont_t *so); 99 mcResult_t mcRegistryReadSp(mcSpid_t spid, mcSoSpCont_t *so); 106 mcResult_t mcRegistryCleanupSp(mcSpid_t spid); 113 mcResult_t mcRegistryStoreTrustletCon(const mcUuid_t *uuid, const mcSoTltCont_t *so); 120 mcResult_t mcRegistryReadTrustletCon(const mcUuid_t *uuid, mcSoTltCont_t *so); [all …]
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/public/ |
D | MobiCoreDriverApi.h | 72 typedef uint32_t mcResult_t; typedef 193 __MC_CLIENT_LIB_API mcResult_t mcOpenDevice( 211 __MC_CLIENT_LIB_API mcResult_t mcCloseDevice( 233 __MC_CLIENT_LIB_API mcResult_t mcOpenSession( 257 __MC_CLIENT_LIB_API mcResult_t mcCloseSession( 274 __MC_CLIENT_LIB_API mcResult_t mcNotify( 299 __MC_CLIENT_LIB_API mcResult_t mcWaitNotification( 325 __MC_CLIENT_LIB_API mcResult_t mcMallocWsm( 349 __MC_CLIENT_LIB_API mcResult_t mcFreeWsm( 378 __MC_CLIENT_LIB_API mcResult_t mcMap( [all …]
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/ |
D | CMcKMod.h | 60 mcResult_t mapWsm(uint32_t len, 77 mcResult_t mapMCI( 87 mcResult_t mapPersistent( 111 mcResult_t free(uint32_t handle, addr_t buffer, uint32_t len); 113 mcResult_t registerWsmL2( 120 mcResult_t unregisterWsmL2(uint32_t handle); 122 mcResult_t lockWsmL2(uint32_t handle); 124 mcResult_t unlockWsmL2(uint32_t handle); 126 mcResult_t cleanupWsmL2(void); 130 mcResult_t findContiguousWsm(uint32_t handle, addr_t *phys, uint32_t *len);
|
D | CMcKMod.cpp | 53 mcResult_t CMcKMod::mapWsm( in mapWsm() 105 mcResult_t CMcKMod::mapMCI( in mapMCI() 161 mcResult_t CMcKMod::mapPersistent( in mapPersistent() 309 mcResult_t CMcKMod::free(uint32_t handle, addr_t buffer, uint32_t len) in free() 335 mcResult_t CMcKMod::registerWsmL2( in registerWsmL2() 379 mcResult_t CMcKMod::unregisterWsmL2(uint32_t handle) in unregisterWsmL2() 398 mcResult_t CMcKMod::lockWsmL2(uint32_t handle) in lockWsmL2() 419 mcResult_t CMcKMod::unlockWsmL2(uint32_t handle) in unlockWsmL2() 463 mcResult_t CMcKMod::findContiguousWsm(uint32_t handle, addr_t *phys, uint32_t *len) in findContiguousWsm() 465 mcResult_t ret = MC_DRV_OK; in findContiguousWsm() [all …]
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
D | ClientLib.cpp | 174 __MC_CLIENT_LIB_API mcResult_t mcOpenDevice(uint32_t deviceId) in mcOpenDevice() 176 mcResult_t mcResult = MC_DRV_OK; in mcOpenDevice() 258 __MC_CLIENT_LIB_API mcResult_t mcCloseDevice( in mcCloseDevice() 262 mcResult_t mcResult = MC_DRV_OK; in mcCloseDevice() 298 __MC_CLIENT_LIB_API mcResult_t mcOpenSession( in mcOpenSession() 305 mcResult_t mcResult = MC_DRV_OK; in mcOpenSession() 459 __MC_CLIENT_LIB_API mcResult_t mcCloseSession(mcSessionHandle_t *session) in mcCloseSession() 461 mcResult_t mcResult = MC_DRV_OK; in mcCloseSession() 506 __MC_CLIENT_LIB_API mcResult_t mcNotify( in mcNotify() 510 mcResult_t mcResult = MC_DRV_OK; in mcNotify() [all …]
|
D | Session.cpp | 107 mcResult_t Session::addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf) in addBulkBuf() 126 mcResult_t ret = mcKMod->registerWsmL2(buf, len, 0, &handle, &pPhysWsmL2); in addBulkBuf() 161 mcResult_t Session::removeBulkBuf(addr_t virtAddr) in removeBulkBuf() 187 mcResult_t ret = mcKMod->unregisterWsmL2(pBlkBufDescr->handle); in removeBulkBuf()
|
D | Device.cpp | 151 mcResult_t Device::allocateContiguousWsm(uint32_t len, CWsm **wsm) in allocateContiguousWsm() 157 mcResult_t ret; in allocateContiguousWsm() 183 mcResult_t Device::freeContiguousWsm(CWsm_ptr pWsm) in freeContiguousWsm() 185 mcResult_t ret = MC_DRV_ERR_WSM_NOT_FOUND; in freeContiguousWsm()
|
D | Device.h | 128 mcResult_t allocateContiguousWsm( 138 mcResult_t freeContiguousWsm(
|
D | Session.h | 120 mcResult_t addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf); 130 mcResult_t removeBulkBuf(addr_t buf);
|
/hardware/samsung_slsi/exynos5/libsecurepath/ |
D | tlc_communication.cpp | 24 mcResult_t tlc_open(mc_comm_ctx *comm_ctx) { in tlc_open() 25 mcResult_t mcRet; in tlc_open() 66 mcResult_t tlc_close(mc_comm_ctx *comm_ctx) { in tlc_close() 67 mcResult_t mcRet; in tlc_close() 105 mcResult_t tlc_communicate(mc_comm_ctx *comm_ctx) { in tlc_communicate() 106 mcResult_t mcRet; in tlc_communicate()
|
D | content_protect.cpp | 28 static mcResult_t tlc_initialize(void) { in tlc_initialize() 29 mcResult_t mcRet; in tlc_initialize() 48 static mcResult_t tlc_terminate(void) { in tlc_terminate() 49 mcResult_t mcRet; in tlc_terminate() 68 mcResult_t mcRet; in CP_Enable_Path_Protection() 132 mcResult_t mcRet; in CP_Disable_Path_Protection()
|
D | tlc_communication.h | 34 mcResult_t tlc_open(mc_comm_ctx *comm_ctx); 35 mcResult_t tlc_close(mc_comm_ctx *comm_ctx); 36 mcResult_t tlc_communicate(mc_comm_ctx *comm_ctx);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/public/ |
D | MobiCoreDevice.h | 131 mcResult_t openSession(Connection *deviceConnection, 140 mcResult_t closeSession(uint32_t sessionId); 143 mcResult_t closeSession(Connection *deviceConnection, uint32_t sessionId); 147 … mcResult_t mapBulk(uint32_t sessionId, uint32_t handle, uint32_t pAddrL2, uint32_t offsetPayload, 150 …mcResult_t unmapBulk(uint32_t sessionId, uint32_t handle, uint32_t secureVirtualAdr, uint32_t lenB… 156 …mcResult_t getMobiCoreVersion(mcDrvRspGetMobiCoreVersionPayload_ptr pRspGetMobiCoreVersionPayload);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/ |
D | Registry.cpp | 84 mcResult_t mcRegistryStoreAuthToken( in mcRegistryStoreAuthToken() 114 mcResult_t mcRegistryReadAuthToken( in mcRegistryReadAuthToken() 145 mcResult_t mcRegistryDeleteAuthToken( in mcRegistryDeleteAuthToken() 156 mcResult_t mcRegistryStoreRoot( in mcRegistryStoreRoot() 186 mcResult_t mcRegistryReadRoot( in mcRegistryReadRoot() 218 mcResult_t mcRegistryStoreSp( in mcRegistryStoreSp() 249 mcResult_t mcRegistryReadSp( in mcRegistryReadSp() 282 mcResult_t mcRegistryStoreTrustletCon( in mcRegistryStoreTrustletCon() 313 mcResult_t mcRegistryReadTrustletCon( in mcRegistryReadTrustletCon() 346 mcResult_t mcRegistryStoreData( in mcRegistryStoreData() [all …]
|
/hardware/samsung_slsi/exynos5/libkeymaster/ |
D | tlcTeeKeymaster_if.c | 56 mcResult_t mcRet; in TEE_Open() 116 mcResult_t mcRet; in TEE_Close() 165 mcResult_t mcRet; in TEE_RSAGenerateKeyPair() 262 mcResult_t mcRet; in TEE_RSASign() 392 mcResult_t mcRet; in TEE_RSAVerify() 511 mcResult_t mcRet; in TEE_HMACKeyGenerate() 603 mcResult_t mcRet; in TEE_HMACSign() 731 mcResult_t mcRet; in TEE_HMACVerify() 867 mcResult_t mcRet; in TEE_KeyImport() 973 mcResult_t mcRet; in TEE_GetPubKey()
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
D | MobiCoreDevice.cpp | 248 mcResult_t MobiCoreDevice::openSession( in openSession() 385 mcResult_t MobiCoreDevice::closeSession(uint32_t sessionId) in closeSession() 426 mcResult_t MobiCoreDevice::closeSession(Connection *deviceConnection, uint32_t sessionId) in closeSession() 448 mcResult_t MobiCoreDevice::mapBulk(uint32_t sessionId, uint32_t handle, uint32_t pAddrL2, in mapBulk() 494 mcResult_t MobiCoreDevice::unmapBulk(uint32_t sessionId, uint32_t handle, in unmapBulk() 593 mcResult_t MobiCoreDevice::getMobiCoreVersion( in getMobiCoreVersion()
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/ |
D | MobiCoreDriverDaemon.cpp | 212 mcResult_t code in writeResult() 218 return connection->writeData(&code, sizeof(mcResult_t)); in writeResult() 444 mcResult_t ret = device->openSession( in processOpenSession() 485 mcResult_t ret = device->closeSession(connection, cmdCloseSession.sessionId); in processCloseSession() 610 mcResult_t mcResult = device->mapBulk(cmd.sessionId, cmd.handle, pAddrL2, in processMapBulkBuf() 680 mcResult_t mcResult = device->getMobiCoreVersion(&rspGetMobiCoreVersion.payload); in processGetMobiCoreVersion() 960 mcResult_t mcResult = mobiCoreDevice->getMobiCoreVersion(&versionPayload); in checkMobiCoreVersion()
|
D | MobiCoreDriverDaemon.h | 129 mcResult_t code
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/ |
D | CKMod.h | 67 mcResult_t open(
|
D | CKMod.cpp | 67 mcResult_t CKMod::open(const char *deviceName) in open()
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/ |
D | TrustZoneDevice.cpp | 104 mcResult_t ret = pMcKMod->open(devFile); in initDevice() 380 mcResult_t ret = pMcKMod->mapMCI(len, &handle, &virtAddr, &physAddr, &isReused); in getMciInstance()
|