OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
gost2001_keyx.c File Reference
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <string.h>
#include <openssl/objects.h>
#include "gost89.h"
#include "gosthash.h"
#include "e_gost_err.h"
#include "gost_keywrap.h"
#include "gost_lcl.h"
#include "gost2001_keyx.h"

Go to the source code of this file.

Functions

int pkey_gost2001_derive (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)
 
int pkey_GOST01cp_encrypt (EVP_PKEY_CTX *pctx, unsigned char *out, size_t *out_len, const unsigned char *key, size_t key_len)
 
int pkey_GOST01cp_decrypt (EVP_PKEY_CTX *pctx, unsigned char *key, size_t *key_len, const unsigned char *in, size_t in_len)
 

Function Documentation

int pkey_GOST01cp_decrypt ( EVP_PKEY_CTX pctx,
unsigned char *  key,
size_t *  key_len,
const unsigned char *  in,
size_t  in_len 
)

Definition at line 228 of file gost2001_keyx.c.

int pkey_GOST01cp_encrypt ( EVP_PKEY_CTX pctx,
unsigned char *  out,
size_t *  out_len,
const unsigned char *  key,
size_t  key_len 
)

Definition at line 117 of file gost2001_keyx.c.

int pkey_gost2001_derive ( EVP_PKEY_CTX ctx,
unsigned char *  key,
size_t *  keylen 
)

Definition at line 75 of file gost2001_keyx.c.