Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for aesctr (0.14 sec)

  1. src/crypto/aes/ctr_s390x.go

    func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream {
    	if len(iv) != BlockSize {
    		panic("cipher.NewCTR: IV length must equal block size")
    	}
    	var ac aesctr
    	ac.block = c
    	ac.ctr[0] = byteorder.BeUint64(iv[0:]) // high bits
    	ac.ctr[1] = byteorder.BeUint64(iv[8:]) // low bits
    	ac.buffer = ac.storage[:0]
    	return &ac
    }
    
    func (c *aesctr) refill() {
    	// Fill up the buffer with an incrementing count.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/aes.go

    	x := &aesCBC{key: &c.dec, mode: C.GO_AES_DECRYPT}
    	copy(x.iv[:], iv)
    	return x
    }
    
    type aesCTR struct {
    	key        *C.GO_AES_KEY
    	iv         [aesBlockSize]byte
    	num        C.uint
    	ecount_buf [16]C.uint8_t
    }
    
    func (x *aesCTR) XORKeyStream(dst, src []byte) {
    	if inexactOverlap(dst, src) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    	if len(dst) < len(src) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/crypto/cipher/ctr.go

    // implementation of CTR, like crypto/aes. NewCTR will check for this interface
    // and return the specific Stream if found.
    type ctrAble interface {
    	NewCTR(iv []byte) Stream
    }
    
    // NewCTR returns a [Stream] which encrypts/decrypts using the given [Block] in
    // counter mode. The length of iv must be the same as the [Block]'s block size.
    func NewCTR(block Block, iv []byte) Stream {
    	if ctr, ok := block.(ctrAble); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go

    	  - configmaps
    	  - pandas.awesome.bears.example
    	  providers:
    	  - aescbc:
    	      keys:
    	      - name: key1
    	        secret: c2VjcmV0IGlzIHNlY3VyZQ==
    	- resources:
    	  - '*.apps'
    	  providers:
    	  - aescbc:
    	      keys:
    	      - name: key2
    	        secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg==
    	- resources:
    	  - '*.*'
    	  providers:
    	  - aescbc:
    	      keys:
    	      - name: key3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go

    	  - configmaps
    	  - pandas.awesome.bears.example
    	  providers:
    	  - aescbc:
    	      keys:
    	      - name: key1
    	        secret: c2VjcmV0IGlzIHNlY3VyZQ==
    	- resources:
    	  - '*.apps'
    	  providers:
    	  - aescbc:
    	      keys:
    	      - name: key2
    	        secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg==
    	- resources:
    	  - '*.*'
    	  providers:
    	  - aescbc:
    	      keys:
    	      - name: key3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/shift_test.go

    			Valu("argptr", OpOffPtr, ptyp, 8, nil, "SP"),
    			Valu("resptr", OpOffPtr, ptyp, 16, nil, "SP"),
    			Valu("load", OpLoad, typ, 0, nil, "argptr", "mem"),
    			Valu("c", OpConst64, c.config.Types.UInt64, amount, nil),
    			Valu("shift", op, typ, 0, nil, "load", "c"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.UInt64, "resptr", "shift", "mem"),
    			Exit("store")))
    	Compile(fun.f)
    	return fun
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            String field1
    
            @Option(description = "Descr Field2")
            String field2
    
            @Option(description = "Descr Field3")
            TestEnum field3
    
            @Option(description = "Descr Field4")
            boolean field4
    
            @Option(description = "Descr Field5")
            Integer field5
    
            @Option(description = "Descr Field6")
            List<TestEnum> field6
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  8. src/crypto/aes/gcm_amd64.s

    #define pTbl DI
    #define ctx DX
    #define ctrPtr CX
    #define ptx SI
    #define ks AX
    #define tPtr R8
    #define ptxLen R9
    #define aluCTR R10
    #define aluTMP R11
    #define aluK R12
    #define NR R13
    
    #define increment(i) ADDL $1, aluCTR; MOVL aluCTR, aluTMP; XORL aluK, aluTMP; BSWAPL aluTMP; MOVL aluTMP, (3*4 + 8*16 + i*16)(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/kms-first.yaml

              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
          - secretbox:
              keys:
                - name: key1
                  secret: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
          - aescbc:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - identity: {}
          - aesgcm:
              keys:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 883 bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/ComponentBinariesModelRuleExtractorTest.groovy

            0 * _
    
            where:
            ruleName         | descr
            "rawBinarySpec"  | "for plain BinarySpec"
            "validTypeRule"  | "for plain sample binary"
            "librarySubType" | "for library sub types"
        }
    
        def "decent error message for #descr"() {
            def ruleMethod = ruleDefinitionForMethod(methodName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top