pkcs1.h
Go to the documentation of this file.
00001 /*
00002  * PKCS #1 (RSA Encryption)
00003  * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef PKCS1_H
00016 #define PKCS1_H
00017 
00018 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
00019                   int use_private, const u8 *in, size_t inlen,
00020                   u8 *out, size_t *outlen);
00021 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
00022                                   const u8 *in, size_t inlen,
00023                                   u8 *out, size_t *outlen);
00024 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
00025                              const u8 *crypt, size_t crypt_len,
00026                              u8 *plain, size_t *plain_len);
00027 
00028 #endif /* PKCS1_H */


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:21