Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Z_MAX for kas-ffc #632

Merged
merged 2 commits into from
Jul 6, 2021
Merged

Change Z_MAX for kas-ffc #632

merged 2 commits into from
Jul 6, 2021

Conversation

abkarcher
Copy link
Contributor

From what I can tell, Z-MAX for KAS-FFC-SSC is 2048 bits, not 4096. tc->z is initiated with ACVP_KAS_FFC_BYTE_MAX, which is 2048. This was causing a possible undefined behavior situation for memcpy copying past the boundaries of the tc alloc, which made safeC issue warnings.

Tested with no issues on more than 1 vector set.

@abkarcher abkarcher requested a review from bfussell July 6, 2021 11:10
@abkarcher abkarcher merged commit beeaba3 into libacvp_1_4_0-throttle Jul 6, 2021
@abkarcher abkarcher deleted the feature/doc branch July 6, 2021 12:20
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