Lines Matching refs:STRUCT_BUF

944 	if (copyin(arg, STRUCT_BUF(get_number), STRUCT_SIZE(get_number)) != 0)  in get_mechanism_number()
978 if (copyout(STRUCT_BUF(get_number), arg, in get_mechanism_number()
1003 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list()
1021 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list()
1037 offset -= (ulong_t)STRUCT_BUF(get_list); in get_mechanism_list()
1074 bcopy(STRUCT_BUF(mi), p, STRUCT_SIZE(mi)); in copyout_mechinfos()
1112 if (copyin(arg, STRUCT_BUF(get_all_mech), in get_all_mechanism_info()
1147 if (copyout(STRUCT_BUF(get_all_mech), arg, in get_all_mechanism_info()
1164 offset -= (ulong_t)STRUCT_BUF(get_all_mech); in get_all_mechanism_info()
1258 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_provider_list()
1267 if (copyout(STRUCT_BUF(get_list), arg, in get_provider_list()
1285 if (copyout(STRUCT_BUF(get_list), arg, in get_provider_list()
1298 if (copyout(STRUCT_BUF(get_list), arg, in get_provider_list()
1311 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) { in get_provider_list()
1323 offset -= (ulong_t)STRUCT_BUF(get_list); in get_provider_list()
1371 bcopy(STRUCT_BUF(version), STRUCT_FADDR(pd, pd_hardware_version), in ext_to_provider_data()
1375 bcopy(STRUCT_BUF(version), STRUCT_FADDR(pd, pd_firmware_version), in ext_to_provider_data()
1378 bcopy(STRUCT_BUF(pd), out, STRUCT_SIZE(pd)); in ext_to_provider_data()
1442 if (copyin(arg, STRUCT_BUF(get_info), STRUCT_SIZE(get_info)) != 0) { in get_provider_info()
1513 if (copyout(STRUCT_BUF(get_info), arg, STRUCT_SIZE(get_info)) != 0) { in get_provider_info()
1545 if (copyin(arg, STRUCT_BUF(get_mechanisms), in get_provider_mechanisms()
1557 if (copyout(STRUCT_BUF(get_mechanisms), arg, in get_provider_mechanisms()
1573 if (copyout(STRUCT_BUF(get_mechanisms), arg, in get_provider_mechanisms()
1586 if (copyout(STRUCT_BUF(get_mechanisms), arg, in get_provider_mechanisms()
1599 if (copyout(STRUCT_BUF(get_mechanisms), arg, in get_provider_mechanisms()
1611 offset -= (ulong_t)STRUCT_BUF(get_mechanisms); in get_provider_mechanisms()
2153 bcopy(in_mech, STRUCT_BUF(mech), STRUCT_SIZE(mech)); in copyin_mech()
2307 bcopy(ap, STRUCT_BUF(oa), STRUCT_SIZE(oa)); in copyin_attributes()
2338 bcopy(ap, STRUCT_BUF(oa), STRUCT_SIZE(oa)); in copyin_attributes()
2404 bcopy(in_key, STRUCT_BUF(key), STRUCT_SIZE(key)); in copyin_key()
2667 if (copyin(arg, STRUCT_BUF(encrypt_init), in cipher_init()
2750 if (copyout(STRUCT_BUF(encrypt_init), arg, in cipher_init()
2802 if (copyin(arg, STRUCT_BUF(encrypt), STRUCT_SIZE(encrypt)) != 0) { in cipher()
2912 if (copyout(STRUCT_BUF(encrypt), arg, STRUCT_SIZE(encrypt)) != 0) { in cipher()
2962 if (copyin(arg, STRUCT_BUF(encrypt_update), in cipher_update()
3070 if (copyout(STRUCT_BUF(encrypt_update), arg, in cipher_update()
3118 if (copyin(arg, STRUCT_BUF(encrypt_final), in common_final()
3217 if (copyout(STRUCT_BUF(encrypt_final), arg, in common_final()
3247 if (copyin(arg, STRUCT_BUF(digest_init), in digest_init()
3297 if (copyout(STRUCT_BUF(digest_init), arg, in digest_init()
3325 if (copyin(arg, STRUCT_BUF(digest_update), in digest_update()
3382 if (copyout(STRUCT_BUF(digest_update), arg, in digest_update()
3410 if (copyin(arg, STRUCT_BUF(digest_key), STRUCT_SIZE(digest_key)) != 0) { in digest_key()
3442 if (copyout(STRUCT_BUF(digest_key), arg, in digest_key()
3520 if (copyin(arg, STRUCT_BUF(crypto_digest), in common_digest()
3633 if (copyout(STRUCT_BUF(crypto_digest), arg, in common_digest()
3695 if (copyin(arg, STRUCT_BUF(set_pin), in set_pin()
3754 if (copyout(STRUCT_BUF(set_pin), arg, STRUCT_SIZE(set_pin)) != 0) { in set_pin()
3782 if (copyin(arg, STRUCT_BUF(login), STRUCT_SIZE(login)) != 0) { in login()
3828 if (copyout(STRUCT_BUF(login), arg, STRUCT_SIZE(login)) != 0) { in login()
3954 if (copyin(arg, STRUCT_BUF(sign_init), STRUCT_SIZE(sign_init)) != 0) { in sign_verify_init()
4049 if (copyout(STRUCT_BUF(sign_init), arg, STRUCT_SIZE(sign_init)) != 0) { in sign_verify_init()
4090 if (copyin(arg, STRUCT_BUF(verify), STRUCT_SIZE(verify)) != 0) { in verify()
4155 if (copyout(STRUCT_BUF(verify), arg, STRUCT_SIZE(verify)) != 0) { in verify()
4208 if (copyin(arg, STRUCT_BUF(sign_update), in sign_verify_update()
4272 if (copyout(STRUCT_BUF(sign_update), arg, in sign_verify_update()
4311 if (copyin(arg, STRUCT_BUF(verify_final), in verify_final()
4363 if (copyout(STRUCT_BUF(verify_final), arg, in verify_final()
4394 if (copyin(arg, STRUCT_BUF(seed_random), in seed_random()
4454 if (copyout(STRUCT_BUF(seed_random), arg, in seed_random()
4485 if (copyin(arg, STRUCT_BUF(generate_random), in generate_random()
4549 if (copyout(STRUCT_BUF(generate_random), arg, in generate_random()
4584 bcopy(p, STRUCT_BUF(oa), STRUCT_SIZE(oa)); in copyout_attributes()
4596 bcopy(STRUCT_BUF(oa), p, STRUCT_SIZE(oa)); in copyout_attributes()
4634 if (copyin(arg, STRUCT_BUF(object_create), in object_create()
4679 if (copyout(STRUCT_BUF(object_create), arg, in object_create()
4728 if (copyin(arg, STRUCT_BUF(object_copy), in object_copy()
4775 if (copyout(STRUCT_BUF(object_copy), arg, in object_copy()
4818 if (copyin(arg, STRUCT_BUF(object_destroy), in object_destroy()
4856 if (copyout(STRUCT_BUF(object_destroy), arg, in object_destroy()
4899 if (copyin(arg, STRUCT_BUF(get_attribute_value), in object_get_attribute_value()
4958 if (copyout(STRUCT_BUF(get_attribute_value), arg, in object_get_attribute_value()
4987 if (copyin(arg, STRUCT_BUF(object_get_size), in object_get_size()
5026 if (copyout(STRUCT_BUF(object_get_size), arg, in object_get_size()
5061 if (copyin(arg, STRUCT_BUF(set_attribute_value), in object_set_attribute_value()
5108 if (copyout(STRUCT_BUF(set_attribute_value), arg, in object_set_attribute_value()
5142 if (copyin(arg, STRUCT_BUF(find_init), STRUCT_SIZE(find_init)) != 0) { in object_find_init()
5206 if (copyout(STRUCT_BUF(find_init), arg, STRUCT_SIZE(find_init)) != 0) { in object_find_init()
5235 if (copyin(arg, STRUCT_BUF(find_update), in object_find_update()
5304 if (copyout(STRUCT_BUF(find_update), arg, in object_find_update()
5356 if (copyin(arg, STRUCT_BUF(object_find_final), in object_find_final()
5382 if (copyout(STRUCT_BUF(object_find_final), arg, in object_find_final()
5419 if (copyin(arg, STRUCT_BUF(generate_key), in object_generate_key()
5483 if (copyout(STRUCT_BUF(generate_key), arg, in object_generate_key()
5553 if (copyin(arg, STRUCT_BUF(generate_key), in nostore_generate_key()
5636 if (copyout(STRUCT_BUF(generate_key), arg, in nostore_generate_key()
5690 if (copyin(arg, STRUCT_BUF(generate_key_pair), in object_generate_key_pair()
5770 if (copyout(STRUCT_BUF(generate_key_pair), arg, in object_generate_key_pair()
5862 if (copyin(arg, STRUCT_BUF(generate_key_pair), in nostore_generate_key_pair()
5986 if (copyout(STRUCT_BUF(generate_key_pair), arg, in nostore_generate_key_pair()
6034 if (copyin(arg, STRUCT_BUF(wrap_key), STRUCT_SIZE(wrap_key)) != 0) { in object_wrap_key()
6155 if (copyout(STRUCT_BUF(wrap_key), arg, STRUCT_SIZE(wrap_key)) != 0) { in object_wrap_key()
6197 if (copyin(arg, STRUCT_BUF(unwrap_key), STRUCT_SIZE(unwrap_key)) != 0) { in object_unwrap_key()
6301 if (copyout(STRUCT_BUF(unwrap_key), arg, in object_unwrap_key()
6362 if (copyin(arg, STRUCT_BUF(derive_key), STRUCT_SIZE(derive_key)) != 0) { in object_derive_key()
6451 if (copyout(STRUCT_BUF(derive_key), arg, in object_derive_key()
6523 if (copyin(arg, STRUCT_BUF(derive_key), STRUCT_SIZE(derive_key)) != 0) { in nostore_derive_key()
6628 if (copyout(STRUCT_BUF(derive_key), arg, in nostore_derive_key()