Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newCBCGenericDecrypter (0.22 sec)

  1. src/crypto/cipher/export_test.go

    // license that can be found in the LICENSE file.
    
    package cipher
    
    // Export internal functions for testing.
    var NewCBCGenericEncrypter = newCBCGenericEncrypter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 18:47:33 UTC 2022
    - 322 bytes
    - Viewed (0)
  2. src/crypto/cipher/fuzz_test.go

    			}
    		}
    
    		cbcAsm = cipher.NewCBCDecrypter(c, commonIV)
    		cbcGeneric = cipher.NewCBCGenericDecrypter(c, commonIV)
    
    		if testing.Short() {
    			timeout = time.NewTimer(10 * time.Millisecond)
    		} else {
    			timeout = time.NewTimer(2 * time.Second)
    		}
    
    	fuzzdecrypt:
    		for {
    			select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 13:39:12 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. src/crypto/cipher/cbc.go

    	}
    	return (*cbcDecrypter)(newCBC(b, iv))
    }
    
    // newCBCGenericDecrypter returns a BlockMode which encrypts in cipher block chaining
    // mode, using the given Block. The length of iv must be the same as the
    // Block's block size. This always returns the generic non-asm decrypter for use in
    // fuzz testing.
    func newCBCGenericDecrypter(b Block, iv []byte) BlockMode {
    	if len(iv) != b.BlockSize() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top