Searched defs:pvk (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.c1874 private_key_obj_t *pvk; local
1880 if ((pvk = calloc(1, sizeof (private_key_obj_t))) == NULL) {
1887 rv = asn1_to_rsa_pri(pvk, buf, buf_len);
1891 rv = asn1_to_dsa_pri(pvk, buf, buf_len);
1895 rv = asn1_to_dh_pri(pvk, buf, buf_len);
1899 rv = asn1_to_x942_dh_pri(pvk, buf, buf_len);
1909 free(pvk);
1914 objp->object_class_u.private_key = pvk;
H A DsoftKeystore.c1335 private_key_obj_t *pvk = NULL; local
1527 pvk = calloc(1, sizeof (private_key_obj_t));
1528 if (pvk == NULL) {
1533 objp->object_class_u.private_key = pvk;
1542 copy_bigint_attr(&modulus, KEY_PRI_RSA_MOD(pvk));
1551 copy_bigint_attr(&pubexpo, KEY_PRI_RSA_PUBEXPO(pvk));
1560 copy_bigint_attr(&priexpo, KEY_PRI_RSA_PRIEXPO(pvk));
1569 copy_bigint_attr(&prime1, KEY_PRI_RSA_PRIME1(pvk));
1578 copy_bigint_attr(&prime2, KEY_PRI_RSA_PRIME2(pvk));
1587 copy_bigint_attr(&expo1, KEY_PRI_RSA_EXPO1(pvk));
[all...]
H A DsoftAttributeUtil.c1935 private_key_obj_t *pvk; local
2216 pvk = calloc(1, sizeof (private_key_obj_t));
2217 if (pvk == NULL) {
2222 new_object->object_class_u.private_key = pvk;
2297 copy_bigint_attr(&modulus, KEY_PRI_RSA_MOD(pvk));
2299 copy_bigint_attr(&priexpo, KEY_PRI_RSA_PRIEXPO(pvk));
2307 copy_bigint_attr(&pubexpo, KEY_PRI_RSA_PUBEXPO(pvk));
2311 copy_bigint_attr(&prime1, KEY_PRI_RSA_PRIME1(pvk));
2315 copy_bigint_attr(&prime2, KEY_PRI_RSA_PRIME2(pvk));
2319 copy_bigint_attr(&expo1, KEY_PRI_RSA_EXPO1(pvk));
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1450 private_key_obj_t *pvk; local
1697 pvk = calloc(1, sizeof (private_key_obj_t));
1698 if (pvk == NULL) {
1703 new_object->object_class_u.private_key = pvk;
1727 copy_bigint_attr(&modulus, KEY_PRI_RSA_MOD(pvk));
1729 copy_bigint_attr(&priexpo, KEY_PRI_RSA_PRIEXPO(pvk));
1738 copy_bigint_attr(&pubexpo, KEY_PRI_RSA_PUBEXPO(pvk));
1742 copy_bigint_attr(&prime1, KEY_PRI_RSA_PRIME1(pvk));
1746 copy_bigint_attr(&prime2, KEY_PRI_RSA_PRIME2(pvk));
1750 copy_bigint_attr(&expo1, KEY_PRI_RSA_EXPO1(pvk));
[all...]

Completed in 89 milliseconds