Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newMACGeneric (0.12 sec)

  1. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    // All the complexity is about doing performant constant-time math on numbers
    // larger than any available numeric type.
    
    func sumGeneric(out *[TagSize]byte, msg []byte, key *[32]byte) {
    	h := newMACGeneric(key)
    	h.Write(msg)
    	h.Sum(out)
    }
    
    func newMACGeneric(key *[32]byte) macGeneric {
    	m := macGeneric{}
    	initialize(key, &m.macState)
    	return m
    }
    
    // macState holds numbers in saturated 64-bit little-endian limbs. That is,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top