Searched refs:BLOWFISH_BLOCK_LEN (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.h65 #define BLOWFISH_BLOCK_LEN 8 macro
H A Dblowfish_impl.c742 BLOWFISH_BLOCK_LEN, blowfish_encrypt_block,
746 BLOWFISH_BLOCK_LEN, blowfish_encrypt_block);
763 BLOWFISH_BLOCK_LEN, blowfish_decrypt_block,
767 BLOWFISH_BLOCK_LEN, blowfish_decrypt_block);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c163 if ((ulDataLen % BLOWFISH_BLOCK_LEN) != 0) {
201 if (total_len < BLOWFISH_BLOCK_LEN) {
219 remain = total_len % BLOWFISH_BLOCK_LEN;
340 if ((ulEncryptedLen % BLOWFISH_BLOCK_LEN) != 0) {
371 if (total_len < BLOWFISH_BLOCK_LEN) {
386 remain = total_len % BLOWFISH_BLOCK_LEN;
498 (void) memcpy(&cbc_ctx->cbc_iv[0], ivec, BLOWFISH_BLOCK_LEN);
H A DsoftCrypt.h67 uint8_t ivec[BLOWFISH_BLOCK_LEN]; /* initialization vector */
68 uint8_t data[BLOWFISH_BLOCK_LEN]; /* for use by update */
H A DsoftDecryptUtil.c270 (pMechanism->ulParameterLen != BLOWFISH_BLOCK_LEN))
286 BLOWFISH_BLOCK_LEN);
H A DsoftEncryptUtil.c309 (pMechanism->ulParameterLen != BLOWFISH_BLOCK_LEN))
324 BLOWFISH_BLOCK_LEN);
H A DsoftKeysUtil.c1503 wkey_blksz = BLOWFISH_BLOCK_LEN;
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dblowfish.c294 mechanism->cm_param_len != BLOWFISH_BLOCK_LEN)
348 if ((plaintext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0)
390 if ((ciphertext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0)
435 out_len &= ~(BLOWFISH_BLOCK_LEN - 1);
498 out_len &= ~(BLOWFISH_BLOCK_LEN - 1);
611 if ((plaintext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0)
624 mechanism->cm_param_len != BLOWFISH_BLOCK_LEN)
698 if ((ciphertext->cd_length & (BLOWFISH_BLOCK_LEN - 1)) != 0)
711 mechanism->cm_param_len != BLOWFISH_BLOCK_LEN)
856 BLOWFISH_BLOCK_LEN, blowfish_copy_block6
[all...]
H A Ddprov.c4740 expected_param_len = BLOWFISH_BLOCK_LEN;

Completed in 860 milliseconds