Public Key Mathematics
- In rings and prime fields, multiplicative inverse might exist
- Exists when gcd(a,p)=1
- For prime fields, gcd(a,p)=,∀a=0∈GF(p)
- Calculates the greatest common divisor of two numbers
- This is the largest number that divides both r0 and r1
- Bézouts identity tells us that the greatest common divisor of two numbers can be expressed as the sum of multiples of these numbers
- Calculates gcd(r0,r1) as normal, and in addition calculates values of s and t
- r2=?×r0+?×r1
- Check slides for formula