aboutsummaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2023-02-09 00:28:40 +0000
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-10 18:23:28 +0000
commitbd7e4197cdb889f13ce01cf1a029eaa7b6cd6da9 (patch)
treee84d360f269ece1acfa0a2af01ee7747c2fd2668 /rust
parent9580424ca8579317d0ccf1d8db5e58539f239a20 (diff)
downloadboringssl-bd7e4197cdb889f13ce01cf1a029eaa7b6cd6da9.zip
boringssl-bd7e4197cdb889f13ce01cf1a029eaa7b6cd6da9.tar.gz
boringssl-bd7e4197cdb889f13ce01cf1a029eaa7b6cd6da9.tar.bz2
Generate Rust wrappers for HKDF
This change exposes the necessary APIs for rust-openssl's HKDF wrappers in [PKeyCtxRef] (https://docs.rs/openssl/latest/openssl/pkey_ctx/struct.PkeyCtxRef.html#method.set_hkdf_mode). Diff of the generated bindings: https://gist.github.com/mauricelam/51602bf17d4a5f9023a27cbe5f9ff705 Change-Id: Ic8df3d5308cfee5964ceadd3c2524b77e12512fb Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/57066 Reviewed-by: Alex Gaynor <alex.gaynor@gmail.com> Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'rust')
-rw-r--r--rust/wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/wrapper.h b/rust/wrapper.h
index 316cff1..1d65c5a 100644
--- a/rust/wrapper.h
+++ b/rust/wrapper.h
@@ -40,6 +40,7 @@
#include "../include/openssl/hpke.h"
#include "../include/openssl/hrss.h"
#include "../include/openssl/is_boringssl.h"
+#include "../include/openssl/kdf.h"
#include "../include/openssl/lhash.h"
#include "../include/openssl/md4.h"
#include "../include/openssl/md5.h"