Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

14 linhas
403 B

  1. // +build amd64,!noasm
  2. package sidh
  3. // Set result to zero if the input scalar is <= 3^238, otherwise result is 1.
  4. // Scalar must be array of 48 bytes. This function is specific to P751.
  5. //go:noescape
  6. func checkLessThanThree238(scalar []byte) uint8
  7. // Multiply 48-byte scalar by 3 to get a scalar in 3*[0,3^238). This
  8. // function is specific to P751.
  9. //go:noescape
  10. func multiplyByThree(scalar []byte)