aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc
AgeCommit message (Collapse)AuthorFilesLines
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
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 Mantellini6-16/+16
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-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 Mantellini5-0/+26
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: I9895cbfdc1c32a46d67f40310ef08c8b66b02664
2019-09-26[HICN-284] Android log for libparcAngelo Mantellini2-1/+9
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-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 Mantellini293-324/+1806
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-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 Conte140-838/+948
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 Sardara1-0/+2
Change-Id: I328e45cd6eddbfd2af0e3f2098992dbf3bca74e9 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-19correct ANDROID definition (from _ANDROID_ to __ANDROID__)Angelo Mantellini2-2/+2
Change-Id: Ia6ef5e0901a03207c5150a6ef3f293bb674373a5 Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
2017-08-08removed recoursive debuggin functions from RB treemichele papalini2-60/+0
Change-Id: I53aa3b7848c1560cf67de10d6ad34ceba51f6891 Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
2017-06-05- Adding support for iOSMauro Sardara1-23/+34
- Adding build type: DEBUG, RELEASE, RELEASE with debug symbols, RELEASE with min size executable Change-Id: I3a52af68445264824476eab3d9f39b6f23f634b4 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2017-05-11Adding missing binaries to package.Mauro Sardara1-3/+3
Change-Id: Ic31e60ea2309e32a6a0ec5b4625df5500099a793 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2017-04-29Adding support for dev and doc packages.Mauro Sardara1-11/+10
Change-Id: Ibb653a761186861b84460b1eb13f7e572a81a56b Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2017-02-23Initial commit: cframework. Longbow and LibparcLuca Muscariello461-0/+120601
Change-Id: I90378dbd30da6033b20fb1f829b3b822cf366c59 Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com>