Re: ECC point compression trick



Pubkeybreaker wrote:
The square roots of 2 mod 7 are 3 and 4.

And -3 == 4

OMG WOW PONIES

Please tell me which one is the postive root and which one is the
negative? If you always want to (say) always select the one with
larger norm and declare it as 'positive', tell us how to do this over
an extension field and not just in the ground field.

I think it's obvious what I meant. The one which you're likely going
to have to negate to get to.

if you compute y' = sqrt(blah) and y' != y then -y' == y

That would be the negative. Aside from random root finding algorithms
the rest will always find the same root... e.g.

blah^(p+1)/4 mod p

will always return the same number for a fixed blah. that means you'll
ALWAYS have to negate the outcome if you want the OTHER root.

In short, GFY.

Tom

.



Relevant Pages

  • Re: Learning tagged types
    ... Proc: Proc_Ptr; ... I think what you want is to declare a root type instead of Proc_Def. ... ("overriding" is an Ada 2005 extension; ...
    (comp.lang.ada)
  • Re: Statics and inheritance
    ... if you declare it in Root then you are implying that ALL the derived ... > Let's say I have a root class called RootBusinessService ... the subclasses will all point to that single property. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XML DTD Validation, namespaces and best practices
    ... >In my instance, to declare the namespace, I have this on my root ... You don't have to declare them on the root, ... namespace declaration attributes have to be declared like any others. ... >Since the validator says this is OK, I'm using what I've done is OK? ...
    (comp.text.xml)
  • Re: Paging net techies.
    ... console as root and seem to be able to get back to windows without too ... much effort and can thus declare this part of the game working. ...
    (uk.rec.motorcycles)
  • Re: Function GetActiveWindow Lib "user32"
    ... But how come one does not have to declare something like ... This code is automating the Shell - it is not calling API functions (such as ... If not at the root, the folder gets automatically the name "New ...
    (microsoft.public.excel.programming)