Searched defs:pbk (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c1334 public_key_obj_t *pbk = NULL; local
1378 pbk = calloc(1, sizeof (public_key_obj_t));
1379 if (pbk == NULL) {
1384 objp->object_class_u.public_key = pbk;
1389 KEY_PUB_RSA_MOD_BITS(pbk) = (CK_ULONG)(SWAP64(tmp_val));
1397 copy_bigint_attr(&modulus, KEY_PUB_RSA_MOD(pbk));
1406 copy_bigint_attr(&pubexpo, KEY_PUB_RSA_PUBEXPO(pbk));
1416 copy_bigint_attr(&prime, KEY_PUB_DSA_PRIME(pbk));
1425 copy_bigint_attr(&subprime, KEY_PUB_DSA_SUBPRIME(pbk));
1434 copy_bigint_attr(&base, KEY_PUB_DSA_BASE(pbk));
[all...]
H A DsoftAttributeUtil.c1352 public_key_obj_t *pbk; local
1571 pbk = calloc(1, sizeof (public_key_obj_t));
1572 if (pbk == NULL) {
1577 new_object->object_class_u.public_key = pbk;
1636 KEY_PUB_RSA_MOD_BITS(pbk) = modulus_bits;
1646 KEY_PUB_RSA_MOD(pbk));
1649 KEY_PUB_RSA_PUBEXPO(pbk));
1669 KEY_PUB_RSA_MOD_BITS(pbk) = modulus_bits;
1690 copy_bigint_attr(&pubexpo, KEY_PUB_RSA_PUBEXPO(pbk));
1704 KEY_PUB_DSA_VALUE(pbk));
5810 free_public_key_attr(public_key_obj_t *pbk, CK_KEY_TYPE key_type) argument
5852 public_key_obj_t *pbk; local
6004 free_private_key_attr(private_key_obj_t *pbk, CK_KEY_TYPE key_type) argument
6052 private_key_obj_t *pbk; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1060 public_key_obj_t *pbk; local
1244 pbk = calloc(1, sizeof (public_key_obj_t));
1245 if (pbk == NULL) {
1250 new_object->object_class_u.public_key = pbk;
1276 KEY_PUB_RSA_MOD(pbk));
1279 KEY_PUB_RSA_PUBEXPO(pbk));
1287 KEY_PUB_RSA_MOD_BITS(pbk) = modulus_bits;
1291 KEY_PUB_RSA_MOD_BITS(pbk) =
1292 bigint_bitlen(KEY_PUB_RSA_MOD(pbk));
1307 copy_bigint_attr(&prime, KEY_PUB_DSA_PRIME(pbk));
3343 free_public_key_attr(public_key_obj_t *pbk, CK_KEY_TYPE key_type) argument
3372 public_key_obj_t *pbk; local
3446 free_private_key_attr(private_key_obj_t *pbk, CK_KEY_TYPE key_type) argument
3480 private_key_obj_t *pbk; local
[all...]

Completed in 25 milliseconds