mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-26 07:53:41 +01:00
requote, reindent ciphers and curves to the same format
This commit is contained in:
parent
10057f93dc
commit
81481cd016
86
cipherscan
86
cipherscan
@ -208,54 +208,54 @@ debug(){
|
|||||||
|
|
||||||
# obtain an array of curves supported by openssl
|
# obtain an array of curves supported by openssl
|
||||||
CURVES=(
|
CURVES=(
|
||||||
sect163k1 # K-163
|
'sect163k1' # K-163
|
||||||
sect163r1
|
'sect163r1'
|
||||||
sect163r2 # B-163
|
'sect163r2' # B-163
|
||||||
sect193r1
|
'sect193r1'
|
||||||
sect193r2
|
'sect193r2'
|
||||||
sect233k1 # K-233
|
'sect233k1' # K-233
|
||||||
sect233r1 # B-233
|
'sect233r1' # B-233
|
||||||
sect239k1
|
'sect239k1'
|
||||||
sect283k1 # K-283
|
'sect283k1' # K-283
|
||||||
sect283r1 # B-283
|
'sect283r1' # B-283
|
||||||
sect409k1 # K-409
|
'sect409k1' # K-409
|
||||||
sect409r1 # B-409
|
'sect409r1' # B-409
|
||||||
sect571k1 # K-571
|
'sect571k1' # K-571
|
||||||
sect571r1 # B-571
|
'sect571r1' # B-571
|
||||||
secp160k1
|
'secp160k1'
|
||||||
secp160r1
|
'secp160r1'
|
||||||
secp160r2
|
'secp160r2'
|
||||||
secp192k1
|
'secp192k1'
|
||||||
prime192v1 # P-192 secp192r1
|
'prime192v1' # P-192 secp192r1
|
||||||
secp224k1
|
'secp224k1'
|
||||||
secp224r1 # P-224
|
'secp224r1' # P-224
|
||||||
secp256k1
|
'secp256k1'
|
||||||
prime256v1 # P-256 secp256r1
|
'prime256v1' # P-256 secp256r1
|
||||||
secp384r1 # P-384
|
'secp384r1' # P-384
|
||||||
secp521r1 # P-521
|
'secp521r1' # P-521
|
||||||
brainpoolP256r1
|
'brainpoolP256r1'
|
||||||
brainpoolP384r1
|
'brainpoolP384r1'
|
||||||
brainpoolP512r1
|
'brainpoolP512r1'
|
||||||
)
|
)
|
||||||
|
|
||||||
# many curves have alternative names, this array provides a mapping to find the IANA
|
# many curves have alternative names, this array provides a mapping to find the IANA
|
||||||
# name of a curve using its alias
|
# name of a curve using its alias
|
||||||
CURVES_MAP=(
|
CURVES_MAP=(
|
||||||
"sect163k1 K-163"
|
'sect163k1 K-163'
|
||||||
"sect163r2 B-163"
|
'sect163r2 B-163'
|
||||||
"sect233k1 K-233"
|
'sect233k1 K-233'
|
||||||
"sect233r1 B-233"
|
'sect233r1 B-233'
|
||||||
"sect283k1 K-283"
|
'sect283k1 K-283'
|
||||||
"sect283r1 B-283"
|
'sect283r1 B-283'
|
||||||
"sect409k1 K-409"
|
'sect409k1 K-409'
|
||||||
"sect409r1 B-409"
|
'sect409r1 B-409'
|
||||||
"sect571k1 K-571"
|
'sect571k1 K-571'
|
||||||
"sect571r1 B-571"
|
'sect571r1 B-571'
|
||||||
"prime192v1 P-192 secp192r1"
|
'prime192v1 P-192 secp192r1'
|
||||||
"secp224r1 P-224"
|
'secp224r1 P-224'
|
||||||
"prime256v1 P-256 secp256r1"
|
'prime256v1 P-256 secp256r1'
|
||||||
"secp384r1 P-384"
|
'secp384r1 P-384'
|
||||||
"secp521r1 P-521"
|
'secp521r1 P-521'
|
||||||
)
|
)
|
||||||
|
|
||||||
get_curve_name() {
|
get_curve_name() {
|
||||||
|
Loading…
Reference in New Issue
Block a user