Searched refs:SWAP64 (Results 1 – 7 of 7) sorted by relevance
367 hdr.class = SWAP64((uint64_t)obj->class); in soft_keystore_pack_obj()368 hdr.key_type = SWAP64((uint64_t)obj->key_type); in soft_keystore_pack_obj()369 hdr.cert_type = SWAP64((uint64_t)obj->cert_type); in soft_keystore_pack_obj()370 hdr.bool_attr_mask = SWAP64(obj->bool_attr_mask); in soft_keystore_pack_obj()371 hdr.mechanism = SWAP64((uint64_t)obj->mechanism); in soft_keystore_pack_obj()397 attr_hdr.type = SWAP64((uint64_t)extra_attr->attr.type); in soft_keystore_pack_obj()399 SWAP64((uint64_t)extra_attr->attr.ulValueLen); in soft_keystore_pack_obj()460 obj->class = (CK_OBJECT_CLASS)(SWAP64(hdr->class)); in soft_keystore_unpack_obj()461 obj->key_type = (CK_KEY_TYPE)(SWAP64(hdr->key_type)); in soft_keystore_unpack_obj()462 obj->cert_type = (CK_CERTIFICATE_TYPE)(SWAP64(hdr->cert_type)); in soft_keystore_unpack_obj()[all …]
75 #define SWAP64(value) \ macro82 #define SWAP64(value) (value) macro
253 salt_length = SWAP64(salt_length); in calculate_hashed_pin_offset()448 ulong_buf = SWAP64(hashed_pin_salt_len); in create_keystore()460 ulong_buf = SWAP64(hashed_pin_len); in create_keystore()886 hashed_pin_size = SWAP64(hashed_pin_size); in get_hashed_pin()1607 hashed_pin_salt_length = SWAP64(hashed_pin_salt_length); in soft_keystore_setpin()1647 swaped_val = SWAP64(new_hashed_pin_len); in soft_keystore_setpin()2801 hashed_pin_salt_size = SWAP64(hashed_pin_salt_size); in soft_keystore_get_pin_salt()
53 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro57 #define SWAP64(x) (x) macro409 p->lvid_uniqid = SWAP64(p->lvid_uniqid); in ud_swap_lvint()503 p->fe_info_len = SWAP64(p->fe_info_len); in ud_swap_file_entry()504 p->fe_lbr = SWAP64(p->fe_lbr); in ud_swap_file_entry()511 p->fe_uniq_id = SWAP64(p->fe_uniq_id); in ud_swap_file_entry()
52 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro56 #define SWAP64(x) (x)
2238 #define SWAP64(_x) ((((uint64_t)(_x) & 0xFF)<<56) | \ macro2267 #define LE_SWAP64(_x) SWAP64(_x)2294 #define BE_SWAP64(_x) SWAP64(_x)
77 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP64) in load_64_le()119 #elif defined(__GNUC__) && defined(K5_BE) && defined(SWAP64) in store_64_le()