Repository navigation
Conversation
|
I see your approach with saving all option data first, and only act on them after all arguments have been processed. This is a huge contrast to, for example, We should probably think about streamlining all apps to behave the same way... |
|
Any reason to leave out SSHKDF from test and docs ? |
|
I forgot about SSHKDF (I think mainly because the name it looks a lot like SSKDF). Will add. |
|
It appears there is an inconsistency with the kdf docs related to md name. I think David changed it to use 'digest' instead of 'md' (but didnt update the docs). |
tomato42
left a comment
There was a problem hiding this comment.
maybe also add a "see also" to the -kdf algorithm section of pkeyutl(1)?
Is this referred to sshkdf specifically? If so where do I need to change things?
Will add a PR shortly that handles this. |
|
Added evp_kdf_test in #8774 |
static int kdf_sshkdf_ctrl_str(EVP_KDF_IMPL *impl, const char *type, const char *value)
{
if (value == NULL) {
KDFerr(KDF_F_KDF_SSHKDF_CTRL_STR, KDF_R_VALUE_MISSING);
return 0;
}
if (strcmp(type, "md") == 0)
return kdf_md2ctrl(impl, kdf_sshkdf_ctrl, EVP_KDF_CTRL_SET_MD, value);Change it to: if (strcmp(type, "digest") == 0)And then in the tests it needs to be changed (I think its mainly in evpdigest.txt) Also add to test/recipies/20-test_kdf.t (After this PR is merged) |
Hmm - well I dont currently process them individually, so the order of the options is still the read in order i.e. the order they are added to the list. |
I did leave "md" as alias so that tests do not need to be changed, but I can change them if requested on the new PR. I'll add a not to change 20-test_kdf.t before merging |
filed #8784 |
|
ping |
|
While looking at this, I realised this warrants an entry in NEWS and in CHANGES. My approval is withdrawn until they appear. |
Updated those docs (added mac application entries also) |
|
Sorry to nag, but there's a need for a rebase... |
Reviewed-by: Tim Hudson <[email protected]> Reviewed-by: Richard Levitte <[email protected]> (Merged from #8762)
Reviewed-by: Tim Hudson <[email protected]> Reviewed-by: Richard Levitte <[email protected]> (Merged from #8762)
Checklist