Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for expandKey (0.28 sec)

  1. src/crypto/aes/cipher_generic.go

    // newCipherGeneric if needed).
    func newCipher(key []byte) (cipher.Block, error) {
    	return newCipherGeneric(key)
    }
    
    // expandKey is used by BenchmarkExpand and should
    // call an assembly implementation if one is available.
    func expandKey(key []byte, enc, dec []uint32) {
    	expandKeyGo(key, enc, dec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 772 bytes
    - Viewed (0)
  2. src/crypto/aes/cipher_s390x.go

    	}
    	// The decrypt function code is equal to the function code + 128.
    	cryptBlocks(c.function+128, &c.key[0], &dst[0], &src[0], BlockSize)
    }
    
    // expandKey is used by BenchmarkExpand. cipher message (KM) does not need key
    // expansion so there is no assembly equivalent.
    func expandKey(key []byte, enc, dec []uint32) {
    	expandKeyGo(key, enc, dec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/crypto/aes/cipher_asm.go

    		panic("crypto/aes: invalid buffer overlap")
    	}
    	decryptBlockAsm(int(c.l)/4-1, &c.dec[0], &dst[0], &src[0])
    }
    
    // expandKey is used by BenchmarkExpand to ensure that the asm implementation
    // of key expansion is used for the benchmark when it is available.
    func expandKey(key []byte, enc, dec []uint32) {
    	if supportsAES {
    		rounds := 10 // rounds needed for AES128
    		switch len(key) {
    		case 192 / 8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/crypto/aes/aes_test.go

    		var dec []uint32
    		if tt.dec != nil {
    			dec = make([]uint32, len(tt.dec))
    		}
    		// This test could only test Go version of expandKey because asm
    		// version might use different memory layout for expanded keys
    		// This is OK because we don't expose expanded keys to the outside
    		expandKeyGo(tt.key, enc, dec)
    		for j, v := range enc {
    			if v != tt.enc[j] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. pkg/volume/csi/expander.go

    	return true
    }
    
    func (c *csiPlugin) NodeExpand(resizeOptions volume.NodeResizeOptions) (bool, error) {
    	klog.V(4).Infof(log("Expander.NodeExpand(%s)", resizeOptions.DeviceMountPath))
    	csiSource, err := getCSISourceFromSpec(resizeOptions.VolumeSpec)
    	if err != nil {
    		return false, errors.New(log("Expander.NodeExpand failed to get CSI persistent source: %v", err))
    	}
    
    	csClient, err := newCsiDriverClient(csiDriverName(csiSource.Driver))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DecompressionCoordinator.java

     * Within a process, only one thread is allowed write access to a given expanded directory. This is to avoid concurrent writes
     * to the same expanded directory.
     *
     * Multiple threads are allowed to extract into different expanded directories concurrently.
     * <p>
     * There currently are no checks on modifications to files in the expanded directory. This can cause problems if the expanded directory is used
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

        public val nullability: KaTypeNullability
    
        /**
         * The abbreviated type for this expanded [KaType], or `null` if this type has not been expanded from an abbreviated type or the
         * abbreviated type cannot be resolved.
         *
         * An abbreviated type is a type alias application that has been expanded to some other Kotlin type. For example, if we have a type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/KtExpandedTypeRenderingMode.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.renderer.types
    
    /**
     * [KaExpandedTypeRenderingMode] controls how [KaTypeRenderer] renders expanded types (with an associated abbreviated type) and type aliases
     * which can still be expanded.
     */
    public enum class KaExpandedTypeRenderingMode {
        /**
         * Renders only the abbreviated type as-is, e.g. `foo.bar.StringAlias`.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

            then:
            !destination.toString().contains(TextUtil.windowsLineSeparator)
            destination.toString().contains(TextUtil.unixLineSeparator)
        }
    
        def "defaultJvmOpts is expanded properly in unix script"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=bar', '-Xint'], 'bin')
            Writer destination = new StringWriter()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ReuseArchiveIntegrationTest.groovy

            FileHasher hasher = new DefaultFileHasher(new DefaultStreamHasher())
            def hash = hasher.hash(file("hello.zip"))
            def cachedFile = file("build/tmp/.cache/expanded/zip_${hash}/hello.txt")
            def otherFile = file("build/tmp/.cache/expanded/zip_${hash}/other.txt")
    
            buildFile << """
                abstract class CopyAndList extends DefaultTask {
                    @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top