Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Dkhazad.c31 #define KHAZAD_ROUNDS 8 macro
34 u64 E[KHAZAD_ROUNDS + 1];
35 u64 D[KHAZAD_ROUNDS + 1];
750 static const u64 c[KHAZAD_ROUNDS + 1] = {
770 for (r = 0; r <= KHAZAD_ROUNDS; r++) { in khazad_setkey()
784 ctx->D[0] = ctx->E[KHAZAD_ROUNDS]; in khazad_setkey()
785 for (r = 1; r < KHAZAD_ROUNDS; r++) { in khazad_setkey()
786 K1 = ctx->E[KHAZAD_ROUNDS - r]; in khazad_setkey()
796 ctx->D[KHAZAD_ROUNDS] = ctx->E[0]; in khazad_setkey()
812 for (r = 1; r < KHAZAD_ROUNDS; r++) { in khazad_crypt()
[all …]