blob: c04c4b0badb919c0e8562a30306f08ef125ae4fd [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;
Janis Danisevskis06891072021-02-11 10:28:17 -080019pub mod async_task;
Janis Danisevskis9f10a6a2021-01-18 16:45:21 +000020pub mod authorization;
Paul Crowley44c02da2021-04-08 17:04:43 +000021pub mod boot_level_keys;
Joel Galenson26f4d012020-07-17 14:57:21 -070022pub mod database;
Paul Crowley7bb5edd2021-03-20 20:26:43 -070023pub mod ec_crypto;
Hasini Gunasinghe3410f792020-09-14 17:55:21 +000024pub mod enforcements;
David Drysdale0e45a612021-02-25 17:24:36 +000025pub mod entropy;
Janis Danisevskis7d77a762020-07-20 13:03:31 -070026pub mod error;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070027pub mod globals;
Janis Danisevskis5cb52dc2021-04-07 16:31:18 -070028pub mod id_rotation;
Hasini Gunasinghe12486362020-07-24 18:40:20 +000029/// Internal Representation of Key Parameter and convenience functions.
30pub mod key_parameter;
Janis Danisevskisa51ccbc2020-11-25 21:04:24 -080031pub mod legacy_blob;
Hasini Gunasinghe3ed5da72021-02-04 15:18:54 +000032pub mod legacy_migrator;
Janis Danisevskis333b7c02021-03-23 18:57:41 -070033pub mod maintenance;
Hasini Gunasingheb7142972021-02-20 03:11:27 +000034pub mod metrics;
Janis Danisevskis1af91262020-08-10 14:58:08 -070035pub mod operation;
Janis Danisevskis78bd48c2020-07-21 12:27:13 -070036pub mod permission;
Paul Crowleyef611e52021-04-20 14:43:04 -070037pub mod raw_device;
Max Bires148c08e2020-10-13 13:41:41 -070038pub mod remote_provisioning;
Janis Danisevskis1af91262020-08-10 14:58:08 -070039pub mod security_level;
40pub mod service;
Janis Danisevskis84a83e42021-03-21 21:46:54 -070041pub mod shared_secret_negotiation;
Paul Crowley7a658392021-03-18 17:08:20 -070042pub mod try_insert;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070043pub mod utils;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080044
Janis Danisevskis3541f3e2021-03-20 14:18:52 -070045mod attestation_key_utils;
Pavel Grafov94243c22021-04-21 18:03:11 +010046mod audit_log;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080047mod db_utils;
Janis Danisevskis93927dd2020-12-23 12:23:08 -080048mod gc;
Janis Danisevskisb42fc182020-12-15 08:41:27 -080049mod super_key;
Janis Danisevskis3d5a2142021-05-05 07:31:24 -070050
51#[cfg(feature = "watchdog")]
Janis Danisevskis7e13aa02021-05-04 14:34:41 -070052mod watchdog;