Change calculation of B according to errata
Bouke opened this issue · comments
As reported in the errata, we shouldn't be doing:
B = ( k*v + (g^b % N)) % N
but:
B = ( k*v + g^b ) % N
Secure Remote Password (SRP) for Swift
Bouke opened this issue · comments
As reported in the errata, we shouldn't be doing:
B = ( k*v + (g^b % N)) % N
but:
B = ( k*v + g^b ) % N