pkcs1.h
Go to the documentation of this file.00001
00016 #ifndef PKCS1_H
00017 #define PKCS1_H
00018
00019 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
00020 int use_private, const u8 *in, size_t inlen,
00021 u8 *out, size_t *outlen);
00022 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
00023 const u8 *in, size_t inlen,
00024 u8 *out, size_t *outlen);
00025 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
00026 const u8 *crypt, size_t crypt_len,
00027 u8 *plain, size_t *plain_len);
00028
00029 #endif
00030