File: gost28147_int.h

package info (click to toggle)
gost-crypto 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,664 kB
  • sloc: ansic: 20,924; makefile: 31
file content (15 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _GOST28147_INT_H
#define _GOST28147_INT_H

int gost28147_modes_init(void);
void gost28147_modes_fini(void);

struct crypto_gost28147_ctx {
	const u32 *sbox;
	u32 key[GOST28147_KEY_SIZE/4];
};

int crypto_gost28147_set_key(struct crypto_tfm *tfm, const u8 *in_key,
		unsigned int key_len, const struct gost28147_param *param);

#endif