Home
last modified time | relevance | path

Searched refs:pbk (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1032 public_key_obj_t *pbk; in kernel_build_public_key_object() local
1216 pbk = calloc(1, sizeof (public_key_obj_t)); in kernel_build_public_key_object()
1217 if (pbk == NULL) { in kernel_build_public_key_object()
1222 new_object->object_class_u.public_key = pbk; in kernel_build_public_key_object()
1248 KEY_PUB_RSA_MOD(pbk)); in kernel_build_public_key_object()
1251 KEY_PUB_RSA_PUBEXPO(pbk)); in kernel_build_public_key_object()
1259 KEY_PUB_RSA_MOD_BITS(pbk) = modulus_bits; in kernel_build_public_key_object()
1274 copy_bigint_attr(&prime, KEY_PUB_DSA_PRIME(pbk)); in kernel_build_public_key_object()
1276 copy_bigint_attr(&subprime, KEY_PUB_DSA_SUBPRIME(pbk)); in kernel_build_public_key_object()
1278 copy_bigint_attr(&base, KEY_PUB_DSA_BASE(pbk)); in kernel_build_public_key_object()
[all …]
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c1316 public_key_obj_t *pbk; local
1535 pbk = calloc(1, sizeof (public_key_obj_t));
1536 if (pbk == NULL) {
1541 new_object->object_class_u.public_key = pbk;
1597 KEY_PUB_RSA_MOD_BITS(pbk) = modulus_bits;
1607 KEY_PUB_RSA_MOD(pbk));
1610 KEY_PUB_RSA_PUBEXPO(pbk));
1630 KEY_PUB_RSA_MOD_BITS(pbk) = modulus_bits;
1651 copy_bigint_attr(&pubexpo, KEY_PUB_RSA_PUBEXPO(pbk));
1665 KEY_PUB_DSA_VALUE(pbk));
[all …]
H A DsoftKeystore.c1324 public_key_obj_t *pbk; in soft_unpack_object() local
1368 pbk = calloc(1, sizeof (public_key_obj_t)); in soft_unpack_object()
1369 if (pbk == NULL) { in soft_unpack_object()
1374 objp->object_class_u.public_key = pbk; in soft_unpack_object()
1379 KEY_PUB_RSA_MOD_BITS(pbk) = (CK_ULONG)(SWAP64(tmp_val)); in soft_unpack_object()
1387 copy_bigint_attr(&modulus, KEY_PUB_RSA_MOD(pbk)); in soft_unpack_object()
1396 copy_bigint_attr(&pubexpo, KEY_PUB_RSA_PUBEXPO(pbk)); in soft_unpack_object()
1406 copy_bigint_attr(&prime, KEY_PUB_DSA_PRIME(pbk)); in soft_unpack_object()
1415 copy_bigint_attr(&subprime, KEY_PUB_DSA_SUBPRIME(pbk)); in soft_unpack_object()
1424 copy_bigint_attr(&base, KEY_PUB_DSA_BASE(pbk)); in soft_unpack_object()
[all …]