Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c348 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 …]
H A DsoftKeystore.h75 #define SWAP64(value) \ macro
82 #define SWAP64(value) (value) macro
H A DsoftKeystoreUtil.c252 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()
/titanic_50/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c55 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro
59 #define SWAP64(x) (x) macro
411 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()
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h54 #define SWAP64(x) (SWAP32((x) >> 32) & 0xffffffff | SWAP32(x) << 32) macro
58 #define SWAP64(x) (x)
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2204 #define SWAP64(_x) ((((uint64_t)(_x) & 0xFF)<<56) | \ macro
2233 #define LE_SWAP64(_x) SWAP64(_x)
2260 #define BE_SWAP64(_x) SWAP64(_x)
/titanic_50/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()