ECDH: add missing f_rng parameter validation to mbedtls_ecdh_calc_secret #294
No reviewers
Labels
No labels
api-spec
bug
CLA requested
CLA valid
compliance
DO NOT MERGE
duplicate
enhancement
feature branch
good first issue
HEADER FORMATTING ISSUE
help wanted
Information
invalid
Jira status: AWAITING REVIEW
Jira status: CLOSED
Jira status: DONE
Jira status: IN PROGRESS
Jira status: IN REVIEW
Jira status: OPEN
Jira status: REOPENED
Jira status: RESOLVED
mirrored
mirror internally
needs: backports
needs: ci
needs: design review
needs: preceding PR
needs: review
needs: work
notabug
open for community contribution
Product Backlog
question
ready for merge
security
stale
type: bug
type: enhancement
type: question
web pages
wontfix
writing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-ARMmbed/mbed-crypto!294
Loading…
Reference in a new issue
No description provided.
Delete branch "iotssl-2853-f-rng-validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Internal reference: IOTSSL-2853
Since
NULLp_rngis a valid and used case, onlyf_rngvalidation to one place was added.CI failures look related to this PR
I don't think anything is missing here.
@ -705,6 +705,7 @@ int mbedtls_ecdh_calc_secret( mbedtls_ecdh_context *ctx, size_t *olen,ECDH_VALIDATE_RET( ctx != NULL );ECDH_VALIDATE_RET( olen != NULL );ECDH_VALIDATE_RET( buf != NULL );ECDH_VALIDATE_RET( f_rng != NULL );The documentation of this function says:
Closing, since this change is not needed.
Pull request closed