Hi. I've got a problem. I need to use NSS freebl3.dll ECC-functions (for ECDH). This DLL has only one export function FREEBLVector *FREEBL_GetVector(void). So, to use freebl3.dll ECC-functions I wrote somth like this: vec= FREEBL_GetVector(void).;(this works fine).
And after that I should call ECC-functions like this: vec->p_EC_NewKey(params,pair1); where SECStatus p_EC_NewKey(ECParams *params, ECPrivateKey **privKey). The source code for EC_NewKey is in ec.c (../mozilla/security/nss/lib/ freelbl). So, there is a question. How shoud I set variable "params" to use, for example, ECCurve_NIST_P521? If somebody know, please help me. I've tryed a lot, but everything is wrong (( . _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto