Lines Matching defs:sk
3541 secret_key_obj_t *sk;
3543 sk = malloc(sizeof (secret_key_obj_t));
3544 if (sk == NULL) {
3547 (void) memcpy(sk, old_secret_key_obj_p, sizeof (secret_key_obj_t));
3550 sk->sk_value = malloc((sizeof (CK_BYTE) * sk->sk_value_len));
3551 if (sk->sk_value == NULL) {
3552 free(sk);
3555 (void) memcpy(sk->sk_value, old_secret_key_obj_p->sk_value,
3556 (sizeof (CK_BYTE) * sk->sk_value_len));
3558 *new_secret_key_obj_p = sk;