- Timestamp:
- 04/30/2023 02:06:51 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sodium_compat/src/Core/Poly1305/State.php
r46858 r55699 211 211 /* h *= r */ 212 212 $d0 = ( 213 self::mul($h0, $r0, 2 5) +214 self::mul($s4, $h1, 2 6) +215 self::mul($s3, $h2, 2 6) +216 self::mul($s2, $h3, 2 6) +217 self::mul($s1, $h4, 2 6)213 self::mul($h0, $r0, 27) + 214 self::mul($s4, $h1, 27) + 215 self::mul($s3, $h2, 27) + 216 self::mul($s2, $h3, 27) + 217 self::mul($s1, $h4, 27) 218 218 ); 219 219 220 220 $d1 = ( 221 self::mul($h0, $r1, 2 5) +222 self::mul($h1, $r0, 2 5) +223 self::mul($s4, $h2, 2 6) +224 self::mul($s3, $h3, 2 6) +225 self::mul($s2, $h4, 2 6)221 self::mul($h0, $r1, 27) + 222 self::mul($h1, $r0, 27) + 223 self::mul($s4, $h2, 27) + 224 self::mul($s3, $h3, 27) + 225 self::mul($s2, $h4, 27) 226 226 ); 227 227 228 228 $d2 = ( 229 self::mul($h0, $r2, 2 5) +230 self::mul($h1, $r1, 2 5) +231 self::mul($h2, $r0, 2 5) +232 self::mul($s4, $h3, 2 6) +233 self::mul($s3, $h4, 2 6)229 self::mul($h0, $r2, 27) + 230 self::mul($h1, $r1, 27) + 231 self::mul($h2, $r0, 27) + 232 self::mul($s4, $h3, 27) + 233 self::mul($s3, $h4, 27) 234 234 ); 235 235 236 236 $d3 = ( 237 self::mul($h0, $r3, 2 5) +238 self::mul($h1, $r2, 2 5) +239 self::mul($h2, $r1, 2 5) +240 self::mul($h3, $r0, 2 5) +241 self::mul($s4, $h4, 2 6)237 self::mul($h0, $r3, 27) + 238 self::mul($h1, $r2, 27) + 239 self::mul($h2, $r1, 27) + 240 self::mul($h3, $r0, 27) + 241 self::mul($s4, $h4, 27) 242 242 ); 243 243 244 244 $d4 = ( 245 self::mul($h0, $r4, 2 5) +246 self::mul($h1, $r3, 2 5) +247 self::mul($h2, $r2, 2 5) +248 self::mul($h3, $r1, 2 5) +249 self::mul($h4, $r0, 2 5)245 self::mul($h0, $r4, 27) + 246 self::mul($h1, $r3, 27) + 247 self::mul($h2, $r2, 27) + 248 self::mul($h3, $r1, 27) + 249 self::mul($h4, $r0, 27) 250 250 ); 251 251
Note: See TracChangeset
for help on using the changeset viewer.