mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
crypto: remove extraneous casts & rename rand_lin to rand_linux
This commit is contained in:
parent
dd61a22367
commit
2897bac549
8 changed files with 10 additions and 10 deletions
|
@ -23,7 +23,7 @@ module aes
|
|||
// Reducing mod poly corresponds to binary xor with poly every
|
||||
// time a 0x100 bit appears.
|
||||
const (
|
||||
poly = int(1<<8) | int(1<<4) | int(1<<3) | int(1<<1) | int(1<<0) // x⁸ + x⁴ + x³ + x + 1
|
||||
poly = (1<<8) | (1<<4) | (1<<3) | (1<<1) | (1<<0) // x⁸ + x⁴ + x³ + x + 1
|
||||
)
|
||||
|
||||
// Powers of x mod poly in GF(2).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue