Lines Matching refs:mask
31 static inline u32 and(u32 v, u32 mask) in and() argument
33 return v & mask; in and()
214 u32 mask; in crypto_poly1305_final() local
248 mask = (g4 >> ((sizeof(u32) * 8) - 1)) - 1; in crypto_poly1305_final()
249 g0 &= mask; in crypto_poly1305_final()
250 g1 &= mask; in crypto_poly1305_final()
251 g2 &= mask; in crypto_poly1305_final()
252 g3 &= mask; in crypto_poly1305_final()
253 g4 &= mask; in crypto_poly1305_final()
254 mask = ~mask; in crypto_poly1305_final()
255 h0 = (h0 & mask) | g0; in crypto_poly1305_final()
256 h1 = (h1 & mask) | g1; in crypto_poly1305_final()
257 h2 = (h2 & mask) | g2; in crypto_poly1305_final()
258 h3 = (h3 & mask) | g3; in crypto_poly1305_final()
259 h4 = (h4 & mask) | g4; in crypto_poly1305_final()