Home
last modified time | relevance | path

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

/crypto/
Dtwofish_common.c484 ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \
492 ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \
500 ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \
579 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; in __twofish_setkey() local
596 CALC_S (sa, sb, sc, sd, 0, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey()
597 CALC_S (sa, sb, sc, sd, 1, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey()
598 CALC_S (sa, sb, sc, sd, 2, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey()
599 CALC_S (sa, sb, sc, sd, 3, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey()
600 CALC_S (sa, sb, sc, sd, 4, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey()
601 CALC_S (sa, sb, sc, sd, 5, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey()
[all …]
Daf_alg.c155 struct sockaddr_alg *sa = (void *)uaddr; in alg_bind() local
163 if (addr_len < sizeof(*sa)) in alg_bind()
167 if ((sa->salg_feat & ~allowed) || (sa->salg_mask & ~allowed)) in alg_bind()
170 sa->salg_type[sizeof(sa->salg_type) - 1] = 0; in alg_bind()
171 sa->salg_name[sizeof(sa->salg_name) + addr_len - sizeof(*sa) - 1] = 0; in alg_bind()
173 type = alg_get_type(sa->salg_type); in alg_bind()
175 request_module("algif-%s", sa->salg_type); in alg_bind()
176 type = alg_get_type(sa->salg_type); in alg_bind()
182 private = type->bind(sa->salg_name, sa->salg_feat, sa->salg_mask); in alg_bind()