summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Angelo Mantellini [Thu, 30 Jan 2020 09:18:47 +0000 (10:18 +0100)]
[HICN-489] Add iOS support to hicn stack
Signed-off-by: Angelo Mantellini <[email protected]>
Change-Id: Ibd3337e7336eefaaf425dffc4775a0c40499158b
Olivier Roques [Wed, 8 Jan 2020 12:04:48 +0000 (13:04 +0100)]
[CICN-27] Fix invalid pointer dealloc
There is a deallocation of an invalid pointer in the destructor
of an in-memory verifier object. This function is called by the
destructor of consumer socket which fails because of that. The
bug is visible only on Ubuntu 16.04.
The bug was introduced in CICN-26 as an artifact of attempts to
fix memory leaks in Android. There is no good reason to keep the
changes causing the problem and the concerned lines can be safely
removed.
Signed-off-by: Olivier Roques <[email protected]>
Change-Id: Ibcde7dd7510d76f5aa91e5967a4261ec7eb49108
Olivier Roques [Thu, 12 Dec 2019 11:40:49 +0000 (12:40 +0100)]
[CICN-26] Add support for HMAC
Add support for HMAC, a symmetric signature algorithm, and
fix various bugs.
Signed-off-by: Olivier Roques <[email protected]>
Change-Id: Ic73e1f68813500fb37a8da4286424875438040f3
Angelo Mantellini [Tue, 29 Oct 2019 15:43:18 +0000 (16:43 +0100)]
[CICN-23] Build arm64 deb packages for libparc
Signed-off-by: Angelo Mantellini <[email protected]>
Change-Id: I2545345ee97ab591c4b423b3404a5de1169f44df
Angelo Mantellini [Wed, 23 Oct 2019 13:54:49 +0000 (15:54 +0200)]
[HICN-220] Build for arm64 Ubuntu18
Signed-off-by: Angelo Mantellini <[email protected]>
Change-Id: I3b9cfe9bdfb1da237d52733c885eb49e97930211
Angelo Mantellini [Wed, 16 Oct 2019 16:21:07 +0000 (18:21 +0200)]
[CICN-22] Impossible to push arm packages in packagecloud
Signed-off-by: Angelo Mantellini <[email protected]>
Change-Id: I12f3c22537b9bd02e130e841c9cbc2c0ab87ce0c
Jordan Augé [Mon, 14 Oct 2019 14:26:22 +0000 (16:26 +0200)]
[CICN-20] use-after-free causes several valgrind warnings
Signed-off-by: Jordan Augé <[email protected]>
Change-Id: Ibeff21ff8533b02dc1541b6a31491eb7d762addc
Angelo Mantellini [Wed, 9 Oct 2019 08:17:00 +0000 (10:17 +0200)]
[CICN-21] build for arm64 ubuntu 18
Signed-off-by: Angelo Mantellini <[email protected]>
Change-Id: I9895cbfdc1c32a46d67f40310ef08c8b66b02664
Angelo Mantellini [Fri, 20 Sep 2019 14:58:12 +0000 (16:58 +0200)]
[HICN-284] Android log for libparc
Signed-off-by: Angelo Mantellini <[email protected]>
Change-Id: Iaec9ec7cd125eb4f9a391cd917a85a972e1c50b2
Angelo Mantellini [Sat, 16 Mar 2019 10:14:46 +0000 (11:14 +0100)]
the definition of read is not enabled when c++ compiler is available (only windows)
Change-Id: I1dc33627a91a2a99a40d6a9f3714911a6e172f78
Signed-off-by: Angelo Mantellini <[email protected]>
Angelo Mantellini [Wed, 13 Mar 2019 16:16:46 +0000 (17:16 +0100)]
Close, open and write are note redevined in C++
Change-Id: Iaef43476705533de0a858f2b808382103a85a4bd
Signed-off-by: Angelo Mantellini <[email protected]>
Angelo Mantellini [Fri, 8 Mar 2019 19:37:28 +0000 (20:37 +0100)]
Correct issue on windows. The file descriptor is closed by fclose.
Change-Id: If33a88e3713cb93378536a90a9bc4a4eb8c42b40
Signed-off-by: Angelo Mantellini <[email protected]>
Alberto Compagno [Fri, 8 Mar 2019 13:09:28 +0000 (14:09 +0100)]
[CICN-19] Fixed missing allocation for holding the signature in SignDigest
Change-Id: Ie7bcb3c0404caffb11037b4c72f954d88c9c1e0e
Signed-off-by: Alberto Compagno <[email protected]>
Angelo Mantellini [Thu, 14 Feb 2019 16:05:50 +0000 (17:05 +0100)]
[CICN-18] Correct CMake issue in Windows Environment
Change-Id: I85455ef8c8c01ac8eac02120096527523bb2e82a
Signed-off-by: Angelo Mantellini <[email protected]>
Alberto Compagno [Wed, 13 Feb 2019 15:34:18 +0000 (16:34 +0100)]
Reintroduced for backward compatibility the old api for signing packets that allocates the buffer holding the signature.
Change-Id: I7ee9089b5cb1ec21fd0c5c27f9ee391cc294266b
Signed-off-by: Alberto Compagno <[email protected]>
Alberto Compagno [Thu, 7 Feb 2019 12:55:38 +0000 (13:55 +0100)]
Code cleanup
Change-Id: Ia032d574a84db8688445567657bd2f970d79cbb3
Signed-off-by: Alberto Compagno <[email protected]>
Angelo Mantellini [Thu, 7 Feb 2019 10:36:30 +0000 (11:36 +0100)]
[CICN-15] Correct error about config.h
Change-Id: I266753dee53376198333170110ecd6835515a76b
Signed-off-by: Angelo Mantellini <[email protected]>
Angelo Mantellini [Tue, 5 Feb 2019 07:50:26 +0000 (08:50 +0100)]
[HICN-26] Windows compatibilty for libparc
Change-Id: I6ebff82a81a2bf42fa3bf210ff0e6e530ce21915
Signed-off-by: Angelo Mantellini <[email protected]>
Alberto Compagno [Wed, 6 Feb 2019 11:05:58 +0000 (12:05 +0100)]
[CICN-14] Removed copy of signature in libparc. The api now accepts a pointer to a buf where it stores the computed signature
Change-Id: I4427a6399b5e74197303bade4f96ea74b370b07b
Signed-off-by: Alberto Compagno <[email protected]>
Mauro Sardara [Thu, 24 Jan 2019 17:02:04 +0000 (18:02 +0100)]
Removed empty lines.
Change-Id: I05146ba0b991c9c67690e6a0a7273ebfac93375b
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 24 Jan 2019 09:05:46 +0000 (10:05 +0100)]
[CICN-13] Add support for ubuntu18.04 packages.
Change-Id: Ie415ee7d9f998c51885720b5c24ae0a1961124f3
Signed-off-by: Mauro Sardara <[email protected]>
Luca Muscariello [Thu, 17 Jan 2019 16:58:03 +0000 (16:58 +0000)]
Merge "parc assertions update" into cframework/master
Giovanni Conte [Thu, 17 Jan 2019 16:47:20 +0000 (17:47 +0100)]
parc assertions update
Change-Id: I39c8f9d1fa7a595e9833b838c476a0062c773521
Signed-off-by: Giovanni Conte <[email protected]>
Angelo Mantellini [Thu, 17 Jan 2019 09:57:04 +0000 (10:57 +0100)]
add clang directives to avoid warnings
Change-Id: I1ed298176ad1403ed089177a3cce4264f028bbbd
Signed-off-by: Angelo Mantellini <[email protected]>
Giovanni Conte [Wed, 16 Jan 2019 11:09:43 +0000 (12:09 +0100)]
removed longbow dependency
Change-Id: I0c224b26261c7b24699410fc5e41ed6f3fab9815
Signed-off-by: Giovanni Conte <[email protected]>
Giovanni Conte [Wed, 16 Jan 2019 09:51:45 +0000 (10:51 +0100)]
update readme
Change-Id: I3fdab162a0bd4d09745288b4e958560d9d7badbc
Signed-off-by: Giovanni Conte <[email protected]>
Alberto Compagno [Mon, 26 Nov 2018 15:13:10 +0000 (16:13 +0100)]
Added support for openssl 1.1.1
Change-Id: I596fd56152c32106c5279fc3033d48164328a903
Signed-off-by: Alberto Compagno <[email protected]>
Angelo Mantellini [Fri, 9 Nov 2018 12:45:09 +0000 (13:45 +0100)]
correct ios issue about processor variable definition
Change-Id: Iceb5de68357ee0d093d8218ae0c36264d7e2c01e
Signed-off-by: Angelo Mantellini <[email protected]>
Mauro Sardara [Tue, 19 Jun 2018 16:22:16 +0000 (18:22 +0200)]
Solved memory leaks in parc_PublicKeySigner.c
Change-Id: Icef730d16a5d0d4e6b077627ae23bd1c4e73996f
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Tue, 19 Jun 2018 11:53:14 +0000 (13:53 +0200)]
Adding precompilation check for libc realloc function.
Change-Id: I328e45cd6eddbfd2af0e3f2098992dbf3bca74e9
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Tue, 12 Jun 2018 11:14:03 +0000 (13:14 +0200)]
Remove automatic dependency resolution when building libparc deb package
Change-Id: I001e79a954c7c46548531a0b44942ff0f2bffcfe
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 7 Jun 2018 12:06:23 +0000 (14:06 +0200)]
Added parc_KeyType to files to install in CMakeLists.txt.
Change-Id: I15386cfbca1ab4f6179e13b7a6d66c41c947529d
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 10 May 2018 09:11:48 +0000 (11:11 +0200)]
Fixes for ECDSA signature
Change-Id: I0345d16e22024419e0a538c0a09376ef74b8e440
Signed-off-by: Mauro Sardara <[email protected]>
Devel [Tue, 8 May 2018 16:19:13 +0000 (18:19 +0200)]
Changed signature of parcIdentity_CreateSigner to add the crypto hash type
Change-Id: Ie696780bf85100733c8704f5c8a606bb100eef58
Signed-off-by: Devel <[email protected]>
Devel [Tue, 8 May 2018 15:58:40 +0000 (17:58 +0200)]
Removed cryptosuite as required parameter while reading p12. Added hashtype
Change-Id: I5628c4e34b236b02e2c524194735f67024014000
Signed-off-by: Devel <[email protected]>
Alberto Compagno [Mon, 16 Apr 2018 15:28:53 +0000 (15:28 +0000)]
Merge "Added method to retrieve the signature length from the signer. Fixed bug on parc-publickey" into cframework/master
Devel [Mon, 16 Apr 2018 14:52:31 +0000 (16:52 +0200)]
Added method to retrieve the signature length from the signer. Fixed bug on parc-publickey
Change-Id: If188601e83d0cebf42d2e868e1dce430eabfa1f2
Signed-off-by: Devel <[email protected]>
Mauro Sardara [Sat, 14 Apr 2018 22:06:40 +0000 (00:06 +0200)]
Fixed bug in parcCryptoSuite_GetFromSigningHash()
Change-Id: I809091ebef73c00e6062620045d5419e721945b9
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Sat, 14 Apr 2018 21:15:13 +0000 (21:15 +0000)]
Merge "Added method to retrieve a PARCCryptoSuite from a PARCSigningAlgorithm and a PARCCryptoHashType" into cframework/master
Devel [Sat, 14 Apr 2018 14:22:36 +0000 (16:22 +0200)]
Added method to retrieve a PARCCryptoSuite from a PARCSigningAlgorithm and a PARCCryptoHashType
Change-Id: I98124a9315470ec2335dbc9dc079575c67f239c1
Signed-off-by: Devel <[email protected]>
Mauro Sardara [Fri, 13 Apr 2018 22:54:44 +0000 (00:54 +0200)]
Added const to char pointers in parc_CertificateFactory.[ch]
Change-Id: Ib3cd60a8401c647352c198e26254cee7304a834d
Signed-off-by: Mauro Sardara <[email protected]>
Devel [Thu, 12 Apr 2018 16:07:08 +0000 (18:07 +0200)]
Added signature calculation and verification for ECDSA
Change-Id: I946e146b9a6ae33ee294a09417e8366853faa502
Signed-off-by: Devel <[email protected]>
Alberto Compagno [Tue, 3 Apr 2018 10:20:39 +0000 (12:20 +0200)]
Added missing definition about InMemoryVerifierInterface
Change-Id: I8324c92894ab4f7b6f74570b03f1da6d4773f5a3
Signed-off-by: Alberto Compagno <[email protected]>
Angelo Mantellini [Mon, 19 Mar 2018 13:50:59 +0000 (14:50 +0100)]
include openssl folder
Change-Id: I3b6446c4755312761d23b88be1ef7fb9808815a1
Signed-off-by: Angelo Mantellini <[email protected]>
Angelo Mantellini [Mon, 19 Mar 2018 13:40:44 +0000 (14:40 +0100)]
correct ANDROID definition (from _ANDROID_ to __ANDROID__)
Change-Id: Ia6ef5e0901a03207c5150a6ef3f293bb674373a5
Signed-off-by: Angelo Mantellini <[email protected]>
Mauro Sardara [Wed, 7 Mar 2018 09:24:59 +0000 (10:24 +0100)]
Fix version script.
Now it prints the correct rpm-version for libparc.
Change-Id: I36bc88236802092ed4f6d96323f927db34a05a4c
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Mon, 5 Mar 2018 15:25:12 +0000 (15:25 +0000)]
Merge "Trigger build of documentation" into cframework/master
Mauro Sardara [Mon, 5 Mar 2018 15:23:47 +0000 (16:23 +0100)]
Trigger build of documentation
Change-Id: I600b976af14ac04c5d54fc0b89ba5c61848d0e98
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Tue, 27 Feb 2018 17:10:59 +0000 (17:10 +0000)]
Merge "Minor fixes" into cframework/master
Mauro Sardara [Tue, 27 Feb 2018 17:03:29 +0000 (18:03 +0100)]
Minor fixes
Change-Id: I3bd8e4671e4548ddb31f02c0427364f4839b79ea
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Tue, 27 Feb 2018 10:11:13 +0000 (10:11 +0000)]
Merge "Added option in CMakeLists in order to avoid the dependencies check when building the documentation." into cframework/master
Mauro Sardara [Tue, 27 Feb 2018 09:56:31 +0000 (10:56 +0100)]
Added option in CMakeLists in order to avoid the
dependencies check when building the documentation.
Change-Id: I39db72a5e68815b35e584d705f86518409f5abe6
Signed-off-by: Mauro Sardara <[email protected]>
Luca Muscariello [Wed, 21 Feb 2018 16:13:18 +0000 (17:13 +0100)]
update documentation header
Change-Id: Ib836f8da296f1aaac4df88a6080f86ea8fb5eef3
Signed-off-by: Luca Muscariello <[email protected]>
Luca Muscariello [Wed, 21 Feb 2018 16:07:07 +0000 (17:07 +0100)]
update documentation header
Change-Id: I17c4ec9fc0f82772d44bb37171b94b16c5320621
Signed-off-by: Luca Muscariello <[email protected]>
Luca Muscariello [Tue, 20 Feb 2018 21:59:35 +0000 (22:59 +0100)]
add new header in documentation
Change-Id: Ie63ba342cd584aec4e03e9bf1028bdf39761162c
Signed-off-by: Luca Muscariello <[email protected]>
Luca Muscariello [Tue, 20 Feb 2018 20:46:34 +0000 (21:46 +0100)]
fix documentation header
Change-Id: Ie56abe4054757f4eaca8070bd2fc3bd817335ae5
Signed-off-by: Luca Muscariello <[email protected]>
Mauro Sardara [Tue, 20 Feb 2018 18:19:36 +0000 (19:19 +0100)]
Trigger docs build
Change-Id: I2d0528263aeeff2b36e8078a525f1ea072a26c26
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 15 Feb 2018 16:41:33 +0000 (17:41 +0100)]
Trigger docs build
Change-Id: Iecac50b01eaa82cbae1a1a37203508123c82f42e
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Fri, 2 Feb 2018 16:45:39 +0000 (16:45 +0000)]
Merge "Removed useless dependencies from libparc" into cframework/master
Mauro Sardara [Fri, 2 Feb 2018 16:44:43 +0000 (17:44 +0100)]
Removed useless dependencies from libparc
Change-Id: Ie1b3af67cc984873bfe86bdb9c3a9ca3b8e1c336
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Fri, 2 Feb 2018 15:57:35 +0000 (15:57 +0000)]
Merge "Fix libparc deps" into cframework/master
Mauro Sardara [Fri, 2 Feb 2018 15:55:04 +0000 (16:55 +0100)]
Fix libparc deps
Change-Id: I6015766a6ee213366f34e564cffd5c85bbac5025
Signed-off-by: Mauro Sardara <[email protected]>
Angelo Mantellini [Mon, 22 Jan 2018 15:43:17 +0000 (16:43 +0100)]
correct __ANDROID__ define
Change-Id: Ic6138edfdd8e13ed525c12327111d48d6e008166
Signed-off-by: Angelo Mantellini <[email protected]>
Angelo Mantellini [Mon, 22 Jan 2018 14:57:57 +0000 (15:57 +0100)]
correct __ANDROID__ define
Change-Id: If05aca95913b0189d232a28eee3afcb205a2b3a2
Signed-off-by: Angelo Mantellini <[email protected]>
Mauro Sardara [Tue, 17 Oct 2017 13:17:50 +0000 (15:17 +0200)]
Removing LongBow asserts in release build.
Change-Id: Ia554a5f2bbf6e226652b93dfb6ae2a9f072003cc
Signed-off-by: Mauro Sardara <[email protected]>
michele papalini [Tue, 8 Aug 2017 16:19:51 +0000 (18:19 +0200)]
removed recoursive debuggin functions from RB tree
Change-Id: I53aa3b7848c1560cf67de10d6ad34ceba51f6891
Signed-off-by: michele papalini <[email protected]>
Mauro Sardara [Mon, 5 Jun 2017 13:06:32 +0000 (15:06 +0200)]
- Adding support for iOS
- Adding build type: DEBUG, RELEASE, RELEASE with debug symbols, RELEASE with min size executable
Change-Id: I3a52af68445264824476eab3d9f39b6f23f634b4
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 11 May 2017 14:25:39 +0000 (16:25 +0200)]
Adding missing binaries to package.
Change-Id: Ic31e60ea2309e32a6a0ec5b4625df5500099a793
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Sat, 29 Apr 2017 19:36:18 +0000 (21:36 +0200)]
Adding misssing dependency
Change-Id: Idf53e820c6ec8e70bd830b8c51a8597a8b9bb784
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Sat, 29 Apr 2017 15:44:58 +0000 (17:44 +0200)]
Fix typo in package dependency
Change-Id: I6cccc1962613278cf4eac7b46db39a15122c4106
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Sat, 29 Apr 2017 12:51:20 +0000 (14:51 +0200)]
Adding support for dev and doc packages.
Change-Id: Ibb653a761186861b84460b1eb13f7e572a81a56b
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Sat, 29 Apr 2017 02:30:05 +0000 (04:30 +0200)]
Adding support for building dev and doc packages.
Change-Id: I0631bbf72e23e8f03645f300f2b89980e91da6ec
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Wed, 19 Apr 2017 15:06:00 +0000 (17:06 +0200)]
Adding possibility to run building script from any folder.
Change-Id: If11d6d28473c8628d3fc4a03ac90964d1fc0f923
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 13 Apr 2017 09:44:29 +0000 (11:44 +0200)]
Adding support for package creation.
The script for creating the package is scripts/build-package.sh, and it will create the correct package depending
on the OS and the architecture users are running on.
Supported OS: Ubuntu 16.04, Ubuntu 14.04 and Centos7
Change-Id: I72bde4808067cd1dd80bb389b690d49e1b643f87
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Mon, 10 Apr 2017 10:54:43 +0000 (12:54 +0200)]
Updating longbow CMakeLists enabling assertions by default
Change-Id: Iab8d879d291511a2007e24696d4e3171329a2fe4
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Fri, 7 Apr 2017 18:26:06 +0000 (20:26 +0200)]
Adding packaging info to CMakeLists.txt
Change-Id: Id282857b8cd13d9a604250997b54b7111a910c18
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Fri, 7 Apr 2017 08:25:26 +0000 (10:25 +0200)]
Removed useless space
Change-Id: I4b39ddf5426d95b1d079cbe7d4852bded0223dc9
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 6 Apr 2017 15:25:47 +0000 (17:25 +0200)]
Minor modification
Change-Id: Id683657e83d5aa4fb5218f0316967cf6d8563b48
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Thu, 30 Mar 2017 12:00:56 +0000 (14:00 +0200)]
Removed additional lines
Change-Id: I90f4a9673ef3819eb1bc038cb229c0990a3430a3
Signed-off-by: Mauro Sardara <[email protected]>
Mauro Sardara [Mon, 27 Mar 2017 14:14:17 +0000 (16:14 +0200)]
Adding support for creating DEB and RPM packages
Change-Id: If97fbd6df4e3e82b7e251fa2d3f40d3862d1fcc5
Signed-off-by: Mauro Sardara <[email protected]>
Michele Papalini [Fri, 24 Feb 2017 08:00:33 +0000 (08:00 +0000)]
Merge "Initial commit: cframework. Longbow and Libparc" into cframework/master
Luca Muscariello [Thu, 23 Feb 2017 16:01:02 +0000 (17:01 +0100)]
Initial commit: cframework. Longbow and Libparc
Change-Id: I90378dbd30da6033b20fb1f829b3b822cf366c59
Signed-off-by: Luca Muscariello <[email protected]>
Luca Muscariello [Sun, 19 Feb 2017 21:36:22 +0000 (22:36 +0100)]
Adding README file with global repository description
Change-Id: Id8cb8202bfdb8b781cd38d0346462d6b6b100f19
Signed-off-by: Luca Muscariello <[email protected]>
Vanessa Rene Valderrama [Thu, 2 Feb 2017 17:08:11 +0000 (17:08 +0000)]
Initial empty repository