aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-16Fix libparc README.mdcframework/masterMauro Sardara1-1/+0
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ibff304fb12744ef8668dce6193cd5cbe8a40e3cc
2021-03-31[CICN-36] Add missing signing algorithm in libparcOlivier Roques1-0/+2
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: I528992dc16e57cbd258a0da945dc3f4de3f2799b
2021-02-11Updates for centos8 packaging.Mauro Sardara1-5/+2
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib948789d5ea902e6dcc984204e523b726bcf8bd0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-11-16[CICN-34] Add libparc packages for ubuntu 20.04Mauro Sardara1-2/+2
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I523fb30f6aa51166f9b9006cefcee395ef386121
2020-04-02[CICN-33] Remove version from dynamic libsAngelo Mantellini1-2/+0
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I3f50b8817f6ce494a514d68ce1bc0578b378384e
2020-01-30[HICN-489] Add iOS support to hicn stackAngelo Mantellini7-21/+18
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ibd3337e7336eefaaf425dffc4775a0c40499158b
2020-01-08[CICN-27] Fix invalid pointer deallocOlivier Roques1-2/+0
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 <oroques+fdio@cisco.com> Change-Id: Ibcde7dd7510d76f5aa91e5967a4261ec7eb49108
2019-12-13[CICN-26] Add support for HMACOlivier Roques2-23/+34
Add support for HMAC, a symmetric signature algorithm, and fix various bugs. Signed-off-by: Olivier Roques <olvrqs@gmail.com> Change-Id: Ic73e1f68813500fb37a8da4286424875438040f3
2019-10-29[CICN-23] Build arm64 deb packages for libparcAngelo Mantellini1-2/+1
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: I2545345ee97ab591c4b423b3404a5de1169f44df
2019-10-23[HICN-220] Build for arm64 Ubuntu18Angelo Mantellini1-1/+1
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: I3b9cfe9bdfb1da237d52733c885eb49e97930211
2019-10-17[CICN-22] Impossible to push arm packages in packagecloudAngelo Mantellini1-1/+2
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: I12f3c22537b9bd02e130e841c9cbc2c0ab87ce0c
2019-10-14[CICN-20] use-after-free causes several valgrind warningsJordan Augé1-1/+1
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> Change-Id: Ibeff21ff8533b02dc1541b6a31491eb7d762addc
2019-10-14[CICN-21] build for arm64 ubuntu 18Angelo Mantellini6-37/+44
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: I9895cbfdc1c32a46d67f40310ef08c8b66b02664
2019-09-26[HICN-284] Android log for libparcAngelo Mantellini3-3/+11
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: Iaec9ec7cd125eb4f9a391cd917a85a972e1c50b2
2019-03-16the definition of read is not enabled when c++ compiler is available (only ↵Angelo Mantellini1-4/+4
windows) Change-Id: I1dc33627a91a2a99a40d6a9f3714911a6e172f78 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-13Close, open and write are note redevined in C++Angelo Mantellini1-0/+4
Change-Id: Iaef43476705533de0a858f2b808382103a85a4bd Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-08Correct issue on windows. The file descriptor is closed by fclose.Angelo Mantellini1-0/+2
Change-Id: If33a88e3713cb93378536a90a9bc4a4eb8c42b40 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-08[CICN-19] Fixed missing allocation for holding the signature in SignDigestAlberto Compagno1-2/+2
Change-Id: Ie7bcb3c0404caffb11037b4c72f954d88c9c1e0e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-14[CICN-18] Correct CMake issue in Windows EnvironmentAngelo Mantellini1-2/+5
Change-Id: I85455ef8c8c01ac8eac02120096527523bb2e82a Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-13Reintroduced for backward compatibility the old api for signing packets that ↵Alberto Compagno6-18/+165
allocates the buffer holding the signature. Change-Id: I7ee9089b5cb1ec21fd0c5c27f9ee391cc294266b Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-07Code cleanupAlberto Compagno2-4/+1
Change-Id: Ia032d574a84db8688445567657bd2f970d79cbb3 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-02-07[CICN-15] Correct error about config.hAngelo Mantellini1-1/+3
Change-Id: I266753dee53376198333170110ecd6835515a76b Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-06[HICN-26] Windows compatibilty for libparcAngelo Mantellini300-330/+1887
Change-Id: I6ebff82a81a2bf42fa3bf210ff0e6e530ce21915 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-02-06[CICN-14] Removed copy of signature in libparc. The api now accepts a ↵Alberto Compagno4-27/+30
pointer to a buf where it stores the computed signature Change-Id: I4427a6399b5e74197303bade4f96ea74b370b07b Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-01-24Removed empty lines.Mauro Sardara1-2/+0
Change-Id: I05146ba0b991c9c67690e6a0a7273ebfac93375b Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-24[CICN-13] Add support for ubuntu18.04 packages.Mauro Sardara3-9/+9
Change-Id: Ie415ee7d9f998c51885720b5c24ae0a1961124f3 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-01-17Merge "parc assertions update" into cframework/masterLuca Muscariello1-52/+160
2019-01-17parc assertions updateGiovanni Conte1-52/+160
Change-Id: I39c8f9d1fa7a595e9833b838c476a0062c773521 Signed-off-by: Giovanni Conte <gconte@cisco.com>
2019-01-17add clang directives to avoid warningsAngelo Mantellini4-1/+34
Change-Id: I1ed298176ad1403ed089177a3cce4264f028bbbd Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
2019-01-16removed longbow dependencyGiovanni Conte148-872/+999
Change-Id: I0c224b26261c7b24699410fc5e41ed6f3fab9815 Signed-off-by: Giovanni Conte <gconte@cisco.com>
2019-01-16update readmeGiovanni Conte1-1/+1
Change-Id: I3fdab162a0bd4d09745288b4e958560d9d7badbc Signed-off-by: Giovanni Conte <gconte@cisco.com>
2018-11-26Added support for openssl 1.1.1Alberto Compagno3-4/+11
Change-Id: I596fd56152c32106c5279fc3033d48164328a903 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2018-11-09correct ios issue about processor variable definitionAngelo Mantellini1-2/+2
Change-Id: Iceb5de68357ee0d093d8218ae0c36264d7e2c01e Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
2018-06-20Solved memory leaks in parc_PublicKeySigner.cMauro Sardara1-0/+3
Change-Id: Icef730d16a5d0d4e6b077627ae23bd1c4e73996f Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-06-20Adding precompilation check for libc realloc function.Mauro Sardara8-0/+84
Change-Id: I328e45cd6eddbfd2af0e3f2098992dbf3bca74e9 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-06-12Remove automatic dependency resolution when building libparc deb packageMauro Sardara1-1/+1
Change-Id: I001e79a954c7c46548531a0b44942ff0f2bffcfe Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-06-07Added parc_KeyType to files to install in CMakeLists.txt.Mauro Sardara1-10/+11
Change-Id: I15386cfbca1ab4f6179e13b7a6d66c41c947529d Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-05-10Fixes for ECDSA signatureMauro Sardara2-1/+3
Change-Id: I0345d16e22024419e0a538c0a09376ef74b8e440 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-05-08Changed signature of parcIdentity_CreateSigner to add the crypto hash typeDevel2-4/+4
Change-Id: Ie696780bf85100733c8704f5c8a606bb100eef58 Signed-off-by: Devel <acompagn+fdio@cisco.com>
2018-05-08Removed cryptosuite as required parameter while reading p12. Added hashtypeDevel4-7/+6
Change-Id: I5628c4e34b236b02e2c524194735f67024014000 Signed-off-by: Devel <acompagn+fdio@cisco.com>
2018-04-16Merge "Added method to retrieve the signature length from the signer. Fixed ↵Alberto Compagno10-46/+132
bug on parc-publickey" into cframework/master
2018-04-16Added method to retrieve the signature length from the signer. Fixed bug on ↵Devel10-46/+132
parc-publickey Change-Id: If188601e83d0cebf42d2e868e1dce430eabfa1f2 Signed-off-by: Devel <acompagn+fdio@cisco.com>
2018-04-15Fixed bug in parcCryptoSuite_GetFromSigningHash()Mauro Sardara1-3/+3
Change-Id: I809091ebef73c00e6062620045d5419e721945b9 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-04-14Merge "Added method to retrieve a PARCCryptoSuite from a ↵Mauro Sardara12-64/+132
PARCSigningAlgorithm and a PARCCryptoHashType" into cframework/master
2018-04-14Added method to retrieve a PARCCryptoSuite from a PARCSigningAlgorithm and a ↵Devel12-64/+132
PARCCryptoHashType Change-Id: I98124a9315470ec2335dbc9dc079575c67f239c1 Signed-off-by: Devel <acompagn+fdio@cisco.com>
2018-04-14Added const to char pointers in parc_CertificateFactory.[ch]Mauro Sardara2-2/+2
Change-Id: Ib3cd60a8401c647352c198e26254cee7304a834d Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-04-12Added signature calculation and verification for ECDSADevel51-209/+2597
Change-Id: I946e146b9a6ae33ee294a09417e8366853faa502 Signed-off-by: Devel <acompagn+fdio@cisco.com>
2018-04-03Added missing definition about InMemoryVerifierInterfaceAlberto Compagno1-0/+1
Change-Id: I8324c92894ab4f7b6f74570b03f1da6d4773f5a3 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2018-03-19include openssl folderAngelo Mantellini2-0/+2
Change-Id: I3b6446c4755312761d23b88be1ef7fb9808815a1 Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
2018-03-19correct ANDROID definition (from _ANDROID_ to __ANDROID__)Angelo Mantellini2-2/+2
Change-Id: Ia6ef5e0901a03207c5150a6ef3f293bb674373a5 Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>