mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
implement crypto.sha256 + some crypto cleanup
This commit is contained in:
committed by
Alexander Medvednikov
parent
c0911ea74b
commit
43070412f7
@@ -143,9 +143,9 @@ pub fn sum(data []byte) []byte {
|
||||
}
|
||||
|
||||
fn block(dig &Digest, p []byte) {
|
||||
// For now just use block_generic until we have specific
|
||||
// For now just use block_generic until we have specific
|
||||
// architecture optimized versions
|
||||
block_generic(dig, p)
|
||||
block_generic(dig, p)
|
||||
}
|
||||
|
||||
pub fn (d &Digest) size() int { return Size }
|
||||
|
||||
Reference in New Issue
Block a user