Lines Matching refs:data

149  *	pData:		pointer to the input data to be encrypted
150 * ulDataLen: length of the input data
151 * pEncrypted: pointer to the output data after encryption
152 * pulEncryptedLen: pointer to the length of the output data
165 * CKR_DATA_LEN_RANGE: the input data is not a multiple of blocksize
211 * data is a multiple of blocksize, then make output
252 * Add the lengths of last remaining data and current
261 * encryption until when more data comes in next
268 * Save input data and its length in
271 (void) memcpy(soft_des_ctx->data +
276 /* Set encrypted data length to 0. */
281 /* Compute the length of remaining data. */
307 * Copy last remaining data and current input data
312 (void) memcpy(pEncrypted, soft_des_ctx->data,
314 bzero(soft_des_ctx->data, soft_des_ctx->remain_len);
329 /* Encrypt multiple blocks of data. */
339 * For encrypt update, if there is remaining data,
343 (void) memcpy(soft_des_ctx->data, pData +
413 * pEncrypted: pointer to the input data to be decrypted
414 * ulEncryptedLen: length of the input data
415 * pData: pointer to the output data
416 * pulDataLen: pointer to the length of the output data
428 * CKR_ENCRYPTED_DATA_LEN_RANGE: the input data is not a multiple
508 * Add the lengths of last remaining data and current
509 * input data together to get the total input length.
517 * decryption until when more data comes in next
524 * Save input data and its length in
527 (void) memcpy(soft_des_ctx->data +
533 /* Set output data length to 0. */
538 /* Compute the length of remaining data. */
549 * If the input data length is a multiple of
551 * data in the remaining buffer. C_DecryptFinal
552 * will handle this last block of data.
579 * Copy last remaining data and current input data
584 (void) memcpy(pData, soft_des_ctx->data,
586 bzero(soft_des_ctx->data, soft_des_ctx->remain_len);
604 /* Decrypt multiple blocks of data. */
649 * For decrypt update, if there is remaining data,
653 (void) memcpy(soft_des_ctx->data, pEncrypted +
881 * If there is data left in the buffer from a previous
882 * SignUpdate() call, pass enough zeroed data to a
901 * The last block of enciphered data is stored in:
903 * Copy that data to last_block
922 * determine the correct encrypted data length by rounding
992 * encrypted data, while the context of the multi-part
995 * intermediary encrypted blocks of data are necessary for
997 * for the encrypted data, which is immediately throw away.
1009 /* Avoid the malloc if we won't be encrypting any data */