Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    // Montgomery domain.
    func (p *P256Point) affineFromMont(x, y *p256Element) {
    	p256Inverse(y, &p.z)
    	p256Sqr(x, y, 1)
    	p256Mul(y, y, x)
    
    	p256Mul(x, &p.x, x)
    	p256Mul(y, &p.y, y)
    
    	p256FromMont(x, x)
    	p256FromMont(y, y)
    }
    
    // BytesX returns the encoding of the x-coordinate of p, as specified in SEC 1,
    // Version 2.0, Section 2.3.5, or an error if p is the point at infinity.
    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

    	LDP	1*16(b_ptr), (y2, y3)
    
    	CALL	p256MulInternal<>(SB)
    
    	STP	(y0, y1), 0*16(res_ptr)
    	STP	(y2, y3), 1*16(res_ptr)
    	RET
    /* ---------------------------------------*/
    // func p256FromMont(res, in *p256Element)
    TEXT ·p256FromMont(SB),NOSPLIT,$0
    	MOVD	res+0(FP), res_ptr
    	MOVD	in+8(FP), a_ptr
    
    	MOVD	p256const0<>(SB), const0
    	MOVD	p256const1<>(SB), const1
    
    	LDP	0*16(a_ptr), (acc0, acc1)
    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

    	MOVQ acc4, (8*0)(res_ptr)
    	MOVQ acc5, (8*1)(res_ptr)
    	MOVQ acc0, (8*2)(res_ptr)
    	MOVQ acc1, (8*3)(res_ptr)
    
    	RET
    /* ---------------------------------------*/
    // func p256FromMont(res, in *p256Element)
    TEXT ·p256FromMont(SB),NOSPLIT,$0
    	MOVQ res+0(FP), res_ptr
    	MOVQ in+8(FP), x_ptr
    
    	MOVQ (8*0)(x_ptr), acc0
    	MOVQ (8*1)(x_ptr), acc1
    	MOVQ (8*2)(x_ptr), acc2
    	MOVQ (8*3)(x_ptr), acc3
    	XORQ acc4, acc4
    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 ZER   V6
    #define SEL1  V7
    #define SEL2  V8
    #define CAR1  V9
    #define CAR2  V10
    #define RED1  V11
    #define RED2  V12
    #define PL    V13
    #define PH    V14
    
    // func p256FromMont(res, in *p256Element)
    TEXT ·p256FromMont(SB), NOSPLIT, $0-16
    	MOVD res+0(FP), res_ptr
    	MOVD in+8(FP), x_ptr
    
    	MOVD $16, R16
    	MOVD $32, R17
    	MOVD $48, R18
    	MOVD $64, R19
    	MOVD $p256<>+0x00(SB), CPOOL
    
    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 Z1H
    #undef X2L
    #undef X2H
    #undef Y2L
    #undef Y2H
    #undef Z2L
    #undef Z2H
    #undef ONE
    #undef IDX
    #undef SEL1
    #undef SEL2
    
    // ---------------------------------------
    
    //  func p256FromMont(res, in *p256Element)
    #define res_ptr R1
    #define x_ptr   R2
    #define CPOOL   R4
    
    #define T0   V0
    #define T1   V1
    #define T2   V2
    #define TT0  V3
    #define TT1  V4
    
    #define ZER   V6
    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