Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for p256SelectAffine (0.17 sec)

  1. src/crypto/internal/nistec/p256_asm.go

    		p256PrecomputedPtr = &newTablePtr
    	}
    	p256Precomputed = (*[43]p256AffineTable)(*p256PrecomputedPtr)
    }
    
    // p256SelectAffine sets res to the point at index idx in the table.
    // idx must be in [0, 31]. It executes in constant time.
    //
    //go:noescape
    func p256SelectAffine(res *p256AffinePoint, table *p256AffineTable, idx int)
    
    // Point addition with an affine point and constant time conditions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p256_asm_arm64.s

    	STP	(y2, y3), 3*16(res_ptr)
    	STP	(t0, t1), 4*16(res_ptr)
    	STP	(t2, t3), 5*16(res_ptr)
    	RET
    /* ---------------------------------------*/
    // func p256SelectAffine(res *p256AffinePoint, table *p256AffineTable, idx int)
    TEXT ·p256SelectAffine(SB),NOSPLIT,$0
    	MOVD	idx+16(FP), t0
    	MOVD	table+8(FP), t1
    	MOVD	res+0(FP), res_ptr
    
    	EOR	x0, x0, x0
    	EOR	x1, x1, x1
    	EOR	x2, x2, x2
    	EOR	x3, x3, x3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p256_asm_amd64.s

    	MOVOU X2, (16*2)(DX)
    	MOVOU X3, (16*3)(DX)
    	MOVOU X4, (16*4)(DX)
    	MOVOU X5, (16*5)(DX)
    
    	RET
    /* ---------------------------------------*/
    // func p256SelectAffine(res *p256AffinePoint, table *p256AffineTable, idx int)
    TEXT ·p256SelectAffine(SB),NOSPLIT,$0
    	MOVQ idx+16(FP),AX
    	MOVQ table+8(FP),DI
    	MOVQ res+0(FP),DX
    
    	PXOR X15, X15	// X15 = 0
    	PCMPEQL X14, X14 // X14 = -1
    	PSUBL X14, X15   // X15 = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm_ppc64le.s

    #define Y2L    V8
    #define Y2H    V9
    #define Z2L    V10
    #define Z2H    V11
    
    #define ONE   V18
    #define IDX   V19
    #define SEL1  V20
    #define SEL2  V21
    
    // func p256SelectAffine(res *p256AffinePoint, table *p256AffineTable, idx int)
    TEXT ·p256SelectAffine(SB), NOSPLIT, $0-24
    	MOVD res+0(FP), P3ptr
    	MOVD table+8(FP), P1ptr
    	MOVD $16, R16
    	MOVD $32, R17
    	MOVD $48, R18
    
    	LXVDSX (R1)(R18), SEL1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p256_asm_s390x.s

    #undef PH
    
    // Constant time table access
    // Indexed from 1 to 15, with -1 offset
    // (index 0 is implicitly point at infinity)
    // func p256SelectBase(point *p256Point, table []p256Point, idx int)
    // new : func p256SelectAffine(res *p256AffinePoint, table *p256AffineTable, idx int)
    
    #define P3ptr   R1
    #define P1ptr   R2
    #define COUNT   R4
    #define CPOOL   R5
    
    #define X1L    V0
    #define X1H    V1
    #define Y1L    V2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top