blob: 500419bc9454019b88f2bbebb2029826c468b8bd [file] [log] [blame]
Alice Wangc8f88f52023-09-25 14:02:17 +00001// Copyright 2023, The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Safe wrappers around the BoringSSL API.
16
17#![cfg_attr(not(feature = "std"), no_std)]
18
Alice Wangb3fcf632023-09-26 08:32:55 +000019extern crate alloc;
20
Alice Wangc8f88f52023-09-25 14:02:17 +000021mod cbb;
Alice Wang709cce92023-09-26 10:30:21 +000022mod digest;
Alice Wangb3fcf632023-09-26 08:32:55 +000023mod ec_key;
Alice Wang709cce92023-09-26 10:30:21 +000024mod hmac;
Alice Wangc8f88f52023-09-25 14:02:17 +000025
26pub use bssl_avf_error::{ApiName, Error, Result};
27pub use cbb::CbbFixed;
Alice Wangb3fcf632023-09-26 08:32:55 +000028pub use ec_key::{EcKey, ZVec};
Alice Wang709cce92023-09-26 10:30:21 +000029pub use hmac::hmac_sha256;