File:  [PGP] / pgp / rsaref / source / des.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:41:44 2018 UTC (8 years, 1 month ago) by root
Branches: phill, MAIN
CVS tags: pgp262, pgp261, pgp26, HEAD
PGP 2.6

/* DES.H - header file for DESC.C
 */

/* Copyright (C) 1991-2 RSA Laboratories, a division of RSA Data
   Security, Inc. All rights reserved.
 */

/* DES-CBC context.
 */
typedef struct {
  unsigned char subkeyBit[16][48];                               /* subkeys */
  unsigned char ivBit[64];                           /* initializing vector */
  int encrypt;                                              /* encrypt flag */
} DES_CBC_CTX;

void DES_CBCInit PROTO_LIST 
  ((DES_CBC_CTX *, unsigned char *, unsigned char *, int));
int DES_CBCUpdate PROTO_LIST
  ((DES_CBC_CTX *, unsigned char *, unsigned char *, unsigned int));
void DES_CBCFinal PROTO_LIST ((DES_CBC_CTX *));

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.