|
|
@ -19,6 +19,7 @@ package main
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"crypto/elliptic"
|
|
|
|
"crypto/elliptic"
|
|
|
|
"fmt"
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"sort"
|
|
|
|
"strconv"
|
|
|
|
"strconv"
|
|
|
|
"strings"
|
|
|
|
"strings"
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -124,5 +125,6 @@ func ecdsaCurves() []string {
|
|
|
|
for k := range supportedECDSACurves {
|
|
|
|
for k := range supportedECDSACurves {
|
|
|
|
keys = append(keys, k)
|
|
|
|
keys = append(keys, k)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sort.Strings(keys)
|
|
|
|
return keys
|
|
|
|
return keys
|
|
|
|
}
|
|
|
|
}
|
|
|
|