| * Copyright (C) 2011 Nokia Corporation |
| * Copyright (C) 2011 Intel Corporation |
| * Dmitry Kasatkin <dmitry.kasatkin@nokia.com> |
| * <dmitry.kasatkin@intel.com> |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation, version 2 of the License. |
| uint8_t version; /* key format version */ |
| uint32_t timestamp; /* key made, always 0 for now */ |
| uint8_t version; /* signature format version */ |
| uint32_t timestamp; /* signature made */ |
| #if defined(CONFIG_SIGNATURE) || defined(CONFIG_SIGNATURE_MODULE) |
| int digsig_verify(struct key *keyring, const char *sig, int siglen, |
| const char *digest, int digestlen); |
| static inline int digsig_verify(struct key *keyring, const char *sig, |
| int siglen, const char *digest, int digestlen) |
| #endif /* CONFIG_SIGNATURE */ |