Home
last modified time | relevance | path

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

/linux-4.19.296/crypto/
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()
802 static void khazad_crypt(const u64 roundKey[KHAZAD_ROUNDS + 1], in khazad_crypt()
[all …]