%PDF- %PDF-
Direktori : /proc/self/root/usr/src/kernels/2.6.32-754.35.1.el6.x86_64/include/linux/crypto/ |
Current File : //proc/self/root/usr/src/kernels/2.6.32-754.35.1.el6.x86_64/include/linux/crypto/ksign.h |
/* ksign.h: in-kernel signature checker * * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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; either version * 2 of the License, or (at your option) any later version. */ #ifndef _LINUX_CRYPTO_KSIGN_H #define _LINUX_CRYPTO_KSIGN_H #ifdef CONFIG_CRYPTO_SIGNATURE #include <crypto/hash.h> extern int ksign_verify_signature(const char *sig, unsigned sig_size, struct shash_desc *digest); extern int ksign_get_signature_digest_algo(const char *sigdata, unsigned sig_size, const char **digest_name); #endif #endif /* _LINUX_CRYPTO_KSIGN_H */