File: arjsec_l.h

package info (click to toggle)
arj 3.10.22-15
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,396 kB
  • sloc: ansic: 32,993; makefile: 2,033; sh: 1,547; asm: 436
file content (26 lines) | stat: -rw-r--r-- 843 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * $Id: arjsec_l.h,v 1.1.1.1 2002/03/28 00:01:19 andrew_belov Exp $
 * ---------------------------------------------------------------------------
 * Prototypes of the functions located in ARJSEC_L.C are declared here.
 *
 */

#ifndef ARJSEC_L_INCLUDED
#define ARJSEC_L_INCLUDED

/* Prototypes */

int create_envelope(FILE *stream, unsigned long offset, int iter);

void arjsec_term(unsigned long *block, unsigned long *dest, int iter);
void arjsec_xor(unsigned long *dest, unsigned long *src);
void arjsec_newblock(unsigned long *dest);
void arjsec_invert(unsigned long *block);
void arjsec_crcterm(unsigned long *block, unsigned char c);
void arjsec_read(unsigned long *block, FILE *stream, unsigned long len);

void rev_arjsec_term(unsigned long *block, unsigned long *dest, int iter);
void arjsec_revert(unsigned long *block);

#endif