Searched refs:publicValue (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Dec.c316 SECITEM_AllocItem(arena, &key->publicValue, 2*len + 1, kmflag);
334 rv = ec_points_mul(ecParams, &k, NULL, NULL, &(key->publicValue), kmflag);
468 EC_ValidatePublicKey(ECParams *ecParams, SECItem *publicValue, int kmflag) argument
476 if (!ecParams || !publicValue) {
483 if (publicValue->data[0] != EC_POINT_FORM_UNCOMPRESSED) {
486 } else if (publicValue->len != (2 * len + 1)) {
497 CHECK_MPI_OK( mp_read_unsigned_octets(&Px, publicValue->data + 1, (mp_size) len) );
498 CHECK_MPI_OK( mp_read_unsigned_octets(&Py, publicValue->data + 1 + len, (mp_size) len) );
546 ** multiplication of privateValue and publicValue (with or without the
555 ECDH_Derive(SECItem *publicValue, argument
[all...]
H A Decc_impl.h184 SECItem publicValue; /* elliptic curve point encoded as member in struct:ECPublicKeyStr
192 SECItem publicValue; /* encoded ec point */ member in struct:ECPrivateKeyStr
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c76 * Don't free publicValue or privateValue
202 bi.big_value = privKey->publicValue.data;
203 bi.big_value_len = privKey->publicValue.len;
568 ECkey.publicValue.data = point;
569 ECkey.publicValue.len = template.ulValueLen;
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c888 ECkey.publicValue.data = public;
889 ECkey.publicValue.len = (uint_t)public_len;
1145 xylen = privKey->publicValue.len;
1159 bcopy(privKey->publicValue.data, point, xylen);
1316 SECITEM_FreeItem(&key->publicValue, B_FALSE);

Completed in 189 milliseconds