#include <string.h>
#include <openssl/dh.h>
#include <openssl/rand.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "gost89.h"
#include "gosthash.h"
#include "e_gost_err.h"
#include "gost_keywrap.h"
#include "gost_lcl.h"
Go to the source code of this file.
Functions | |
int | pkey_gost94_derive (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) |
int | pkey_GOST94cp_encrypt (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *key, size_t key_len) |
int | pkey_GOST94cp_decrypt (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *key_len, const unsigned char *in, size_t in_len) |
int pkey_gost94_derive | ( | EVP_PKEY_CTX * | ctx, |
unsigned char * | key, | ||
size_t * | keylen | ||
) |
Definition at line 73 of file gost94_keyx.c.
int pkey_GOST94cp_decrypt | ( | EVP_PKEY_CTX * | ctx, |
unsigned char * | key, | ||
size_t * | key_len, | ||
const unsigned char * | in, | ||
size_t | in_len | ||
) |
Definition at line 212 of file gost94_keyx.c.
int pkey_GOST94cp_encrypt | ( | EVP_PKEY_CTX * | ctx, |
unsigned char * | out, | ||
size_t * | outlen, | ||
const unsigned char * | key, | ||
size_t | key_len | ||
) |
Definition at line 88 of file gost94_keyx.c.