aboutsummaryrefslogtreecommitdiffstats
path: root/libparc
AgeCommit message (Collapse)AuthorFilesLines
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 Sardara2-5/+5
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>
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 Mantellini1-0/+1
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>
2018-03-07Fix version script.Mauro Sardara1-4/+5
Now it prints the correct rpm-version for libparc. Change-Id: I36bc88236802092ed4f6d96323f927db34a05a4c Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-03-05Merge "Trigger build of documentation" into cframework/masterMauro Sardara1-5/+5
2018-03-05Trigger build of documentationMauro Sardara1-5/+5
Change-Id: I600b976af14ac04c5d54fc0b89ba5c61848d0e98 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-02-27Merge "Minor fixes" into cframework/masterMauro Sardara1-47/+47
2018-02-27Minor fixesMauro Sardara1-47/+47
Change-Id: I3bd8e4671e4548ddb31f02c0427364f4839b79ea Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-02-27Merge "Added option in CMakeLists in order to avoid the dependencies check ↵Mauro Sardara1-2/+5
when building the documentation." into cframework/master
2018-02-27Added option in CMakeLists in order to avoid theMauro Sardara1-2/+5
dependencies check when building the documentation. Change-Id: I39db72a5e68815b35e584d705f86518409f5abe6 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-02-21update documentation headerLuca Muscariello2-2/+2
Change-Id: Ib836f8da296f1aaac4df88a6080f86ea8fb5eef3 Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>
2018-02-21update documentation headerLuca Muscariello2-0/+0
Change-Id: I17c4ec9fc0f82772d44bb37171b94b16c5320621 Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>
2018-02-02Removed useless dependencies from libparcMauro Sardara1-1/+1
Change-Id: Ie1b3af67cc984873bfe86bdb9c3a9ca3b8e1c336 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2018-02-02Fix libparc depsMauro Sardara1-1/+1
Change-Id: I6015766a6ee213366f34e564cffd5c85bbac5025 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>