Home | History | Annotate | Download | only in sha512

Lines Matching refs:SHA512

5 // Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256
11 package sha512
21 crypto.RegisterHash(crypto.SHA512, New)
149 case crypto.SHA512:
152 return nil, errors.New("crypto/sha512: invalid hash function")
170 return errors.New("crypto/sha512: invalid hash state identifier")
176 case d.function == crypto.SHA512 && string(b[:len(magic512)]) == magic512:
178 return errors.New("crypto/sha512: invalid hash state identifier")
181 return errors.New("crypto/sha512: invalid hash state size")
221 d := &digest{function: crypto.SHA512}
344 // Sum512 returns the SHA512 checksum of the data.
346 d := digest{function: crypto.SHA512}