Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 0b_1000_0001 (0.06 sec)

  1. src/crypto/ecdh/nist.go

    		// pointer to the scalarOrder field because comparing generic and
    		// instantiated types is not supported.
    		if &c.scalarOrder[0] == &p521Order[0] {
    			key[0] &= 0b0000_0001
    		}
    
    		// In tests, rand will return all zeros and NewPrivateKey will reject
    		// the zero key as it generates the identity as a public key. This also
    		// makes this function consistent with crypto/elliptic.GenerateKey.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768_test.go

    			}
    		}
    	}
    }
    
    func BitRev7(n uint8) uint8 {
    	if n>>7 != 0 {
    		panic("not 7 bits")
    	}
    	var r uint8
    	r |= n >> 6 & 0b0000_0001
    	r |= n >> 4 & 0b0000_0010
    	r |= n >> 2 & 0b0000_0100
    	r |= n /**/ & 0b0000_1000
    	r |= n << 2 & 0b0001_0000
    	r |= n << 4 & 0b0010_0000
    	r |= n << 6 & 0b0100_0000
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top