Searched refs:DES_BLOCK_LEN (Results 1 - 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDESCrypt.c | 204 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 D | softCrypt.h | 42 #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 D | softDecryptUtil.c | 131 (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 D | softEncryptUtil.c | 154 (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 D | softVerifyUtil.c | 179 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */ 370 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */
|
H A D | softSignUtil.c | 172 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */ 353 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */
|
H A D | softKeysUtil.c | 1497 wkey_blksz = DES_BLOCK_LEN;
|
/illumos-gate/usr/src/uts/common/des/ |
H A D | des_crypt.c | 458 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 D | des_impl.h | 37 #define DES_BLOCK_LEN 8 macro
|
H A D | des_impl.c | 503 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 D | dprov.c | 4736 expected_param_len = DES_BLOCK_LEN;
|
Completed in 88 milliseconds