Select one of the symbols to view example projects that use it.
 
Outline
#define RSA_H
crypto_rsa_key
crypto_rsa_import_public_key(const u8 *, size_t);
crypto_rsa_import_public_key_parts(const u8 *, size_t, const u8 *, size_t);
crypto_rsa_import_private_key(const u8 *, size_t);
crypto_rsa_get_modulus_len(struct crypto_rsa_key *);
crypto_rsa_exptmod(const u8 *, size_t, u8 *, size_t *, struct crypto_rsa_key *, int);
crypto_rsa_free(struct crypto_rsa_key *);
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wpa_supplicant/src/tls/rsa.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * RSA * Copyright (c) 2006, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. *//* ... */ #ifndef RSA_H #define RSA_H struct 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_public_key_parts(const u8 *n, size_t n_len, const u8 *e, size_t e_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 */
Details