Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | bf_ctx |
Macros | |
#define | GET32_3(x) (((x) & 0xff)) |
#define | GET32_2(x) (((x) >> (8)) & (0xff)) |
#define | GET32_1(x) (((x) >> (16)) & (0xff)) |
#define | GET32_0(x) (((x) >> (24)) & (0xff)) |
#define | bf_F(x) |
#define | EROUND(a, b, n) do { b ^= P[n]; a ^= bf_F(b); } while (0) |
#define | DROUND(a, b, n) do { a ^= bf_F(b); b ^= P[n]; } while (0) |
Functions | |
void | dsp_bf_encrypt (struct dsp *dsp, u8 *data, int len) |
void | dsp_bf_decrypt (struct dsp *dsp, u8 *data, int len) |
int | dsp_bf_init (struct dsp *dsp, const u8 *key, uint keylen) |
void | dsp_bf_cleanup (struct dsp *dsp) |
#define bf_F | ( | x | ) |
Definition at line 361 of file dsp_blowfish.c.
Definition at line 360 of file dsp_blowfish.c.
Definition at line 355 of file dsp_blowfish.c.
Definition at line 354 of file dsp_blowfish.c.
Definition at line 353 of file dsp_blowfish.c.
Definition at line 352 of file dsp_blowfish.c.
Definition at line 669 of file dsp_blowfish.c.
Definition at line 458 of file dsp_blowfish.c.
Definition at line 369 of file dsp_blowfish.c.