Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for incrementingNonce (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes.go

    	fatal func(msg string)
    }
    
    func (n *nonceGenerator) next(b []byte) {
    	incrementingNonce := n.nonce.Add(1)
    	if incrementingNonce <= n.zero {
    		// this should never happen, and is unrecoverable if it does
    		n.fatal("aes-gcm detected nonce overflow - cryptographic wear out has occurred")
    	}
    	binary.LittleEndian.PutUint64(b, incrementingNonce)
    }
    
    func die(msg string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top