OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
cms_enc.c File Reference
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
#include <openssl/cms.h>
#include <openssl/rand.h>
#include "cms_lcl.h"

Go to the source code of this file.

Functions

BIOcms_EncryptedContent_init_bio (CMS_EncryptedContentInfo *ec)
 
int cms_EncryptedContent_init (CMS_EncryptedContentInfo *ec, const EVP_CIPHER *cipher, const unsigned char *key, size_t keylen)
 
int CMS_EncryptedData_set1_key (CMS_ContentInfo *cms, const EVP_CIPHER *ciph, const unsigned char *key, size_t keylen)
 
BIOcms_EncryptedData_init_bio (CMS_ContentInfo *cms)
 

Function Documentation

int cms_EncryptedContent_init ( CMS_EncryptedContentInfo ec,
const EVP_CIPHER cipher,
const unsigned char *  key,
size_t  keylen 
)

Definition at line 239 of file cms_enc.c.

BIO* cms_EncryptedContent_init_bio ( CMS_EncryptedContentInfo ec)

Definition at line 69 of file cms_enc.c.

BIO* cms_EncryptedData_init_bio ( CMS_ContentInfo cms)

Definition at line 288 of file cms_enc.c.

int CMS_EncryptedData_set1_key ( CMS_ContentInfo cms,
const EVP_CIPHER ciph,
const unsigned char *  key,
size_t  keylen 
)

Definition at line 257 of file cms_enc.c.