summaryrefslogtreecommitdiff
path: root/src/crypt/crypt_des.h
blob: 8ccbf8be39de000224e3988a4463f5952b99ae35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef CRYPT_DES_H
#define CRYPT_DES_H

#include <stdint.h>

struct expanded_key {
	uint32_t l[16], r[16];
};

void __des_setkey(const unsigned char *, struct expanded_key *);
void __do_des(uint32_t, uint32_t, uint32_t *, uint32_t *,
              uint32_t, uint32_t, const struct expanded_key *);

#endif