blob: 979488993ac1db5b6b7b61e5afd4d04d1494fad7 [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;
Shaquille Johnson9da2e1c2022-09-19 12:39:01 +000031pub mod ks_err;
Janis Danisevskisa51ccbc2020-11-25 21:04:24 -080032pub mod legacy_blob;
Janis Danisevskis0ffb8a82022-02-06 22:37:21 -080033pub mod legacy_importer;
Janis Danisevskis333b7c02021-03-23 18:57:41 -070034pub mod maintenance;
Hasini Gunasingheb7142972021-02-20 03:11:27 +000035pub mod metrics;
Hasini Gunasinghe15891e62021-06-10 16:23:27 +000036pub mod metrics_store;
Janis Danisevskis1af91262020-08-10 14:58:08 -070037pub mod operation;
Janis Danisevskis78bd48c2020-07-21 12:27:13 -070038pub mod permission;
Paul Crowleyef611e52021-04-20 14:43:04 -070039pub mod raw_device;
Max Bires148c08e2020-10-13 13:41:41 -070040pub mod remote_provisioning;
Tri Voe8f04442022-12-21 08:53:56 -080041pub mod rkpd_client;
Janis Danisevskis1af91262020-08-10 14:58:08 -070042pub mod security_level;
43pub mod service;
Janis Danisevskis84a83e42021-03-21 21:46:54 -070044pub mod shared_secret_negotiation;
Janis Danisevskisa75e2082020-10-07 16:44:26 -070045pub mod utils;
Janis Danisevskisbf15d732020-12-08 10:35:26 -080046
Janis Danisevskis3541f3e2021-03-20 14:18:52 -070047mod attestation_key_utils;
Pavel Grafov94243c22021-04-21 18:03:11 +010048mod audit_log;
Janis Danisevskis93927dd2020-12-23 12:23:08 -080049mod gc;
David Drysdalec97eb9e2022-01-26 13:03:48 -080050mod km_compat;
Janis Danisevskisb42fc182020-12-15 08:41:27 -080051mod super_key;
Janis Danisevskis3d5a2142021-05-05 07:31:24 -070052
53#[cfg(feature = "watchdog")]
Janis Danisevskis7e13aa02021-05-04 14:34:41 -070054mod watchdog;