Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for boringcrypto (0.13 sec)

  1. src/crypto/tls/cipher_suites.go

    		return cipher.NewCBCDecrypter(block, iv)
    	}
    	return cipher.NewCBCEncrypter(block, iv)
    }
    
    // macSHA1 returns a SHA-1 based constant time MAC.
    func macSHA1(key []byte) hash.Hash {
    	h := sha1.New
    	// The BoringCrypto SHA1 does not have a constant-time
    	// checksum function, so don't try to use it.
    	if !boring.Enabled {
    		h = newConstantTimeHash(h)
    	}
    	return hmac.New(h, key)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    		for {
    			<-uniqueMapCleanup
    			cleanup()
    		}
    	}(f)
    }
    
    func clearpools() {
    	// clear sync.Pools
    	if poolcleanup != nil {
    		poolcleanup()
    	}
    
    	// clear boringcrypto caches
    	for _, p := range boringCaches {
    		atomicstorep(p, nil)
    	}
    
    	// clear unique maps
    	if uniqueMapCleanup != nil {
    		select {
    		case uniqueMapCleanup <- struct{}{}:
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top