Lines Matching refs:to
46 const krb5_keyblock *from, krb5_keyblock *to) in krb5_copy_keyblock_data() argument
51 if (from == NULL || to == NULL) in krb5_copy_keyblock_data()
54 if ((to->contents == NULL || from->contents == NULL) && in krb5_copy_keyblock_data()
58 to->magic = from->magic; in krb5_copy_keyblock_data()
59 to->enctype = from->enctype; in krb5_copy_keyblock_data()
60 to->length = from->length; in krb5_copy_keyblock_data()
61 to->dk_list = NULL; in krb5_copy_keyblock_data()
64 (void) memcpy(to->contents, from->contents, from->length); in krb5_copy_keyblock_data()
67 to->kef_mt = from->kef_mt; in krb5_copy_keyblock_data()
68 to->kef_key.ck_data = NULL; in krb5_copy_keyblock_data()
69 to->key_tmpl = NULL; in krb5_copy_keyblock_data()
70 if ((ret = init_key_kef(context->kef_cipher_mt, to))) { in krb5_copy_keyblock_data()
79 to->hKey = CK_INVALID_HANDLE; in krb5_copy_keyblock_data()
90 krb5_copy_keyblock(context, from, to) in krb5_copy_keyblock() argument
93 krb5_keyblock **to;
111 *to = new_key;