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

Go to the source code of this file.

Functions

struct gost_cipher_infoget_encryption_params (ASN1_OBJECT *obj)
 

Variables

EVP_CIPHER cipher_gost
 
EVP_CIPHER cipher_gost_cpacnt
 
EVP_MD imit_gost_cpa
 
struct gost_cipher_info gost_cipher_list []
 

Function Documentation

struct gost_cipher_info* get_encryption_params ( ASN1_OBJECT obj)
read

Definition at line 122 of file gost_crypt.c.

Variable Documentation

EVP_CIPHER cipher_gost
Initial value:
=
{
1,
32,
8,
gost_cipher_init,
gost_cipher_do_cfb,
gost_cipher_cleanup,
sizeof(struct ossl_gost_cipher_ctx),
gost89_set_asn1_parameters,
gost89_get_asn1_parameters,
gost_cipher_ctl,
NULL,
}

Definition at line 32 of file gost_crypt.c.

EVP_CIPHER cipher_gost_cpacnt
Initial value:
=
{
1,
32,
8,
gost_cipher_init_cpa,
gost_cipher_do_cnt,
gost_cipher_cleanup,
sizeof(struct ossl_gost_cipher_ctx),
gost89_set_asn1_parameters,
gost89_get_asn1_parameters,
gost_cipher_ctl,
NULL,
}

Definition at line 50 of file gost_crypt.c.

struct gost_cipher_info gost_cipher_list[]
EVP_MD imit_gost_cpa
Initial value:
=
{
4,
0,
gost_imit_init_cpa,
gost_imit_update,
gost_imit_final,
gost_imit_copy,
gost_imit_cleanup,
NULL,
NULL,
{0,0,0,0,0},
8,
sizeof(struct ossl_gost_imit_ctx),
gost_imit_ctrl
}

Definition at line 81 of file gost_crypt.c.