diff options
author | David Pursell <dpursell@google.com> | 2023-11-03 15:52:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-03 15:52:28 +0000 |
commit | 92b1296a1bd176b88c9a06c58377a3984ddd3e6b (patch) | |
tree | 469dbe41d5779464b851e517e8a4027f145cfc6b | |
parent | f432113bb8cc5e236e4d3d859ff750cc3d119d22 (diff) | |
parent | cec85ed988fe8114caf4ee6b4d8fd8bb307b694d (diff) | |
download | avb-92b1296a1bd176b88c9a06c58377a3984ddd3e6b.tar.gz |
libavb_rs: rename verify.rs -> ops.rs am: cec85ed988
Original change: https://android-review.googlesource.com/c/platform/external/avb/+/2816275
Change-Id: If443d69481a4912a9b330dee0de67d58e5bf65af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | rust/src/lib.rs | 4 | ||||
-rw-r--r-- | rust/src/ops.rs (renamed from rust/src/verify.rs) | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs index cfc92b5..9c4c843 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -27,10 +27,10 @@ #![cfg_attr(not(any(test, android_dylib)), no_std)] mod error; -mod verify; +mod ops; pub use error::{IoError, SlotVerifyError}; -pub use verify::{Ops, PublicKeyForPartitionInfo}; +pub use ops::{Ops, PublicKeyForPartitionInfo}; /// APIs that will eventually be internal-only to this library, but while this library is split need /// to be exposed externally. diff --git a/rust/src/verify.rs b/rust/src/ops.rs index a3ce1c6..8289816 100644 --- a/rust/src/verify.rs +++ b/rust/src/ops.rs @@ -12,10 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Verification APIs. +//! User callback APIs. //! -//! This module is responsible for all the conversions required to pass information between -//! libavb and Rust for verifying images. +//! This module is responsible for bridging the user-implemented callbacks so that they can be +//! written in safe Rust but libavb can call them from C. extern crate alloc; |