Indentation fix, cleanup.
[AROS.git] / arch / all-pc / boot / grub2-aros / include / grub / pubkey.h
blob4a9d04b430519c1c9c1f4c961d9a10266673abcf
1 /*
2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2013 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef GRUB_PUBKEY_HEADER
20 #define GRUB_PUBKEY_HEADER 1
22 #include <grub/crypto.h>
24 struct grub_public_key *
25 grub_load_public_key (grub_file_t f);
27 grub_err_t
28 grub_verify_signature (grub_file_t f, grub_file_t sig,
29 struct grub_public_key *pk);
32 struct grub_public_subkey *
33 grub_crypto_pk_locate_subkey (grub_uint64_t keyid, struct grub_public_key *pkey);
35 struct grub_public_subkey *
36 grub_crypto_pk_locate_subkey_in_trustdb (grub_uint64_t keyid);
38 #endif