Skip to content

Cleanup#40

Merged
holger-dengler merged 4 commits intoopencryptoki:mainfrom
holger-dengler:cleanup
Apr 13, 2026
Merged

Cleanup#40
holger-dengler merged 4 commits intoopencryptoki:mainfrom
holger-dengler:cleanup

Conversation

@holger-dengler
Copy link
Copy Markdown
Contributor

This PR covers a few cleanups as preparation for the provider support. The most important one is the harmonization of the zpc API. As it breaks the former external API it will only go into v2 (and not in any of the libzpc1.* maintenance branches).

In some of the ecc API functions, the buffer length parameters are of
type `unsigned int`. All other API components use `size_t` for such
length parameters. To harmonize with these other APIs, change all
length parameter in ecc functions to type `size_t`.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
The target architecture is different from the host architecture in
cross-builds. Add the correct information to the s390x toolchain file.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
To follow the structure for other sections in the cmake definition, a
comment header is added for the test section.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Add line-breaks to the contribution rules to increase the readability
without a markdown-reader.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Copy link
Copy Markdown
Contributor

@ifranzki ifranzki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, if the changes from commit 1 only go into V2, since this breaks the API/ABI.

@holger-dengler
Copy link
Copy Markdown
Contributor Author

There is a new branch libzpc-1.5.y for fixes and maintenance of the "old" libzpc API. All work regarding the new provider API will go into the main branch.

@holger-dengler
Copy link
Copy Markdown
Contributor Author

Thx

@holger-dengler holger-dengler merged commit c5ab0e6 into opencryptoki:main Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants