Home
last modified time | relevance | path

Searched refs:out_block (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c375 uint8_t *out_block) in blowfish_encrypt_block() argument
435 if (IS_P2ALIGNED(out_block, sizeof (uint32_t))) { in blowfish_encrypt_block()
437 b32 = (uint32_t *)out_block; in blowfish_encrypt_block()
445 *(uint32_t *)(void *)&out_block[0] = htonl(left); in blowfish_encrypt_block()
446 *(uint32_t *)(void *)&out_block[4] = htonl(right); in blowfish_encrypt_block()
448 out_block[0] = left >> 24; in blowfish_encrypt_block()
449 out_block[1] = left >> 16; in blowfish_encrypt_block()
450 out_block[2] = left >> 8; in blowfish_encrypt_block()
451 out_block[3] = left; in blowfish_encrypt_block()
452 out_block[4] = right >> 24; in blowfish_encrypt_block()
[all …]
/titanic_41/usr/src/common/crypto/des/
H A Ddes_impl.c504 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt) in des3_crunch_block()
515 IS_P2ALIGNED(out_block, sizeof (uint64_t))) { in des3_crunch_block()
518 *(uint64_t *)out_block = des_crypt_impl( in des3_crunch_block()
523 *(uint64_t *)out_block = des_crypt_impl( in des3_crunch_block()
546 *(uint64_t *)(void *)&out_block[0] = htonll(tmp); in des3_crunch_block()
548 out_block[0] = tmp >> 56; in des3_crunch_block()
549 out_block[1] = tmp >> 48; in des3_crunch_block()
550 out_block[2] = tmp >> 40; in des3_crunch_block()
551 out_block[3] = tmp >> 32; in des3_crunch_block()
552 out_block[4] = tmp >> 24; in des3_crunch_block()
[all …]