Home
last modified time | relevance | path

Searched refs:SWAP64 (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c367 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 …]
H A DsoftKeystore.h75 #define SWAP64(value) \ macro
82 #define SWAP64(value) (value) macro
H A DsoftKeystoreUtil.c253 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()
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c53 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro
57 #define SWAP64(x) (x) macro
409 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()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h52 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro
56 #define SWAP64(x) (x)
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2238 #define SWAP64(_x) ((((uint64_t)(_x) & 0xFF)<<56) | \ macro
2267 #define LE_SWAP64(_x) SWAP64(_x)
2294 #define BE_SWAP64(_x) SWAP64(_x)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c77 #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()