-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Single Step Key Derivation #8230
Conversation
NOTE: There is a lack of approved test vectors (NIST) currently for this implementation. This is the reason the KMAC implementation is currenty enabled via a #define |
01b0090
to
882ab6f
Compare
882ab6f
to
6e89fc2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could probably do with a CHANGES entry
b7f3ae3
to
a142002
Compare
ping |
c4095fc
to
917f7c7
Compare
ping Added a few tweaks to the code. |
Ping @levitte for second review |
ping @levitte. |
ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A question about the KMAC #if and a wording in the documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A nit, but also a question of style
I squashed and pushed. |
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from #8230)
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from openssl/openssl#8230) (cherry picked from commit 9537fe5757bb07761fa275d779bbd40bcf5530e4) [Yilin: rebase babassl master] Signed-off-by: YiLin.Li <YiLin.Li@linux.alibaba.com>
Also known as 'One Step Key Derivation' as defined in NIST SP800-56C-r1
This offers an alternative method to 'extract and expand' for key agreement purposes.
NOTE: this will probably replace ecdh_KDF_X9_63 in ecdh_kdf.c (which is basically the Single step H(x)=Hash)
Checklist