platform/core/security/libcryptsvc.git
9 months agoMigrate to openssl3 88/295688/1 accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_8.0 accepted/tizen/8.0/unified/20231005.093646 accepted/tizen/unified/20230821.162257 tizen_8.0_m2_release
Dariusz Michaluk [Wed, 12 Jul 2023 09:42:27 +0000 (11:42 +0200)]
Migrate to openssl3

Change-Id: Iecb10cdd8093b2d53f53bcba3b16276af3026c87

12 months agoFix debug build 86/291186/1
Krzysztof Jackiewicz [Tue, 11 Apr 2023 08:08:32 +0000 (10:08 +0200)]
Fix debug build

gbs build --define "build_type DEBUG" was failing because of a typo

Change-Id: I7e761b03c2e5ce6b03daee6362503664a87f11de

12 months agostrip duid-gadget executable in Release mode 72/291172/2 accepted/tizen/unified/20230421.033225
Dongsun Lee [Tue, 11 Apr 2023 06:04:12 +0000 (15:04 +0900)]
strip duid-gadget executable in Release mode

Change-Id: I7175542d54b3db97ef41dc2aeb9b900abf057a0b

3 years agoAdd error checking of PKCS5_PBKDF2_HMAC_SHA1 function 77/243977/1
Tomasz Swierczek [Fri, 11 Sep 2020 12:39:10 +0000 (14:39 +0200)]
Add error checking of PKCS5_PBKDF2_HMAC_SHA1 function

Change-Id: I937c1bf7764d2de16ddecf6c540ef3d88ac5c225

4 years agoAdd fixes for gcc 9 98/222498/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0_hotfix accepted/tizen/6.0/unified/20201030.115155 accepted/tizen/6.0/unified/hotfix/20201103.004314 accepted/tizen/6.5/unified/20211028.120807 accepted/tizen/7.0/unified/20221110.061717 accepted/tizen/7.0/unified/hotfix/20221116.105614 accepted/tizen/unified/20200116.103355 submit/tizen/20200116.024739 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 submit/tizen_6.5/20211028.162401 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
Tomasz Swierczek [Wed, 15 Jan 2020 12:37:25 +0000 (13:37 +0100)]
Add fixes for gcc 9

Change-Id: Ic1c3742b41591f22ecbec30bf140acc1cc17082f

4 years agoFix build failure in case of boost upgrade(1.66.0->1.71.0) 89/219689/2 accepted/tizen/unified/20191212.123709 submit/tizen/20191211.031516
Dongsun Lee [Mon, 9 Dec 2019 07:19:39 +0000 (16:19 +0900)]
Fix build failure in case of boost upgrade(1.66.0->1.71.0)

Change-Id: I29c506c1d35aaf5728abb42d8771c0623faa25c9
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
4 years agoReorganize arguments to BOOST_REQUIRE_MESSAGE 18/212818/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.023522 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090953 accepted/tizen/5.5/unified/wearable/hotfix/20201027.113545 accepted/tizen/unified/20190904.110643 submit/tizen/20190829.054731 submit/tizen/20190904.052237 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 submit/tizen_5.5_wearable_hotfix/20201026.184304 tizen_5.5.m2_release
Tomasz Swierczek [Tue, 27 Aug 2019 05:08:15 +0000 (07:08 +0200)]
Reorganize arguments to BOOST_REQUIRE_MESSAGE

Static analysis tools were complaining about assignment.

Change-Id: Iea9530b718d4aa823e01293fb6a81c95a9055f5c

4 years agoMigrate to openssl 1.1 05/206905/2 accepted/tizen/unified/20190705.110803 submit/tizen/20190704.112637
Konrad Lipinski [Tue, 28 May 2019 16:02:36 +0000 (18:02 +0200)]
Migrate to openssl 1.1

Change-Id: I393985ea92dcbaf75c0275f56e1f4d202ea46967

4 years agoMake spec compliant with gbs --incremental 02/206902/1
Konrad Lipinski [Tue, 28 May 2019 16:04:01 +0000 (18:04 +0200)]
Make spec compliant with gbs --incremental

According to [1], %prep section of the spec file should contain a single
%setup macro, nothing else. According to [2], manifest %files are best
copied to %{buildroot}%{_datadir} in the %install section.

Moved manifest copy operations from %prep to %install accordingly.

References
[1] https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build
[2] https://wiki.tizen.org/Security/Application_installation_and_Manifest

Change-Id: I96a6e3fcd8a0f1fdf16121e7d2ef77603200739b

4 years agoRemove unnecessary dependencies 67/206267/2 submit/tizen/20190606.103449
Dariusz Michaluk [Wed, 15 May 2019 16:10:52 +0000 (18:10 +0200)]
Remove unnecessary dependencies

Do not expose unnecessary libraries to the program
that is linking with libcryptsvc library.
If the program will not be using the symbols of the required library,
it should not be linking directly to that library.

pkg-config guide:
https://people.freedesktop.org/~dbn/pkg-config-guide.html

Change-Id: I7faa0e7b8414d3fd0ee7bb864239c2c50c86de37

5 years agoMake libcryptsvc compile with boost 1.65 64/183564/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.022020 accepted/tizen/unified/20180709.132419 submit/tizen/20180709.064753 submit/tizen_5.0/20181101.000004
Krzysztof Jackiewicz [Fri, 6 Jul 2018 13:35:00 +0000 (15:35 +0200)]
Make libcryptsvc compile with boost 1.65

Remove unnecessary ifdef and (void).

Change-Id: I971e950d87736bb422a29f3eb008be1f377fc3bf

5 years agoAdjust build to boost 1.65.1 38/181938/3 accepted/tizen/unified/20180621.141538 submit/tizen/20180621.091746
Tomasz Swierczek [Tue, 19 Jun 2018 05:54:16 +0000 (07:54 +0200)]
Adjust build to boost 1.65.1

Change-Id: Ic31a2e237154e92e3ca1309ad40a14e26b369f00

6 years agoReplace SHA1 to SHA256 on PUK generating logic 24/150324/1 accepted/tizen/unified/20171106.162831 submit/tizen/20171103.042839
sangwan.kwon [Thu, 14 Sep 2017 11:29:21 +0000 (07:29 -0400)]
Replace SHA1 to SHA256 on PUK generating logic

Change-Id: If7b368edbcc382587de28fdef13aabb184a2d076
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoUpgrade version to 0.0.2 25/129425/1 accepted/tizen/4.0/unified/20170816.012033 accepted/tizen/4.0/unified/20170829.020540 accepted/tizen/unified/20170517.080124 submit/tizen/20170517.012418 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 tizen_4.0.m1_release
sangwan.kwon [Tue, 16 May 2017 10:13:36 +0000 (19:13 +0900)]
Upgrade version to 0.0.2

Change-Id: I24eb59474e1f32d4d87f4612cf3fe5a6e8858710
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoSupport previous boost version on TC 20/128720/2
sangwan.kwon [Thu, 11 May 2017 06:51:30 +0000 (15:51 +0900)]
Support previous boost version on TC

* This could be revert when boost-version is completely upgraded.

Change-Id: I641d2db94b9e4aa9e712ba3a9ea501059990f883
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
7 years agoAdjust tizen coding rule 07/127407/1
sangwan.kwon [Thu, 27 Apr 2017 07:23:59 +0000 (16:23 +0900)]
Adjust tizen coding rule

Change-Id: Ie05c2149eea334829d6bdf9b0951ae301b4abbd0
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
7 years agoFix log fomatter according to boost version upgrade 82/125882/1
sangwan.kwon [Wed, 19 Apr 2017 05:47:18 +0000 (14:47 +0900)]
Fix log fomatter according to boost version upgrade

Change-Id: I78bc7a5438884b34c916d7651d34b1aa65bf5e61
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
8 years agoFix warning and add warning related gcc options 39/61639/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.141807 accepted/tizen/3.0.m2/tv/20170104.142139 accepted/tizen/3.0.m2/wearable/20170104.142432 accepted/tizen/3.0/common/20161114.110008 accepted/tizen/3.0/ivi/20161011.044347 accepted/tizen/3.0/mobile/20161015.033524 accepted/tizen/3.0/tv/20161016.005025 accepted/tizen/3.0/wearable/20161015.083245 accepted/tizen/common/20160311.201051 accepted/tizen/ivi/20160310.063418 accepted/tizen/mobile/20160310.063244 accepted/tizen/tv/20160310.063326 accepted/tizen/unified/20170309.033936 accepted/tizen/wearable/20160310.063353 submit/tizen/20160310.050225 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000003 submit/tizen_3.0_mobile/20161015.000003 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003 submit/tizen_unified/20170308.100409
Kyungwook Tak [Wed, 9 Mar 2016 09:11:15 +0000 (18:11 +0900)]
Fix warning and add warning related gcc options

Change-Id: Ieccac38280db7aff3094a6ea84907e48c44d3446
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoIntegrate dukgenerator API to cryptsvc 06/58606/3 accepted/tizen/ivi/20160218.024029 accepted/tizen/mobile/20160203.050937 accepted/tizen/tv/20160203.050950 accepted/tizen/wearable/20160203.051013 submit/tizen/20160202.104355 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Kyungwook Tak [Tue, 2 Feb 2016 07:32:04 +0000 (16:32 +0900)]
Integrate dukgenerator API to cryptsvc

Change-Id: Idfefdf9444a69fa7b9f18a2b249809f7abc89ad3
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agovisibility attribute move to function definition 86/58586/3
Kyungwook Tak [Tue, 2 Feb 2016 05:33:46 +0000 (14:33 +0900)]
visibility attribute move to function definition

visibility attribute for cryptsvc API move from function declaration
to function definition because API user doesn't care the visibility.

Additionally fix points of meaningless const casting & const needed

Change-Id: I26cc36b27dcf5558b0a465e5ba908e1743de70e4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRefactor build system and add internal test 56/58456/4
Kyungwook Tak [Mon, 1 Feb 2016 07:56:17 +0000 (16:56 +0900)]
Refactor build system and add internal test

* Refine cmake files
* Remove duplicated codes in duid-gadget
* Add internal test
* Remove useless files (.changes, NOTICE)

Change-Id: I5cc7e16db85cc734d65794f8a505bcdd1dfd8726
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd gitignore file 88/58588/1
Kyungwook Tak [Tue, 2 Feb 2016 06:00:00 +0000 (15:00 +0900)]
Add gitignore file

Change-Id: I8896b46c5165c96b0ea87a2723d16379adaec814
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRemove tzplatform config devel dependency 11/54211/2 accepted/tizen/mobile/20151214.134309 accepted/tizen/tv/20151214.135043 accepted/tizen/wearable/20151214.135640 submit/tizen/20151214.075428 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Kyungwook Tak [Mon, 14 Dec 2015 06:57:30 +0000 (15:57 +0900)]
Remove tzplatform config devel dependency

Change-Id: I9021992dc32df51282e6efd34e6dfa2efacfe8fd
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoSynchronize with tizen 2.4 90/50990/3 accepted/tizen/mobile/20151106.045922 accepted/tizen/tv/20151106.045943 accepted/tizen/wearable/20151106.045949 submit/tizen/20151106.010959
Dongsun Lee [Wed, 4 Nov 2015 08:49:48 +0000 (17:49 +0900)]
Synchronize with tizen 2.4

Change-Id: I719e3e4bcb123cd7fe5d6ac5c217e032399ea51a
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
9 years agoFixed packaging for 64bit architectures 28/26128/3 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20141002.100449 accepted/tizen/ivi/20141006.161445 submit/tizen/20141002.092832 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Vyacheslav Barinov [Mon, 18 Aug 2014 06:58:05 +0000 (10:58 +0400)]
Fixed packaging for 64bit architectures

The package has a hardcoded paths to libdir in CMakeLists.txt file which works
for 32-bit architectures, but trying to build package on aarch64 makes a problem
in packaging section because %{_libdir} macros has "/usr/lib64" on 64bit
architectures.

Now CMake uses paths defined by build system: it changes nothing for 32bit
architecture but packaging won't fail for 64bit builds anymore

Change-Id: I2a0fc1da429585a7bd1c0bffb0c8b5f50eab9b8e
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
9 years agoRemove debian directory and COPYING file 40/24740/1
seong.chung [Mon, 21 Jul 2014 05:11:07 +0000 (14:11 +0900)]
Remove debian directory and COPYING file

Change-Id: I9e1fb8fb137bb1f71cb1435e1399f7603b38d941
Signed-off-by: seong.chung <seong.chung@samsung.com>
9 years agoRemove Flora License 34/24734/1
seong.chung [Mon, 21 Jul 2014 01:15:23 +0000 (10:15 +0900)]
Remove Flora License

Change-Id: I1e4177cba14714538050bf6cb6a5f0d3a72d2a4d
Signed-off-by: seong.chung <seong.chung@samsung.com>
10 years agoconvert static library to shared library 15/18515/1
Chanho Park [Tue, 25 Mar 2014 05:47:55 +0000 (14:47 +0900)]
convert static library to shared library

This patch removes static library and convert it into source
files. Static library can't build if compiler is changed.
And we also removed tzcrypto API and library because we don't
use it anymore.

Change-Id: I06043c5867c63f5f833d7d538f882cbe85ab0cba
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
10 years agoSync with tizen_2.2 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_generic tizen_3.0.m14.2_ivi tizen_ivi_genivi accepted/tizen/20130912.094053 accepted/tizen/20130912.095658 accepted/tizen/20130912.150155 accepted/tizen/20130912.191746 accepted/tizen/20130912.195843 accepted/tizen/ivi/genivi/20140131.041919 accepted/tizen_ivi_stable/20131116.111627 ivi_oct_m2 submit/tizen/20130829.121231 submit/tizen/20130912.075936 submit/tizen/20130912.090245 submit/tizen_ivi_genivi/20140131.040633 submit/tizen_ivi_stable/20131116.100914 tizen_3.0.m14.2_ivi_release
so.yu [Thu, 29 Aug 2013 10:33:16 +0000 (19:33 +0900)]
Sync with tizen_2.2

Conflicts:
CMakeLists.txt

10 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.221331 submit/tizen/20130710.124523
Ryan Ware [Mon, 8 Jul 2013 17:07:18 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

10 years agoRemove unrecognized option for gcc-4.8
so.yu [Tue, 2 Jul 2013 14:34:56 +0000 (23:34 +0900)]
Remove unrecognized option for gcc-4.8

Change-Id: I9023a7fba7c91fa5b22e0476fb4013f1154a6bb3
Signed-off-by: so.yu <so.yu@samsung.com>
10 years agoresetting manifest requested domain to floor 34/5134/1
Alexandru Cornea [Mon, 1 Jul 2013 13:28:34 +0000 (16:28 +0300)]
resetting manifest requested domain to floor

10 years agoresetting manifest requested domain to floor 88/4488/1
Alexandru Cornea [Fri, 28 Jun 2013 14:00:03 +0000 (17:00 +0300)]
resetting manifest requested domain to floor

10 years agoFixed package metadata and description accepted/tizen/20130529.191111 submit/tizen/20130529.115330
Anas Nashif [Wed, 29 May 2013 11:53:26 +0000 (07:53 -0400)]
Fixed package metadata and description

10 years agoFixed package meta-data
Anas Nashif [Wed, 29 May 2013 11:50:57 +0000 (07:50 -0400)]
Fixed package meta-data

10 years agoChanges : Fix hardcoded library path for 64b compatibility 54/3754/1 accepted/tizen/20130529.151307 submit/tizen/20130529.151212
Xavier Roche [Wed, 29 May 2013 15:10:52 +0000 (17:10 +0200)]
Changes : Fix hardcoded library path for 64b compatibility

10 years agoFix hardcoded library path for 64b compatibility 53/3753/1
Xavier Roche [Wed, 29 May 2013 15:09:04 +0000 (17:09 +0200)]
Fix hardcoded library path for 64b compatibility

  - Fix hardcoded lib path
  - Use %cmake macro to set default path

10 years ago-avoid-version not recognised by compiler accepted/tizen/20130520.103533 submit/tizen/20130518.045619
Anas Nashif [Sat, 18 May 2013 04:56:15 +0000 (00:56 -0400)]
-avoid-version not recognised by compiler

10 years agoChange the License version from 1.0 into 1.1 tizen_2.1 accepted/tizen/20130520.101220 submit/tizen/20130517.045135 submit/tizen_2.1/20130514.052915
so.yu [Thu, 2 May 2013 01:26:15 +0000 (10:26 +0900)]
Change the License version from 1.0 into 1.1

Change-Id: I65ac59189f71da5b844debb2e1a38fb785dfed57
Signed-off-by: so.yu <so.yu@samsung.com>
11 years agoupdate license file 2.1b_release accepted/tizen_2.1/20130425.020419 submit/tizen_2.1/20130425.000145
KyungwooNoh [Thu, 18 Apr 2013 08:01:07 +0000 (17:01 +0900)]
update license file

Change-Id: Ic917bbf85889c8d2e0dd5891e33e1238fe61319f
Signed-off-by: KyungwooNoh <kw1004.noh@samsung.com>
11 years agoFix LDFLAG
so.yu [Sat, 6 Apr 2013 07:46:54 +0000 (16:46 +0900)]
Fix LDFLAG

Change-Id: Ida4da964be85d75728c77f37f4ec3452e4a049b0
Signed-off-by: so.yu <so.yu@samsung.com>
11 years agoModify the code about pkgconfig and remove trailing whitespace
so.yu [Fri, 5 Apr 2013 08:41:41 +0000 (17:41 +0900)]
Modify the code about pkgconfig and remove trailing whitespace

Change-Id: I0bc07bd568cc5d72e19f64e4bd8a27283cb96ce6
Signed-off-by: so.yu <so.yu@samsung.com>
11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:17:53 +0000 (01:17 +0900)]
merge with master

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:51:31 +0000 (01:51 +0900)]
Tizen 2.1 base

11 years agoInitial empty repository
HyungKyu Song [Fri, 7 Dec 2012 05:22:34 +0000 (14:22 +0900)]
Initial empty repository