| 1427 | //} |
| 1428 | |
| 1429 | int ECKeyToString(EC_KEY* pPriKey, enECKeyType eType, std::string* pKeyString) |
| 1430 | { |
| 1431 | if( eEC_PRIVATE_KEY == eType) |
| 1432 | { |
| 1433 | return ECPriKeyToString(pPriKey, pKeyString); |
| 1434 | }else |
| 1435 | { |
| 1436 | return ECPubKeyToString(pPriKey, pKeyString); |
| 1437 | //return ECNewKeyToString(pPriKey, eType, pKeyString); |
| 1438 | } |
| 1439 | } |
| 1440 | |
| 1441 | |
| 1442 | int ComputeECDHKey(int nid,const std::string& sPubKey, EC_KEY* pPriKey, std::string* pEcdhKey, const enECDH_KDF_TYPE eKdfType /*=eECDH_KDF_MD5*/ ) |
nothing calls this directly
no test coverage detected