Home
last modified time | relevance | path

Searched refs:cword (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/crypto/
Dpadlock-aes.c39 struct cword { struct
62 struct cword encrypt;
63 struct cword decrypt;
64 } cword; member
68 static DEFINE_PER_CPU(struct cword *, paes_last_cword);
130 memset(&ctx->cword, 0, sizeof(ctx->cword)); in aes_set_key()
132 ctx->cword.decrypt.encdec = 1; in aes_set_key()
133 ctx->cword.encrypt.rounds = 10 + (key_len - 16) / 4; in aes_set_key()
134 ctx->cword.decrypt.rounds = ctx->cword.encrypt.rounds; in aes_set_key()
135 ctx->cword.encrypt.ksize = (key_len - 16) / 8; in aes_set_key()
[all …]