mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-02 09:56:45 -04:00
tool: Fix b2s BLAKE2s digest zero padding
This commit is contained in:
parent
c0b3c80620
commit
03d96c3e96
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ func printCDigest(digest [blake2s.Size]byte, fileName string) {
|
|||
fmt.Printf("const uint8_t digest[32] = {\n")
|
||||
|
||||
for _, n := range digest {
|
||||
fmt.Printf("0x%x, ", n)
|
||||
fmt.Printf("0x%02x, ", n)
|
||||
}
|
||||
|
||||
fmt.Printf("\n}; \n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue