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

Consistent buffer_size_limit assertions #614

Open
ionut-arm opened this issue Jun 9, 2022 · 0 comments
Open

Consistent buffer_size_limit assertions #614

ionut-arm opened this issue Jun 9, 2022 · 0 comments
Labels
bug Something isn't working small Effort label

Comments

@ionut-arm
Copy link
Member

The handling of the admin-set maximum buffer size (for responses) is inconsistent - some operations perform the check (e.g., psa_generate_random in the MbedCrypto provider), others do not (e.g., psa_generate_random in the TPM provider). Ideally, this should be checked consistently, for every (successful) response about to be sent out. We need to figure out if we want to impose this check on other buffers as well (for example, on the output of symmetric encryption or decryption operations).

@ionut-arm ionut-arm added bug Something isn't working small Effort label labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small Effort label
Projects
None yet
Development

No branches or pull requests

1 participant