Searched refs:SWAP64 (Results 1 – 7 of 7) sorted by relevance
348 hdr.class = SWAP64((uint64_t)obj->class); in soft_keystore_pack_obj()349 hdr.key_type = SWAP64((uint64_t)obj->key_type); in soft_keystore_pack_obj()350 hdr.cert_type = SWAP64((uint64_t)obj->cert_type); in soft_keystore_pack_obj()351 hdr.bool_attr_mask = SWAP64(obj->bool_attr_mask); in soft_keystore_pack_obj()352 hdr.mechanism = SWAP64((uint64_t)obj->mechanism); in soft_keystore_pack_obj()378 attr_hdr.type = SWAP64((uint64_t)extra_attr->attr.type); in soft_keystore_pack_obj()380 SWAP64((uint64_t)extra_attr->attr.ulValueLen); in soft_keystore_pack_obj()441 obj->class = (CK_OBJECT_CLASS)(SWAP64(hdr->class)); in soft_keystore_unpack_obj()442 obj->key_type = (CK_KEY_TYPE)(SWAP64(hdr->key_type)); in soft_keystore_unpack_obj()443 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
252 salt_length = SWAP64(salt_length); in calculate_hashed_pin_offset()447 ulong_buf = SWAP64(hashed_pin_salt_len); in create_keystore()459 ulong_buf = SWAP64(hashed_pin_len); in create_keystore()886 hashed_pin_size = SWAP64(hashed_pin_size); in get_hashed_pin()1606 hashed_pin_salt_length = SWAP64(hashed_pin_salt_length); in soft_keystore_setpin()1643 swaped_val = SWAP64(new_hashed_pin_len); in soft_keystore_setpin()2797 hashed_pin_salt_size = SWAP64(hashed_pin_salt_size); in soft_keystore_get_pin_salt()
55 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro59 #define SWAP64(x) (x) macro411 p->lvid_uniqid = SWAP64(p->lvid_uniqid); in ud_swap_lvint()505 p->fe_info_len = SWAP64(p->fe_info_len); in ud_swap_file_entry()506 p->fe_lbr = SWAP64(p->fe_lbr); in ud_swap_file_entry()513 p->fe_uniq_id = SWAP64(p->fe_uniq_id); in ud_swap_file_entry()
54 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro58 #define SWAP64(x) (x)
2204 #define SWAP64(_x) ((((uint64_t)(_x) & 0xFF)<<56) | \ macro2233 #define LE_SWAP64(_x) SWAP64(_x)2260 #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()