Home
last modified time | relevance | path

Searched refs:ecbits (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/
H A Dec_ameth.c217 int ecbits = ec_bits(pkey); in ec_security_bits() local
219 if (ecbits >= 512) in ec_security_bits()
221 if (ecbits >= 384) in ec_security_bits()
223 if (ecbits >= 256) in ec_security_bits()
225 if (ecbits >= 224) in ec_security_bits()
227 if (ecbits >= 160) in ec_security_bits()
229 return ecbits / 2; in ec_security_bits()
531 int ecbits; in ec_pkey_export_to() local
567 ecbits = EC_GROUP_order_bits(ecg); in ec_pkey_export_to()
568 if (ecbits <= 0) in ec_pkey_export_to()
[all …]
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c187 int ecbits; in key_to_params() local
222 ecbits = EC_GROUP_order_bits(ecg); in key_to_params()
223 if (ecbits <= 0) in key_to_params()
225 sz = (ecbits + 7 ) / 8; in key_to_params()
668 int ecbits, sec_bits; in common_get_params() local
670 ecbits = EC_GROUP_order_bits(ecg); in common_get_params()
688 if (ecbits >= 512) in common_get_params()
690 else if (ecbits >= 384) in common_get_params()
692 else if (ecbits >= 256) in common_get_params()
694 else if (ecbits >= 224) in common_get_params()
[all …]