rsa.h
Go to the documentation of this file.
00001 /*
00002  * RSA
00003  * Copyright (c) 2006, 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 RSA_H
00016 #define RSA_H
00017 
00018 struct crypto_rsa_key;
00019 
00020 struct crypto_rsa_key *
00021 crypto_rsa_import_public_key(const u8 *buf, size_t len);
00022 struct crypto_rsa_key *
00023 crypto_rsa_import_private_key(const u8 *buf, size_t len);
00024 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
00025 int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,
00026                        struct crypto_rsa_key *key, int use_private);
00027 void crypto_rsa_free(struct crypto_rsa_key *key);
00028 
00029 #endif /* RSA_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:35