commit | 6e7f49b291bbb5448f708a6c0a9b4b5b49298bff | [log] [tgz] |
---|---|---|
author | Maurice Lam <yukl@google.com> | Fri Feb 03 18:26:50 2023 +0000 |
committer | Maurice Lam <yukl@google.com> | Wed Feb 08 21:33:29 2023 +0000 |
tree | 4bdd3a22c4358bb13edeb1096585c9d030008b45 | |
parent | 2c94df4e4919c129bc5ed99ad012659395a2257d [diff] |
Add wrapper functions for HMAC_CTX_* Create a rust wrapper for HMAC_CTX_* functions to enable the iterative HMAC APIs (calling update() for segments of the input rather than collecting the whole input and calling hmac(). This patch is carried in AOSP because hmac.rs is not available upstream yet, and the HMAC_CTX_* functions are recommended only for boringssl - in openssl3 these functions are deprecated and the EVP_MAC functions are recommended instead. Bug: 267375624 Test: m libopenssl Change-Id: I3d77403dd8dd607c8b55bf2be499e08895a76c19
OpenSSL bindings for the Rust programming language.
The current supported release of openssl
is 0.10 and openssl-sys
is 0.9.
New major versions will be published at most once per year. After a new release, the previous major version will be partially supported with bug fixes for 3 months, after which support will be dropped entirely.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed under the terms of both the Apache License, Version 2.0 and the MIT license without any additional terms or conditions.