build, internal/ethapi, crypto/bls12381: fix typos (#21210)

speicifc -> specific
assigened -> assigned
frobenious -> frobenius
This commit is contained in:
Yang Hau
2020-06-11 04:25:32 +08:00
committed by GitHub
parent 4a19c0e7b8
commit e30c0af861
4 changed files with 10 additions and 10 deletions

View File

@ -207,7 +207,7 @@ func (e *fp2) exp(c, a *fe2, s *big.Int) {
c.set(z)
}
func (e *fp2) frobeniousMap(c, a *fe2, power uint) {
func (e *fp2) frobeniusMap(c, a *fe2, power uint) {
c[0].set(&a[0])
if power%2 == 1 {
neg(&c[1], &a[1])
@ -216,7 +216,7 @@ func (e *fp2) frobeniousMap(c, a *fe2, power uint) {
c[1].set(&a[1])
}
func (e *fp2) frobeniousMapAssign(a *fe2, power uint) {
func (e *fp2) frobeniusMapAssign(a *fe2, power uint) {
if power%2 == 1 {
neg(&a[1], &a[1])
return