Lines Matching refs:data

155  *	pData:		pointer to the input data to be encrypted
156 * ulDataLen: length of the input data
157 * pEncrypted: pointer to the output data after encryption
158 * pulEncryptedLen: pointer to the length of the output data
171 * CKR_DATA_LEN_RANGE: the input data is not a multiple of blocksize
217 * data is a multiple of blocksize, then make output
258 * Add the lengths of last remaining data and current
267 * encryption until when more data comes in next
275 * Save input data and its length in
278 (void) memcpy(soft_aes_ctx->data +
283 /* Set encrypted data length to 0. */
288 /* Compute the length of remaining data. */
314 * Copy last remaining data and current input data
319 (void) memcpy(pEncrypted, soft_aes_ctx->data,
321 bzero(soft_aes_ctx->data, soft_aes_ctx->remain_len);
356 /* Crunch one block of data for AES. */
375 /* Encrypt multiple blocks of data. */
391 * data, save it and its length in the context.
394 (void) memcpy(soft_aes_ctx->data, pData +
414 /* Encrypt multiple blocks of data. */
427 * For encrypt update, if there is remaining data,
431 (void) memcpy(soft_aes_ctx->data, pData +
526 * pEncrypted: pointer to the input data to be decrypted
527 * ulEncryptedLen: length of the input data
528 * pData: pointer to the output data
529 * pulDataLen: pointer to the length of the output data
541 * CKR_ENCRYPTED_DATA_LEN_RANGE: the input data is not a multiple
616 * Add the lengths of last remaining data and current
617 * input data together to get the total input length.
625 * decryption until when more data comes in next
633 * Save input data and its length in
636 (void) memcpy(soft_aes_ctx->data +
642 /* Set output data length to 0. */
647 /* Compute the length of remaining data. */
658 * If the input data length is a multiple of
660 * data in the remaining buffer. C_DecryptFinal
661 * will handle this last block of data.
688 * Copy last remaining data and current input data
693 (void) memcpy(pData, soft_aes_ctx->data,
695 bzero(soft_aes_ctx->data, soft_aes_ctx->remain_len);
730 /* Crunch one block of data for AES. */
749 /* Decrypt multiple blocks of data. */
765 * data, save it and its length in the context.
768 (void) memcpy(soft_aes_ctx->data, pEncrypted +
791 /* Decrypt multiple blocks of data. */
842 * For decrypt update, if there is remaining data
846 (void) memcpy(soft_aes_ctx->data, pEncrypted +