diff options
author | Scott Lobdell <slobdell@google.com> | 2021-04-07 05:35:55 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-04-07 05:35:55 +0000 |
commit | ec6cfacad7283c60a33cfefacf5031247a2f81dc (patch) | |
tree | 5b473e86fc8ab0afc2241b6ac25875b25fa354bd /mini_keyctl/mini_keyctl_utils.h | |
parent | 79aff2b0a0653fcafaf9099ad60075f2903e8de1 (diff) | |
parent | 268fff7088f0ab311c2de902178054ce40a42243 (diff) |
Merge "Merge SP1A.210329.001" into s-keystone-qcom-dev
Diffstat (limited to 'mini_keyctl/mini_keyctl_utils.h')
-rw-r--r-- | mini_keyctl/mini_keyctl_utils.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mini_keyctl/mini_keyctl_utils.h b/mini_keyctl/mini_keyctl_utils.h new file mode 100644 index 000000000..cc31d29ce --- /dev/null +++ b/mini_keyctl/mini_keyctl_utils.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _MINI_KEYCTL_MINI_KEYCTL_UTILS_H_ +#define _MINI_KEYCTL_MINI_KEYCTL_UTILS_H_ + +#include <string> + +#include <keyutils.h> + +namespace android { +key_serial_t GetKeyringId(const std::string& keyring_desc); +} // namespace android + +#endif // _MINI_KEYCTL_MINI_KEYCTL_UTILS_H_ |