pkcs1.c File Reference

PKCS #1 (RSA Encryption). More...

#include "includes.h"
#include "common.h"
#include "rsa.h"
#include "pkcs1.h"
Include dependency graph for pkcs1.c:

Go to the source code of this file.

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)

Detailed Description

PKCS #1 (RSA Encryption).

Copyright
Copyright (c) 2006-2009, 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.

Definition in file pkcs1.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:22:31 2009 for hostapd by  doxygen 1.6.1