Searched refs:keygen (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 445 static int get_free_scheme_id(struct fman_keygen *keygen, u8 *scheme_id) in get_free_scheme_id() argument 450 if (!keygen->schemes[i].used) { in get_free_scheme_id() 467 static struct keygen_scheme *get_scheme(struct fman_keygen *keygen, in get_scheme() argument 472 return &keygen->schemes[scheme_id]; in get_scheme() 485 static int keygen_bind_port_to_schemes(struct fman_keygen *keygen, in keygen_bind_port_to_schemes() argument 489 struct fman_kg_regs __iomem *keygen_regs = keygen->keygen_regs; in keygen_bind_port_to_schemes() 495 scheme = get_scheme(keygen, scheme_id); in keygen_bind_port_to_schemes() 536 static int keygen_scheme_setup(struct fman_keygen *keygen, u8 scheme_id, in keygen_scheme_setup() argument 539 struct fman_kg_regs __iomem *keygen_regs = keygen->keygen_regs; in keygen_scheme_setup() 545 scheme = get_scheme(keygen, scheme_id); in keygen_scheme_setup() [all …]
|
D | fman_keygen.h | 43 int keygen_port_hashing_init(struct fman_keygen *keygen, u8 hw_port_id,
|
D | fman.h | 342 struct fman_keygen *keygen; member
|
D | fman_port.c | 1445 struct fman_keygen *keygen; in fman_port_init() local 1511 keygen = port->dts_params.fman->keygen; in fman_port_init() 1512 err = keygen_port_hashing_init(keygen, port->port_id, in fman_port_init()
|
D | fman.c | 2024 fman->keygen = keygen_init(fman->kg_regs); in fman_init() 2025 if (!fman->keygen) in fman_init()
|
/drivers/crypto/ |
D | padlock-aes.c | 47 keygen:1, member 144 ctx->cword.encrypt.keygen = 1; in aes_set_key() 145 ctx->cword.decrypt.keygen = 1; in aes_set_key()
|