blob: f73cd59f8c3fd3ae2c13a0481efcf83760168e7c [file] [log] [blame]
Janis Danisevskis43c89712020-08-03 23:42:42 +00001// Copyright 2020, 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//! This crate implements the Android Keystore 2.0 service.
Janis Danisevskis6f1bb562020-12-28 15:52:41 -080016#![recursion_limit = "256"]
Janis Danisevskis7d77a762020-07-20 13:03:31 -070017
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080018pub mod apc;
Hasini Gunasinghe9ec096c2020-11-17 00:45:44 +000019pub mod auth_token_handler;
Hasini Gunasinghef04d07a2020-11-25 22:41:35 +000020pub mod background_task_handler;
Joel Galenson26f4d012020-07-17 14:57:21 -070021pub mod database;
Hasini Gunasinghe3410f792020-09-14 17:55:21 +000022pub mod enforcements;
Janis Danisevskis7d77a762020-07-20 13:03:31 -070023pub mod error;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070024pub mod globals;
Hasini Gunasinghe12486362020-07-24 18:40:20 +000025/// Internal Representation of Key Parameter and convenience functions.
26pub mod key_parameter;
Janis Danisevskisa51ccbc2020-11-25 21:04:24 -080027pub mod legacy_blob;
Janis Danisevskis1af91262020-08-10 14:58:08 -070028pub mod operation;
Janis Danisevskis78bd48c2020-07-21 12:27:13 -070029pub mod permission;
Janis Danisevskis1af91262020-08-10 14:58:08 -070030pub mod security_level;
31pub mod service;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070032pub mod utils;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080033
Janis Danisevskis93927dd2020-12-23 12:23:08 -080034mod async_task;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080035mod db_utils;
Janis Danisevskis93927dd2020-12-23 12:23:08 -080036mod gc;
Janis Danisevskisb42fc182020-12-15 08:41:27 -080037mod super_key;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080038
39#[cfg(test)]
40mod test {
41 pub mod utils;
42}