Lines Matching refs:from
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()
55 from->length > 0) 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()
63 if (from->length > 0) 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()
90 krb5_copy_keyblock(context, from, to) in krb5_copy_keyblock() argument
92 const krb5_keyblock *from;
100 if (!(new_key->contents = (krb5_octet *)MALLOC(from->length))) {
105 ret = krb5_copy_keyblock_data(context, from, new_key);