Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for affineFromMont (0.14 sec)

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

    	}
    
    	x, y := new(p256Element), new(p256Element)
    	p.affineFromMont(x, y)
    
    	out[0] = 4 // Uncompressed form.
    	p256LittleToBig((*[32]byte)(out[1:33]), x)
    	p256LittleToBig((*[32]byte)(out[33:65]), y)
    
    	return out[:]
    }
    
    // affineFromMont sets (x, y) to the affine coordinates of p, converted out of the
    // Montgomery domain.
    func (p *P256Point) affineFromMont(x, y *p256Element) {
    	p256Inverse(y, &p.z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top