Skip to content

Add SSHKDF in evp_kdf_test - #8774

Closed
simo5 wants to merge 1 commit into
openssl:masterfrom
simo5:sshkdf2
Closed

simo5 wants to merge 1 commit into
openssl:masterfrom
simo5:sshkdf2

Conversation

@simo5

@simo5 simo5 commented Apr 17, 2019

Copy link
Copy Markdown
Checklist
  • tests are added or updated

@simo5 simo5 mentioned this pull request Apr 17, 2019
2 tasks done
Comment thread test/evp_kdf_test.c Resolved
Comment thread test/evp_kdf_test.c Resolved
@simo5

simo5 commented Apr 17, 2019

Copy link
Copy Markdown
Author

Fixed the type parameter

Signed-off-by: Simo Sorce <[email protected]>
@simo5

simo5 commented Apr 17, 2019

Copy link
Copy Markdown
Author

And added comment on test data

@mattcaswell mattcaswell added the approval: review pending This pull request needs review by a committer label Apr 17, 2019
@slontis

slontis commented Apr 18, 2019 •

Copy link
Copy Markdown
Member

The other bit I was talking about is the ctrl string name for the digest in the SSHKDF code.
All other KDF's are using the name "digest" instead of "md". The EVP_KDF_CTX.pod documentation is incorrectly saying that it uses "md" (this doc been updated in PR #8762).

@levitte levitte added approval: done This pull request has the required number of approvals branch: master Applies to master branch and removed approval: review pending This pull request needs review by a committer labels Apr 18, 2019
levitte pushed a commit that referenced this pull request Apr 18, 2019
Signed-off-by: Simo Sorce <[email protected]>

Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
(Merged from #8774)
@simo5

simo5 commented Apr 18, 2019

Copy link
Copy Markdown
Author

The other bit I was talking about is the ctrl string name for the digest in the SSHKDF code.
All other KDF's are using the name "digest" instead of "md". The EVP_KDF_CTX.pod documentation is incorrectly saying that it uses "md" (this doc been updated in PR #8762).

Uhm this is sort of a breaking change (patches have already been backpored), ok If I change to advertise digest by default in docs, but still support the "md" string as well as an alias ?

@simo5

simo5 commented Apr 18, 2019

Copy link
Copy Markdown
Author

I'll open a sparate PR for the digest change, this one is good to go IMO.

@mattcaswell

Copy link
Copy Markdown
Member

I've pushed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: master Applies to master branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants