platform/core/api/libteec.git
3 years agoMark all TEEC APIs as deprecated since Tizen 6.5 79/252979/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211028.093753 accepted/tizen/7.0/unified/20221110.061313 accepted/tizen/7.0/unified/hotfix/20221116.104702 accepted/tizen/8.0/unified/20231005.092715 accepted/tizen/unified/20210219.040909 submit/tizen/20210217.173827 submit/tizen_6.5/20211028.161701 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
Dariusz Michaluk [Wed, 3 Feb 2021 13:33:50 +0000 (14:33 +0100)]
Mark all TEEC APIs as deprecated since Tizen 6.5

Change-Id: I500ed4d332db6821a0221c14f7be1d44cc49b3ba

5 years agoAdd PATH in script file(Security Policy) 49/203949/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.030704 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065351 accepted/tizen/5.5/unified/wearable/hotfix/20201027.121321 accepted/tizen/6.0/unified/20201030.122111 accepted/tizen/6.0/unified/hotfix/20201103.004411 accepted/tizen/6.0/unified/hotfix/20201103.051512 accepted/tizen/unified/20190418.145725 submit/tizen/20190418.080700 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 submit/tizen_5.5_wearable_hotfix/20201026.184302 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_5.5.m2_release tizen_6.0.m2_release
Dongsun Lee [Thu, 18 Apr 2019 08:03:11 +0000 (17:03 +0900)]
Add PATH in script file(Security Policy)

Change-Id: I81c0930f8a98b2cc81bd6a8a6922a9ad34cddd09
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
5 years agoCheck security.tee feature when opening context 66/181366/2
Igor Kotrasinski [Mon, 11 Jun 2018 10:55:30 +0000 (12:55 +0200)]
Check security.tee feature when opening context

All the other entry points check for initialized context, so there should be no
need to check the feature anywhere else.

Change-Id: I20f032f91714460e3dea1b2fafd2f83f8020a2cb
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
5 years agoUse proper braces for cmake variable references 68/191868/1
Krzysztof Jackiewicz [Wed, 24 Oct 2018 13:04:12 +0000 (15:04 +0200)]
Use proper braces for cmake variable references

Curly braces should be used for variable references in cmake scripts.

As a side effect this commit bypasses rpm's canonicalization issue and
makes tef_libteec.c debuggable.

Details:
1. Parenthesis instead of curly braces produce an include directory with
"//" in it that is later embeded in the binary.
2. Rpm's debugedit canonicalizes the path by removing one '/' making
it one character shorter.
3. Debugedit replaces the paths' prefixes in-place with shorter
'/usr/src/debug' adding another dummy entry in Directory Table filling
the remaining space with 'X'es.
4. Due to elf structure and in-place modification debugedit can't
handle the replacement of a path with 1 character shorter string.
5. Upstream version fails in such case but tizen.org silently ignores
it producing an invalid elf structure following the Directory Table
which is File Name Table used for list of debug sources.
6. During debugging the gdb points to non-existing file
XXXXXXXXXXXXXXXXXXXXXXXXX instead of tef_libtec.c

Change-Id: I2e5ae7ec30d4979845d03d455f754eff54427e7d

6 years agoRelease 0.0.2 72/175772/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.014042 accepted/tizen/unified/20180413.073547 submit/tizen/20180412.092951 submit/tizen_5.0/20181101.000002
Tomasz Swierczek [Thu, 12 Apr 2018 07:52:54 +0000 (09:52 +0200)]
Release 0.0.2

* Don't overwrite tef.conf during rpm update
* Specify license. Change from BSD to BSD-2-Clause.
* Correctly initialize shared->buffer in case of error, complete check params
* fix paramTypes convertion
* Use CMake variables for sbin and etc files

Change-Id: Ibdc108389645f4d6d90209cb5e9daf1425e31bd5

6 years agoDon't overwrite tef.conf during rpm update 24/174124/6
Krzysztof Jackiewicz [Wed, 28 Mar 2018 09:35:34 +0000 (11:35 +0200)]
Don't overwrite tef.conf during rpm update

When libteec rpm is updated it overwrites the existing tef configuration making
it use dummy implementation.

This commit marks tef.conf as config file preventing rpm from overwriting it.

Change-Id: I3a7c707ebea7814d52a3562b5ca1f5e2c26a5f73

6 years agoSpecify license. Change from BSD to BSD-2-Clause. 58/166158/4
r.tyminski [Mon, 8 Jan 2018 09:13:44 +0000 (10:13 +0100)]
Specify license. Change from BSD to BSD-2-Clause.

Change-Id: Id73340a11e62b63ef9aa6adab49eacb42c4f102f

6 years agoCorrectly initialize shared->buffer in case of error, complete check params 45/167245/4
Krzysztof Dynowski [Tue, 16 Jan 2018 10:09:37 +0000 (11:09 +0100)]
Correctly initialize shared->buffer in case of error, complete check params

Change-Id: I4fe11fe70d1ecfe0e7d1e6082cf3b466db79ed63

6 years agofix paramTypes convertion 39/167239/2
Krzysztof Dynowski [Tue, 16 Jan 2018 09:51:53 +0000 (10:51 +0100)]
fix paramTypes convertion

Change-Id: Ie30a9e72ebf379c3cc3282b4c4f65af7a41f744d

6 years agoMerge "Use CMake variables for sbin and etc files" into tizen
Krzysztof Dynowski [Wed, 10 Jan 2018 15:11:28 +0000 (15:11 +0000)]
Merge "Use CMake variables for sbin and etc files" into tizen

6 years agoUse CMake variables for sbin and etc files 84/166184/6
Igor Kotrasinski [Mon, 8 Jan 2018 13:09:40 +0000 (14:09 +0100)]
Use CMake variables for sbin and etc files

Change-Id: Ifb1002d68295fdade21e698490ab75a93920bae0
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
6 years ago[TEEC] TEF API compatible with VD, caused by C# API compatibility requirement 70/165870/2 accepted/tizen/unified/20180105.065637 submit/tizen/20180104.132150
Krzysztof Dynowski [Wed, 3 Jan 2018 12:16:52 +0000 (13:16 +0100)]
[TEEC] TEF API compatible with VD, caused by C# API compatibility requirement

Change-Id: I26102a69a036122bde3bd65b4e27c4210700e60d

6 years agoAdding missing BSD-2-Clause license. 28/162028/5
r.tyminski [Tue, 28 Nov 2017 13:16:53 +0000 (14:16 +0100)]
Adding missing BSD-2-Clause license.

BSD-2-Clause license is used by OpTEE tee_client_api.h

Change-Id: I9cfdec9d45f8c2529c4e0d022429dfaf221eece3

6 years agoRemember and set smack label while changing tef.conf. 37/159537/1
r.tyminski [Thu, 9 Nov 2017 11:51:47 +0000 (12:51 +0100)]
Remember and set smack label while changing tef.conf.

Change-Id: Iacc2acff56403093754683295b3ef41b9ce1f6bc

6 years agofix: copy also size and offset for memref 39/155239/1
Krzysztof Dynowski [Thu, 12 Oct 2017 10:44:36 +0000 (12:44 +0200)]
fix: copy also size and offset for memref

Change-Id: Iaedb63d738586fd1ea9a2159505d42b31307960b

6 years agofix: SharedMemory flags and size, Operation param types, result origin 71/151071/12 accepted/tizen/unified/20171010.063651 submit/tizen/20171006.123809 submit/tizen/20171006.161413 submit/tizen/20171006.165644
Krzysztof Dynowski [Tue, 19 Sep 2017 13:50:21 +0000 (15:50 +0200)]
fix: SharedMemory flags and size, Operation param types, result origin

Change-Id: I606e6890c46ba2c438c6b76fa45b2e968d6f1e5c

6 years agoReplace strcpy to strncpy due to security reason. 90/152390/1
Dongsun Lee [Tue, 26 Sep 2017 01:55:54 +0000 (10:55 +0900)]
Replace strcpy to strncpy due to security reason.

Change-Id: Ib27a3aac775b40e95fb5344062a6600ae78737b7
(cherry picked from commit 2e965bbe41a43690cf9533cf12e05422652d05a1)

6 years agoNative TEF API (GlobalPlatform/OpenSource) 21/141021/27 accepted/tizen/4.0/unified/20170919.172515 accepted/tizen/unified/20170915.192701 submit/tizen/20170914.115510 submit/tizen_4.0/20170918.070112
Krzysztof Dynowski [Thu, 27 Jul 2017 14:04:33 +0000 (16:04 +0200)]
Native TEF API (GlobalPlatform/OpenSource)

Change-Id: I51d198d5227643369f790c6b3f740bef937c1d69

6 years agoInitial empty repository master
Tizen Infrastructure [Wed, 26 Jul 2017 00:59:16 +0000 (00:59 +0000)]
Initial empty repository