Searched defs:sck (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsAttributeUtil.c650 secret_key_obj_t *sck; local
667 sck = calloc(1, sizeof (secret_key_obj_t));
668 if (sck == NULL) {
673 new_object->object_class_u.secret_key = sck;
778 sck->sk_value = malloc(template[i].ulValueLen);
779 if (sck->sk_value == NULL) {
783 (void) memcpy(sck->sk_value, template[i].pValue,
785 sck->sk_value_len = template[i].ulValueLen;
791 sck->sk_value_len =
794 sck
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c1336 secret_key_obj_t *sck; local
1730 sck = calloc(1, sizeof (secret_key_obj_t));
1731 if (sck == NULL) {
1735 objp->object_class_u.secret_key = sck;
1745 free(sck);
H A DsoftKeysUtil.c1671 secret_key_obj_t *sck = NULL; local
1790 if ((sck = calloc(1, sizeof (secret_key_obj_t))) ==
1798 OBJ_SEC(new_objp) = sck;
1893 /* sck and new_objp are indirectly free()d inside these functions */
H A DsoftAttributeUtil.c2583 secret_key_obj_t *sck; local
2589 sck = calloc(1, sizeof (secret_key_obj_t));
2590 if (sck == NULL) {
2595 new_object->object_class_u.secret_key = sck;
2713 rv = get_bigint_attr_from_template((biginteger_t *)sck,
2721 rv = get_ulong_attr_from_template(&sck->sk_value_len,
2784 if (isValueLen && sck->sk_value_len != key_len) {
2789 sck->sk_value_len = key_len;
2829 if ((sck->sk_value_len < ARCFOUR_MIN_KEY_BYTES) ||
2830 (sck
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c1907 secret_key_obj_t *sck; local
1912 sck = calloc(1, sizeof (secret_key_obj_t));
1913 if (sck == NULL) {
1918 new_object->object_class_u.secret_key = sck;
2025 sck->sk_value = malloc(template[i].ulValueLen);
2026 if (sck->sk_value == NULL) {
2030 (void) memcpy(sck->sk_value, template[i].pValue,
2032 sck->sk_value_len = template[i].ulValueLen;
2071 if ((sck->sk_value_len < ARCFOUR_MIN_KEY_BYTES) ||
2072 (sck
[all...]

Completed in 32 milliseconds