Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for asn1BitLength (0.2 sec)

  1. src/crypto/x509/x509.go

    	b2 := b1>>2&0x33 | b1<<2&0xcc
    	b3 := b2>>1&0x55 | b2<<1&0xaa
    	return b3
    }
    
    // asn1BitLength returns the bit-length of bitString by considering the
    // most-significant bit in a byte to be the "first" bit. This convention
    // matches ASN.1, but differs from almost everything else.
    func asn1BitLength(bitString []byte) int {
    	bitLen := len(bitString) * 8
    
    	for i := range bitString {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
Back to top