Select one of the symbols to view example projects that use it.
 
Outline
#define PKCS1_H
crypto_public_key
asn1_oid
pkcs1_encrypt(int, struct crypto_rsa_key *, int, const u8 *, size_t, u8 *, size_t *);
pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *, const u8 *, size_t, u8 *, size_t *);
pkcs1_decrypt_public_key(struct crypto_rsa_key *, const u8 *, size_t, u8 *, size_t *);
pkcs1_v15_sig_ver(struct crypto_public_key *, const u8 *, size_t, const struct asn1_oid *, const u8 *, size_t);
Files
loading (4/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wpa_supplicant/src/tls/pkcs1.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
27
28
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * PKCS #1 (RSA Encryption) * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. *//* ... */ #ifndef PKCS1_H #define PKCS1_H struct crypto_public_key; struct asn1_oid; int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, int use_private, const u8 *in, size_t inlen, u8 *out, size_t *outlen); int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen); int pkcs1_decrypt_public_key(struct crypto_rsa_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len); int pkcs1_v15_sig_ver(struct crypto_public_key *pk, const u8 *s, size_t s_len, const struct asn1_oid *hash_alg, const u8 *hash, size_t hash_len); /* ... */ #endif /* PKCS1_H */
Details