Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initFeistelBox (0.09 sec)

  1. src/crypto/des/block.go

    	preOutput := (uint64(right) << 32) | uint64(left)
    	byteorder.BePutUint64(dst, permuteFinalBlock(preOutput))
    }
    
    // DES Feistel function. feistelBox must be initialized via
    // feistelBoxOnce.Do(initFeistelBox) first.
    func feistel(l, r uint32, k0, k1 uint64) (lout, rout uint32) {
    	var t uint32
    
    	t = r ^ uint32(k0>>32)
    	l ^= feistelBox[7][t&0x3f] ^
    		feistelBox[5][(t>>8)&0x3f] ^
    		feistelBox[3][(t>>16)&0x3f] ^
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top