rsa.h

来自「IEEE802.11 a/b/g 客户端应用程序源代码」· C头文件 代码 · 共 30 行

H
30
字号
/* * RSA * Copyright (c) 2006, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively, this software may be distributed under the terms of BSD * license. * * See README and COPYING for more details. */#ifndef RSA_H#define RSA_Hstruct crypto_rsa_key;struct crypto_rsa_key *crypto_rsa_import_public_key(const u8 *buf, size_t len);struct crypto_rsa_key *crypto_rsa_import_private_key(const u8 *buf, size_t len);size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,		       struct crypto_rsa_key *key, int use_private);void crypto_rsa_free(struct crypto_rsa_key *key);#endif /* RSA_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?