Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for ctr (0.03 sec)

  1. src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s

    	ADD     $-64, LEN
    	STXVW4X VS62, (OUT)(R10)
    	ADD     $64, OUT
    
    	MOVD $10, R14
    	MOVD R14, CTR
    	BNE  loop_outer_vsx
    
    done_vsx:
    	// Increment counter by number of 64 byte blocks
    	MOVD (CNT), R14
    	ADD  BLOCKS, R14
    	MOVD R14, (CNT)
    	RET
    
    tail_vsx:
    	ADD  $32, R1, R11
    	MOVD LEN, CTR
    
    	// Save values on stack to copy from
    	STXVW4X VS32, (R11)(R0)
    	STXVW4X VS36, (R11)(R8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/math/big/arith_ppc64x.s

    	ADDC  R12, R11, R15   // R15 = x[i] + y[i], set CA
    	CMP   R7, $0
    	MOVD  R15, 0(R10)     // z[i]
    	BEQ   final          // If z_len was 1, we are done
    
    	SRD   $2, R7, R5      // R5 = z_len/4
    	CMP   R5, $0
    	MOVD  R5, CTR         // Set up loop counter
    	BEQ   tail            // If R5 = 0, we can't use the loop
    
    	// Process 4 elements per iteration. Unrolling this loop
    	// means a performance trade-off: we will lose performance
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/ecdsa.go

    	// which is an indifferentiable MAC.
    
    	// Create an AES-CTR instance to use as a CSPRNG.
    	block, err := aes.NewCipher(key)
    	if err != nil {
    		return nil, err
    	}
    
    	// Create a CSPRNG that xors a stream of zeros with
    	// the output of the AES-CTR instance.
    	const aesIV = "IV for ECDSA CTR"
    	return &cipher.StreamReader{
    		R: zeroReader,
    		S: cipher.NewCTR(block, []byte(aesIV)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/strategy.go

    		func(ctr *api.Container, _ podutil.ContainerType) bool {
    			// get possible annotation and field
    			key := api.DeprecatedAppArmorAnnotationKeyPrefix + ctr.Name
    			annotation, hasAnnotation := pod.Annotations[key]
    
    			var containerProfile *api.AppArmorProfile
    			if ctr.SecurityContext != nil {
    				containerProfile = ctr.SecurityContext.AppArmorProfile
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. src/crypto/internal/bigmod/nat_ppc64x.s

    // If other callers are added this function might
    // need to change.
    TEXT addMulVVWx<>(SB), NOSPLIT, $0
    	MOVD	z+0(FP), R3
    	MOVD	x+8(FP), R4
    	MOVD	y+16(FP), R5
    
    	MOVD	$0, R9		// R9 = c = 0
    	MOVD	R6, CTR		// Initialize loop counter
    	PCALIGN	$16
    
    loop:
    	MOVD	0(R4), R14	// x[i]
    	MOVD	8(R4), R16	// x[i+1]
    	MOVD	16(R4), R18	// x[i+2]
    	MOVD	24(R4), R20	// x[i+3]
    	MOVD	0(R3), R15	// z[i]
    	MOVD	8(R3), R17	// z[i+1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:32:43 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/crypto/aes/asm_ppc64x.s

    	CMPW	ENC, $0
    	P8_LXVB16X(IVP, R0, IVEC)
    	CMPU	ROUNDS, $10, CR1
    	CMPU	ROUNDS, $12, CR2 // Only sizes 10/12/14 are supported.
    
    	// Setup key in VSRs, and set loop count in CTR.
    	LOAD_KEY(KEYP)
    	SRD	$4, LEN
    	MOVD	LEN, CTR
    
    	BEQ	Lcbc_dec
    
    	PCALIGN $16
    Lcbc_enc:
    	P8_LXVB16X(INP, R0, INOUT)
    	ADD	$16, INP
    	VXOR	INOUT, V6, INOUT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/crypto/cipher/gcm.go

    	}
    }
    
    // gcmInc32 treats the final four bytes of counterBlock as a big-endian value
    // and increments it.
    func gcmInc32(counterBlock *[16]byte) {
    	ctr := counterBlock[len(counterBlock)-4:]
    	byteorder.BePutUint32(ctr, byteorder.BeUint32(ctr)+1)
    }
    
    // sliceForAppend takes a slice and a requested number of bytes. It returns a
    // slice with the contents of the given slice followed by that many bytes and a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/crypto/subtle/xor_ppc64x.s

    	CMPU	R6, $8, CR6	// Check if 8 ≤ n < 64 bytes
    	BLE	CR6, small	// <= 8
    	BLT	CR7, xor32	// Case for 32 ≤ n < 64 bytes
    
    	// Case for n ≥ 64 bytes
    preloop64:
    	SRD	$6, R6, R7	// Set up loop counter
    	MOVD	R7, CTR
    	MOVD	$16, R10
    	MOVD	$32, R14
    	MOVD	$48, R15
    	ANDCC	$63, R6, R9	// Check for tailing bytes for later
    	PCALIGN $16
    	// Case for >= 64 bytes
    	// Process 64 bytes per iteration
    	// Load 4 vectors of a and b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. plugin/pkg/admission/namespace/exists/admission_test.go

    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    			Containers: []api.Container{{Name: "ctr", Image: "image"}},
    		},
    	}
    }
    
    // TestAdmissionNamespaceExists verifies pod is admitted only if namespace exists.
    func TestAdmissionNamespaceExists(t *testing.T) {
    	namespace := "test"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// Loop code:
    		//	MOVD len/32,R31		set up loop ctr
    		//	MOVD R31,CTR
    		//	MOVD $16,R31		index register
    		// loop:
    		//	LXVD2X (R0)(R4),VS32
    		//	LXVD2X (R31)(R4),VS33
    		//	ADD  R4,$32          increment src
    		//	STXVD2X VS32,(R0)(R3)
    		//	STXVD2X VS33,(R31)(R3)
    		//	ADD  R3,$32          increment dst
    		//	BC 16,0,loop         branch ctr
    		// For this purpose, VS32 and VS33 are treated as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top