Searched refs:ecParams (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec.c | 246 ec_NewKey(ECParams *ecParams, ECPrivateKey **privKey, in ec_NewKey() argument 261 if (!ecParams || !privKey || !privKeyBytes || (privKeyLen < 0)) { in ec_NewKey() 284 key->ecParams.arena = arena; in ec_NewKey() 285 key->ecParams.type = ecParams->type; in ec_NewKey() 286 key->ecParams.fieldID.size = ecParams->fieldID.size; in ec_NewKey() 287 key->ecParams.fieldID.type = ecParams->fieldID.type; in ec_NewKey() 288 if (ecParams->fieldID.type == ec_field_GFp) { in ec_NewKey() 289 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.fieldID.u.prime, in ec_NewKey() 290 &ecParams->fieldID.u.prime, kmflag)); in ec_NewKey() 292 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.fieldID.u.poly, in ec_NewKey() [all …]
|
H A D | ecc_impl.h | 183 ECParams ecParams; member 191 ECParams ecParams; member 225 extern SECStatus EC_NewKey(ECParams *ecParams, ECPrivateKey **privKey, int);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softEC.c | 74 soft_free_ecparams(&key->ecParams, B_FALSE); in soft_free_ecprivkey() 488 ECkey.ecParams = ecc_ctx->ecparams; in soft_ecc_sign() 558 ECkey.ecParams = ecc_ctx->ecparams; in soft_ecc_verify()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 670 ECkey.ecParams = ctx->ecparams; in ecc_sign_common() 882 ECkey.ecParams = ctx->ecparams; in ecc_verify_common() 1315 free_ecparams(&key->ecParams, B_FALSE); in free_ecprivkey()
|