all: unwrap const() blocks

This commit is contained in:
Alexander Medvednikov 2023-11-25 10:02:51 +03:00
parent 399af6768d
commit f09826e928
436 changed files with 10448 additions and 11207 deletions

View file

@ -8,12 +8,10 @@ module sha1
import math.bits
const (
_k0 = 0x5A827999
_k1 = 0x6ED9EBA1
_k2 = u32(0x8F1BBCDC)
_k3 = u32(0xCA62C1D6)
)
const _k0 = 0x5A827999
const _k1 = 0x6ED9EBA1
const _k2 = u32(0x8F1BBCDC)
const _k3 = u32(0xCA62C1D6)
fn block_generic(mut dig Digest, p_ []u8) {
unsafe {