Searched refs:obj (Results 1 – 7 of 7) sorted by relevance
/optee_client/libckteec/src/ |
A D | serializer.c | 15 CK_RV init_serial_object(struct serializer *obj) in init_serial_object() argument 19 memset(obj, 0, sizeof(*obj)); in init_serial_object() 21 return serialize_buffer(obj, &head, sizeof(head)); in init_serial_object() 24 void finalize_serial_object(struct serializer *obj) in finalize_serial_object() argument 28 head.attrs_size = obj->size - sizeof(head); in finalize_serial_object() 29 head.attrs_count = obj->item_count; in finalize_serial_object() 30 memcpy(obj->buffer, &head, sizeof(head)); in finalize_serial_object() 33 void release_serial_object(struct serializer *obj) in release_serial_object() argument 35 free(obj->buffer); in release_serial_object() 36 obj->buffer = NULL; in release_serial_object() [all …]
|
A D | serialize_ck.c | 108 obj->item_count++; in serialize_indirect_attribute() 222 obj->item_count++; in serialize_ck_attribute() 394 rv = serialize_32b(obj, obj->type); in serialize_mecha_aes_ctr() 420 rv = serialize_32b(obj, obj->type); in serialize_mecha_aes_iv() 438 rv = serialize_32b(obj, obj->type); in serialize_mecha_key_deriv_str() 461 rv = serialize_32b(obj, obj->type); in serialize_mecha_aes_cbc_encrypt_data() 491 rv = serialize_32b(obj, obj->type); in serialize_mecha_rsa_pss_param() 520 rv = serialize_32b(obj, obj->type); in serialize_mecha_rsa_oaep_param() 559 rv = serialize_32b(obj, obj->type); in serialize_mecha_mac_general_param() 588 memset(obj, 0, sizeof(*obj)); in serialize_ck_mecha_params() [all …]
|
A D | serializer.h | 26 CK_RV init_serial_object(struct serializer *obj); 27 void finalize_serial_object(struct serializer *obj); 28 void release_serial_object(struct serializer *obj); 30 CK_RV serialize_buffer(struct serializer *obj, void *data, size_t size); 31 CK_RV serialize_32b(struct serializer *obj, uint32_t data); 32 CK_RV serialize_ck_ulong(struct serializer *obj, CK_ULONG data);
|
A D | serialize_ck.h | 13 CK_RV serialize_ck_attributes(struct serializer *obj, 21 CK_RV serialize_ck_mecha_params(struct serializer *obj,
|
A D | pkcs11_processing.h | 15 CK_RV ck_destroy_object(CK_SESSION_HANDLE session, CK_OBJECT_HANDLE obj); 88 CK_OBJECT_HANDLE_PTR obj, 95 CK_OBJECT_HANDLE obj, 99 CK_OBJECT_HANDLE obj, 104 CK_OBJECT_HANDLE obj, 109 CK_OBJECT_HANDLE obj,
|
A D | pkcs11_processing.c | 22 struct serializer obj = { 0 }; in ck_create_object() local 51 memcpy(buf, obj.buffer, obj.size); in ck_create_object() 73 release_serial_object(&obj); in ck_create_object() 87 uint32_t obj_id = obj; in ck_destroy_object() 151 memcpy(buf, obj.buffer, obj.size); in ck_encdecrypt_init() 158 release_serial_object(&obj); in ck_encdecrypt_init() 401 memcpy(buf, obj.buffer, obj.size); in ck_digest_init() 672 memcpy(buf, obj.buffer, obj.size); in ck_signverify_init() 983 memcpy(buf, obj.buffer, obj.size); in ck_find_objects_init() 1042 obj[n] = handles[n]; in ck_find_objects() [all …]
|
/optee_client/ |
A D | .gitignore | 14 /obj
|
Completed in 11 milliseconds