wpa_supplicant / hostapd 2.0

rsa.h

Go to the documentation of this file.
00001 
00010 #ifndef RSA_H
00011 #define RSA_H
00012 
00013 struct crypto_rsa_key;
00014 
00015 struct crypto_rsa_key *
00016 crypto_rsa_import_public_key(const u8 *buf, size_t len);
00017 struct crypto_rsa_key *
00018 crypto_rsa_import_private_key(const u8 *buf, size_t len);
00019 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
00020 int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,
00021                        struct crypto_rsa_key *key, int use_private);
00022 void crypto_rsa_free(struct crypto_rsa_key *key);
00023 
00024 #endif /* RSA_H */
00025 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines