URL
https://opencores.org/ocsvn/csa/csa/trunk
[/] [csa/] [trunk/] [sw_sim/] [csa.h] - Diff between revs 10 and 24
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 10 |
Rev 24 |
#ifndef CSA_H
|
#ifndef CSA_H
|
#define CSA_H
|
#define CSA_H
|
|
|
struct key {
|
struct key {
|
int odd_kk[57], even_kk[57];
|
int odd_kk[57], even_kk[57];
|
unsigned char odd_ck[8], even_ck[8];
|
unsigned char odd_ck[8], even_ck[8];
|
};
|
};
|
|
|
void set_cws(unsigned char *cws, struct key *key);
|
void set_cws(unsigned char *cws, struct key *key);
|
|
|
void decrypt(struct key *key, unsigned char *encrypted, unsigned char *decrypted);
|
void decrypt(struct key *key, unsigned char *encrypted, unsigned char *decrypted);
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.