Searched refs:DES_BLOCK_LEN (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDESCrypt.c204 if ((ulDataLen % DES_BLOCK_LEN) != 0) {
223 out_len = DES_BLOCK_LEN *
224 (ulDataLen / DES_BLOCK_LEN + 1);
250 out_len -= DES_BLOCK_LEN;
271 if ((total_len < DES_BLOCK_LEN) ||
272 (pad_mechanism && (total_len == DES_BLOCK_LEN))) {
289 remain = total_len % DES_BLOCK_LEN;
343 for (i = 0; i < out_len; i += DES_BLOCK_LEN) {
409 CK_BYTE tmpblock[DES_BLOCK_LEN];
414 DES_BLOCK_LEN, ulDataLe
[all...]
H A DsoftCrypt.h42 #define DES_MAC_LEN (DES_BLOCK_LEN / 2)
47 uint8_t ivec[DES_BLOCK_LEN]; /* initialization vector */
48 uint8_t data[DES_BLOCK_LEN]; /* for use by update */
H A DsoftDecryptUtil.c131 (pMechanism->ulParameterLen != DES_BLOCK_LEN)) {
146 DES_BLOCK_LEN);
552 if (soft_des_ctx->remain_len != DES_BLOCK_LEN) {
564 out_len = DES_BLOCK_LEN;
579 DES_BLOCK_LEN);
583 out.cd_length = DES_BLOCK_LEN;
585 out.cd_raw.iov_len = DES_BLOCK_LEN;
590 (char *)pLastPart, DES_BLOCK_LEN, &out);
599 DES_BLOCK_LEN, &out_len);
H A DsoftEncryptUtil.c154 (pMechanism->ulParameterLen != DES_BLOCK_LEN)) {
169 DES_BLOCK_LEN);
572 if (soft_des_ctx->remain_len == DES_BLOCK_LEN)
573 out_len = 2 * DES_BLOCK_LEN;
575 out_len = DES_BLOCK_LEN;
595 soft_des_ctx->remain_len, DES_BLOCK_LEN,
H A DsoftVerifyUtil.c179 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */
370 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */
H A DsoftSignUtil.c172 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */
353 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */
H A DsoftKeysUtil.c1497 wkey_blksz = DES_BLOCK_LEN;
/illumos-gate/usr/src/uts/common/des/
H A Ddes_crypt.c458 mechanism->cm_param_len != DES_BLOCK_LEN)
471 mechanism->cm_param_len != DES_BLOCK_LEN)
541 if ((plaintext->cd_length & (DES_BLOCK_LEN - 1)) != 0)
583 if ((ciphertext->cd_length & (DES_BLOCK_LEN - 1)) != 0)
627 out_len &= ~(DES_BLOCK_LEN - 1);
689 out_len &= ~(DES_BLOCK_LEN - 1);
804 if ((plaintext->cd_length & (DES_BLOCK_LEN - 1)) != 0)
818 mechanism->cm_param_len != DES_BLOCK_LEN)
827 mechanism->cm_param_len != DES_BLOCK_LEN)
907 if ((ciphertext->cd_length & (DES_BLOCK_LEN
[all...]
/illumos-gate/usr/src/common/crypto/des/
H A Ddes_impl.h37 #define DES_BLOCK_LEN 8 macro
H A Ddes_impl.c503 des3_crunch_block(const void *cookie, const uint8_t block[DES_BLOCK_LEN],
504 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt)
562 des_crunch_block(const void *cookie, const uint8_t block[DES_BLOCK_LEN],
563 uint8_t out_block[DES_BLOCK_LEN], boolean_t decrypt)
1058 length, out, DES_BLOCK_LEN, des3_encrypt_block,
1062 out, DES_BLOCK_LEN, des3_encrypt_block);
1067 length, out, DES_BLOCK_LEN, des_encrypt_block,
1071 out, DES_BLOCK_LEN, des_encrypt_block);
1090 length, out, DES_BLOCK_LEN, des3_decrypt_block,
1094 out, DES_BLOCK_LEN, des3_decrypt_bloc
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c4736 expected_param_len = DES_BLOCK_LEN;

Completed in 88 milliseconds