|
wpa_supplicant / hostapd 2.0
|
00001 00010 #ifndef PKCS1_H 00011 #define PKCS1_H 00012 00013 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, 00014 int use_private, const u8 *in, size_t inlen, 00015 u8 *out, size_t *outlen); 00016 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, 00017 const u8 *in, size_t inlen, 00018 u8 *out, size_t *outlen); 00019 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key, 00020 const u8 *crypt, size_t crypt_len, 00021 u8 *plain, size_t *plain_len); 00022 00023 #endif /* PKCS1_H */ 00024
1.7.3