//-------------------------------------------------------------------------
//
// COMPONENT_NAME: file_encrypt
//
// (C) COPYRIGHT International Business Machines Corp. 1999
// All Rights Reserved
// Licensed Materials - Property of IBM
//
//-------------------------------------------------------------------------
//
// FILE: file_encrypt.h
//
// This file contains functions to take a clear file and produce its
// associated encrypted file. Although
// the symmetric encryption algorithm being used here is DES, others
// could be easily substituted with minimal change.
//
//-------------------------------------------------------------------------
void Initialize(
void);
void AttachCSPByAlgorithm(
CSSM_CSP_HANDLE *hCSP,
uint32 AlgorithmRequired);
void GenerateContextAndEncrypt(
CSSM_CSP_HANDLE hCSP,
char *InputFilename);
extern CSSM_API_MEMORY_FUNCS MemoryFuncs;
|