platform/core/security/tef-simulator.git
6 years agossflib: Remove HW crypto routines 26/144726/2
Lukasz Kostyra [Thu, 17 Aug 2017 09:47:09 +0000 (11:47 +0200)]
ssflib: Remove HW crypto routines

ssflib had various leftovers from old implementation using hardware
to perform crypto operations. The hardware is not supported on simulator,
these code blocks were commented out, or put in "#if 0...#endif" blocks,
so for easier maintenance they were removed.

Change-Id: If1ccb76dce0cb63f567de314acc30e8b83cdd9f5

6 years agoteec: Increase permission level for shared memory 02/140602/4
Lukasz Kostyra [Tue, 25 Jul 2017 13:35:03 +0000 (15:35 +0200)]
teec: Increase permission level for shared memory

A temporary workaround to allow non-roots to create and access shared
memory objects. Definitely should be removed in the future.

Change-Id: I175b9ad5e265a9acb11542caa735512cd07b0c1b

6 years agossflib: Fixes to Transient Object (de)allocation 01/140601/4
Lukasz Kostyra [Tue, 25 Jul 2017 08:16:21 +0000 (10:16 +0200)]
ssflib: Fixes to Transient Object (de)allocation

TO allocation and deallocation was done incorrectly. Functions
TEE_AllocateTransientObject and TEE_FreeTransientObject were
rewritten to work correctly.

Change-Id: I717dd8e2922a5d209df61953a3c1f7c6201be870

6 years agoCreate TEF Simulator devkit package, make helloworld use it 29/139829/6
Lukasz Kostyra [Thu, 20 Jul 2017 12:49:50 +0000 (14:49 +0200)]
Create TEF Simulator devkit package, make helloworld use it

tee_internal_api.h was additionally modified to fit GP API
specification.

Change-Id: Ibbf7a23b0be5548064df6b6d404fc343070b4f6e

6 years agoChange TA store to /usr/lib, add helloworld 13/139613/3
Lukasz Kostyra [Wed, 19 Jul 2017 12:45:14 +0000 (14:45 +0200)]
Change TA store to /usr/lib, add helloworld

TA store directory was changed from /tmp/tastore, which was
not the best place to keep TA images - rebooting the device
would remove our TAs.

Change-Id: I684b2b2f166755a0243663ebe2c9e6d21defdbca

6 years agoBuild project with CMake, add rpmbuild spec 92/137592/4
Lukasz Kostyra [Thu, 6 Jul 2017 08:15:56 +0000 (10:15 +0200)]
Build project with CMake, add rpmbuild spec

Change-Id: I79609fde1ed6869d30294f5264988630874e3dcf

6 years agoImport new version of Simulator sources 45/140845/1
Lukasz Kostyra [Wed, 26 Jul 2017 08:20:05 +0000 (10:20 +0200)]
Import new version of Simulator sources

Change-Id: I64f7524b93963128b845b35a8c216ee54c389635

6 years agoFix source file permissions in the project 64/137064/1
Lukasz Kostyra [Tue, 4 Jul 2017 08:05:10 +0000 (10:05 +0200)]
Fix source file permissions in the project

Most files had unnecessary execute permission, which is now removed

Change-Id: Ic7a97b95c2a0167ecffc8be7077729b41ac43c4e

6 years agoRefactor code style to current project-like. 63/137063/1
u.harbuz [Tue, 4 Jul 2017 07:48:50 +0000 (09:48 +0200)]
Refactor code style to current project-like.

Change-Id: I42434a9d754604413c41bdc88dd8480b7dbe08a7

6 years agoRemove unneeded Eclipse project files 62/137062/1
Lukasz Kostyra [Mon, 3 Jul 2017 09:17:41 +0000 (11:17 +0200)]
Remove unneeded Eclipse project files

Change-Id: Id3837bd0fe99a2caddf0f1366147608040a4c118

6 years agoFix compilation errors of security.c 61/137061/1
u.harbuz [Fri, 23 Jun 2017 10:12:05 +0000 (12:12 +0200)]
Fix compilation errors of security.c

Change-Id: I22da6c5a9cd564dd81ee70cba1da2ee56e663cb2

6 years agoFix TA name passed to check. 60/137060/1
u.harbuz [Fri, 23 Jun 2017 09:40:50 +0000 (11:40 +0200)]
Fix TA name passed to check.

Change-Id: I02b928d40a64bbb7a77c36b4195055c324597453

6 years agoAdd security checking. 59/137059/1
u.harbuz [Fri, 23 Jun 2017 09:13:39 +0000 (11:13 +0200)]
Add security checking.

Change-Id: I09aacf1d31af84da2c6fb37e0aad3ed908504e8d

6 years agoFetch cryptocore_ae_decrypt body to header. 58/137058/1
u.harbuz [Thu, 18 May 2017 14:06:56 +0000 (16:06 +0200)]
Fetch cryptocore_ae_decrypt body to header.

Change-Id: If5bbc0b8937074acf3d7057e96c832e3139d829a

6 years agoRemove redefinitions of stdint types 57/137057/1
u.harbuz [Fri, 5 May 2017 09:03:07 +0000 (11:03 +0200)]
Remove redefinitions of stdint types

Change-Id: I36b61f17082e0dc14d4e4f17149b419002ef4365

6 years agoFix type casting. 56/137056/1
u.harbuz [Thu, 4 May 2017 15:21:47 +0000 (17:21 +0200)]
Fix type casting.

Change-Id: I7e2cf5cabaf0c9793fcf12bd4b74c72ffb17eba0

6 years agoAdd fPIC option to so compilation. 55/137055/1
u.harbuz [Thu, 4 May 2017 13:22:00 +0000 (15:22 +0200)]
Add fPIC option to so compilation.

Change-Id: Ibe88c4bc2625b76c3449c574d35dc93cf2c4aa2c

6 years agoFix platform dependent types casts. 54/137054/1
u.harbuz [Thu, 4 May 2017 13:07:52 +0000 (15:07 +0200)]
Fix platform dependent types casts.

Change-Id: I50ac18635a3cb0adfc9852a1d69f22f40be381e3

6 years agoDelete useless toolchain variable from makefile 53/137053/1
u.harbuz [Thu, 4 May 2017 11:39:15 +0000 (13:39 +0200)]
Delete useless toolchain variable from makefile

Change-Id: I573a2720eaddc811befc0535e7b4b1966e7239b8

6 years agoAdd gitignore 52/137052/1
u.harbuz [Thu, 4 May 2017 11:24:29 +0000 (13:24 +0200)]
Add gitignore

Change-Id: I110cb0b5ac72f053435a773292a5636b4c916a2d

6 years agoAdd TOOLCHAIN parameter to build script 51/137051/1
u.harbuz [Thu, 4 May 2017 11:22:16 +0000 (13:22 +0200)]
Add TOOLCHAIN parameter to build script

Change-Id: Ideab343585ea3f7f6725212e37f6c8a9958658bf

6 years agoInitial commit 50/137050/1
u.harbuz [Thu, 4 May 2017 11:13:54 +0000 (13:13 +0200)]
Initial commit

Change-Id: Ibd50eeba46cf910eb59bb45bc631b06c1e9bb742

7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 3 Apr 2017 06:45:13 +0000 (23:45 -0700)]
Initial empty repository