OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
gost_keywrap.c File Reference
#include <string.h>
#include "gost89.h"
#include "gost_keywrap.h"

Go to the source code of this file.

Functions

void keyDiversifyCryptoPro (gost_ctx *ctx, const unsigned char *inputKey, const unsigned char *ukm, unsigned char *outputKey)
 
int keyWrapCryptoPro (gost_ctx *ctx, const unsigned char *keyExchangeKey, const unsigned char *ukm, const unsigned char *sessionKey, unsigned char *wrappedKey)
 
int keyUnwrapCryptoPro (gost_ctx *ctx, const unsigned char *keyExchangeKey, const unsigned char *wrappedKey, unsigned char *sessionKey)
 

Function Documentation

void keyDiversifyCryptoPro ( gost_ctx ctx,
const unsigned char *  inputKey,
const unsigned char *  ukm,
unsigned char *  outputKey 
)

Definition at line 22 of file gost_keywrap.c.

int keyUnwrapCryptoPro ( gost_ctx ctx,
const unsigned char *  keyExchangeKey,
const unsigned char *  wrappedKey,
unsigned char *  sessionKey 
)

Definition at line 92 of file gost_keywrap.c.

int keyWrapCryptoPro ( gost_ctx ctx,
const unsigned char *  keyExchangeKey,
const unsigned char *  ukm,
const unsigned char *  sessionKey,
unsigned char *  wrappedKey 
)

Definition at line 70 of file gost_keywrap.c.