Searched refs:privKey (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softEC.c | 151 ECPrivateKey *privKey; /* contains both public and private values */ in soft_ec_genkey_pair() local 193 if (EC_NewKey(ecparams, &privKey, 0) != SECSuccess) { in soft_ec_genkey_pair() 198 bi.big_value = privKey->privateValue.data; in soft_ec_genkey_pair() 199 bi.big_value_len = privKey->privateValue.len; in soft_ec_genkey_pair() 202 bi.big_value = privKey->publicValue.data; in soft_ec_genkey_pair() 203 bi.big_value_len = privKey->publicValue.len; in soft_ec_genkey_pair() 206 soft_free_ecprivkey(privKey); in soft_ec_genkey_pair()
|
/titanic_50/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 1047 ECPrivateKey *privKey; /* contains both public and private values */ in ecc_nostore_key_generate_pair() local 1140 if (EC_NewKey(ecparams, &privKey, kmflag) != SECSuccess) { in ecc_nostore_key_generate_pair() 1145 xylen = privKey->publicValue.len; in ecc_nostore_key_generate_pair() 1152 if (privKey->privateValue.len > valuelen) { in ecc_nostore_key_generate_pair() 1156 bcopy(privKey->privateValue.data, value, privKey->privateValue.len); in ecc_nostore_key_generate_pair() 1157 pri_out_template[value_idx].oa_value_len = privKey->privateValue.len; in ecc_nostore_key_generate_pair() 1159 bcopy(privKey->publicValue.data, point, xylen); in ecc_nostore_key_generate_pair() 1163 free_ecprivkey(privKey); in ecc_nostore_key_generate_pair()
|
/titanic_50/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() 336 *privKey = key; in ec_NewKey() 358 EC_NewKeyFromSeed(ECParams *ecParams, ECPrivateKey **privKey, in EC_NewKeyFromSeed() argument 362 rv = ec_NewKey(ecParams, privKey, seed, seedlen, kmflag); in EC_NewKeyFromSeed() 431 EC_NewKey(ECParams *ecParams, ECPrivateKey **privKey, int kmflag) in EC_NewKey() argument 447 CHECK_SEC_OK( ec_NewKey(ecParams, privKey, privKeyBytes, len, kmflag) ); in EC_NewKey()
|
H A D | ecc_impl.h | 225 extern SECStatus EC_NewKey(ECParams *ecParams, ECPrivateKey **privKey, int);
|
/titanic_50/usr/src/lib/libslp/clib/ |
H A D | slp_ami.h | 285 Any privKey; member
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 2262 SECKEYPrivateKey *privKey = (SECKEYPrivateKey *) prikey->keyp; in NSS_StoreKey() local 2264 pk = PK11_LoadPrivKey(nss_slot, privKey, NULL, PR_TRUE, in NSS_StoreKey()
|