platform/core/security/trusted/key-manager-ta.git
6 years agoRevert "Disable building repository with ASan extra packs" sandbox/dkson95/asan
Dongkyun Son [Tue, 10 Apr 2018 15:49:45 +0000 (00:49 +0900)]
Revert "Disable building repository with ASan extra packs"

This reverts commit 074a6a7fdd66202273e3793d8c6baf226726d58b.

6 years agoMerge "Restart key-manager after TA installation" into tizen
Rafa? Tymi?ski [Fri, 9 Mar 2018 10:57:10 +0000 (10:57 +0000)]
Merge "Restart key-manager after TA installation" into tizen

6 years agoMerge "Properly install manifest files" into tizen
Rafa? Tymi?ski [Fri, 9 Mar 2018 10:57:01 +0000 (10:57 +0000)]
Merge "Properly install manifest files" into tizen

6 years agoMerge "Free leaking TEE_OperationHandle" into tizen
Rafa? Tymi?ski [Fri, 9 Mar 2018 10:56:50 +0000 (10:56 +0000)]
Merge "Free leaking TEE_OperationHandle" into tizen

6 years agoMerge "Use bytes instead of bits in TEE_InitRefAttribute" into tizen
Rafa? Tymi?ski [Fri, 9 Mar 2018 10:56:37 +0000 (10:56 +0000)]
Merge "Use bytes instead of bits in TEE_InitRefAttribute" into tizen

6 years agoDisable building repository with ASan extra packs 98/171898/1 accepted/tizen/unified/20180309.202938 submit/tizen/20180308.045851
Dongsun Lee [Thu, 8 Mar 2018 04:53:29 +0000 (13:53 +0900)]
Disable building repository with ASan extra packs

Change-Id: I72de104dcb239a449c388d1f5cac6226d4e4df08
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
6 years agoSVACE: Fix accidential case statement fall throughs 06/170506/1 accepted/tizen/4.0/unified/20180222.080119 accepted/tizen/unified/20180222.080223 submit/tizen/20180221.122756 submit/tizen_4.0/20180221.122932
Lukasz Kostyra [Tue, 20 Feb 2018 09:35:30 +0000 (10:35 +0100)]
SVACE: Fix accidential case statement fall throughs

Change-Id: Ie266437477eacc6c146bc9b57703692fb32db5e5

6 years agoRestart key-manager after TA installation 71/170271/1
Krzysztof Jackiewicz [Fri, 16 Feb 2018 13:07:47 +0000 (14:07 +0100)]
Restart key-manager after TA installation

Key-manager may keep the session to the previous TA. Restart it so that it
opens the session to the new one.

Change-Id: Id6a6de73fb3a1e23b555d8345f34806f009b0beb

6 years agoProperly install manifest files 70/170270/1
Krzysztof Jackiewicz [Fri, 16 Feb 2018 12:58:34 +0000 (13:58 +0100)]
Properly install manifest files

Change-Id: Ib081fe61cb0f138726f84b702bcf08fbc0bca4ec

6 years agoFree leaking TEE_OperationHandle 58/170258/2
Krzysztof Jackiewicz [Fri, 16 Feb 2018 09:15:39 +0000 (10:15 +0100)]
Free leaking TEE_OperationHandle

Change-Id: I75e4f51056c69fc4d74bdedf473d00b486050a5e

6 years agoUse bytes instead of bits in TEE_InitRefAttribute 55/170255/2
Krzysztof Jackiewicz [Thu, 15 Feb 2018 15:28:14 +0000 (16:28 +0100)]
Use bytes instead of bits in TEE_InitRefAttribute

According to TEE Internal Core API spec TEE_InitRefAttribute expects a buffer
length, so bytes instead of bits.

Change-Id: Ie5348a357b83cb727ffbfff9e5be633c5b8b1da9

6 years agoRemove unused WIP key verification code 07/161607/2 accepted/tizen/unified/20171205.155618 submit/tizen/20171205.074343
Igor Kotrasinski [Fri, 24 Nov 2017 09:37:35 +0000 (10:37 +0100)]
Remove unused WIP key verification code

This code is a non-functional WIP that is not used by key-manager. If
needed, we can restore it in the future.

Change-Id: I0e7d1840f7a6695dfb1342915c18a3262d1a71df
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
6 years agoTypo fixes in copypasted NULL comparisons 06/161606/2
Igor Kotrasinski [Thu, 23 Nov 2017 13:09:38 +0000 (14:09 +0100)]
Typo fixes in copypasted NULL comparisons

Change-Id: I5765575cf903400b6fbabcfb9b2c2eea49145dac
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
6 years agoFix license issues 96/161496/3
Krzysztof Jackiewicz [Thu, 23 Nov 2017 15:31:57 +0000 (16:31 +0100)]
Fix license issues

- Add license file
- Update License tag in spec
- Add missing license boilerplate
- Install the license file with rpms
- Change license headerĀ of user_ta_header_defines.h. The name contains only
  definitions requreed by Optee OS and as such it should not be considered a
  derivative work.

Change-Id: I0da62c022f83aca5b7bc13dd7ff863353d784c3e

6 years agoEnable OpTee build 64/161464/2 accepted/tizen/4.0/unified/20171124.063711 accepted/tizen/unified/20171124.064651 submit/tizen/20171123.135637 submit/tizen_4.0/20171123.135719 tizen_4.0.IoT.p2_release
Lukasz Kostyra [Thu, 23 Nov 2017 09:04:19 +0000 (10:04 +0100)]
Enable OpTee build

Change-Id: I1d5da59e911824674ee98e4d589b689962043ead

6 years agoRewrite symmetric crypto code to support key encryption 15/161315/1
Lukasz Kostyra [Wed, 15 Nov 2017 11:04:12 +0000 (12:04 +0100)]
Rewrite symmetric crypto code to support key encryption

Change-Id: I0bc9b507e146192f9ae2c75332227cafa9502c49

6 years agoSupport importing keys 53/160153/1
Lukasz Kostyra [Tue, 14 Nov 2017 14:44:34 +0000 (15:44 +0100)]
Support importing keys

Change-Id: If7509f02b32351c32dda9e58d5af3dc108b8cfae

6 years agoImplement PKCS7 and zero padding 28/149928/6
Lukasz Kostyra [Mon, 4 Sep 2017 13:13:01 +0000 (15:13 +0200)]
Implement PKCS7 and zero padding

PKCS7 padding is used in symmetric cipher operations, as GP API does not
support it natively.

Zero padding is used with PBKDF2 to allow passwords having less than 10
bytes.

Some minor bugs were also squashed to make the code fully working.

Change-Id: Ibec339af3e1adf2ff69d08a83baf07429ef567c3

6 years agoImplement PBKDF2 key derivation routine 27/149927/3
Lukasz Kostyra [Wed, 16 Aug 2017 12:05:23 +0000 (14:05 +0200)]
Implement PBKDF2 key derivation routine

Change-Id: I40882cda3a59eb12b04416859b027c8b4cda302a

6 years agoImplement digest and asymmetric operations 35/141235/3
Lukasz Kostyra [Fri, 28 Jul 2017 13:40:23 +0000 (15:40 +0200)]
Implement digest and asymmetric operations

Change-Id: Iaee5d63bea67887665f5c171230c73c89cf010a3

6 years agoAdjust TA to work with TEF Simulator 28/141128/4
Lukasz Kostyra [Thu, 20 Jul 2017 08:12:15 +0000 (10:12 +0200)]
Adjust TA to work with TEF Simulator

Change-Id: I52abe06fd92dac5c6c390ec1906cc7aab2b941e6

6 years agoFinish symmetric encryption, add missing AES CFB mode 27/141127/5
Lukasz Kostyra [Thu, 29 Jun 2017 12:10:52 +0000 (14:10 +0200)]
Finish symmetric encryption, add missing AES CFB mode

Because this is supposed to be a TA-only repo, the old
test CA code was removed, along with some deprecated
modules from early development stages.

Change-Id: I7414f1aa7254b78d9be4148ee324a9e74d400f3c

6 years agolog: printf in one call, add extra info 26/141126/4
Lukasz Kostyra [Tue, 6 Jun 2017 09:40:02 +0000 (11:40 +0200)]
log: printf in one call, add extra info

Change-Id: I1653832d0f408efbdfa6db628eba20ce10ec26b2

6 years agoAdjustments to KM TA, further implementation WIP 25/141125/3
Lukasz Kostyra [Wed, 31 May 2017 15:12:17 +0000 (17:12 +0200)]
Adjustments to KM TA, further implementation WIP

Change-Id: Ib68bb63c97080602d3fe9a232e4f6caa7d983d91

7 years agoAdding packaging that use optee-os-ta-devel toolkit 24/141124/2
r.tyminski [Tue, 27 Jun 2017 12:34:13 +0000 (14:34 +0200)]
Adding packaging that use optee-os-ta-devel toolkit

Change-Id: I4b52a284c27065e2166fb7a1f014e4ea2180fb2c

7 years agoInitial source code commit 22/141122/2
r.tyminski [Wed, 10 May 2017 13:19:58 +0000 (15:19 +0200)]
Initial source code commit

Change-Id: I22841985f12e09d22fbabcf4870ab17c8cc7434b

7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 3 Apr 2017 07:02:36 +0000 (00:02 -0700)]
Initial empty repository