wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
pkcs1.c File Reference

PKCS #1 (RSA Encryption) More...

#include "includes.h"
#include "common.h"
#include "crypto/crypto.h"
#include "rsa.h"
#include "asn1.h"
#include "pkcs1.h"

Functions

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)
 

Detailed Description

PKCS #1 (RSA Encryption)