Lines Matching refs:data

175  *	pData:		pointer to the input data to be encrypted
176 * ulDataLen: length of the input data
177 * pEncrypted: pointer to the output data after encryption
178 * pulEncryptedLen: pointer to the length of the output data
191 * CKR_DATA_LEN_RANGE: the input data is not a multiple of blocksize
237 * data is a multiple of blocksize, then make output
278 * Add the lengths of last remaining data and current
287 * encryption until when more data comes in next
295 * Save input data and its length in
298 (void) memcpy(kms_aes_ctx->data +
303 /* Set encrypted data length to 0. */
308 /* Compute the length of remaining data. */
334 * Copy last remaining data and current input data
339 (void) memcpy(pEncrypted, kms_aes_ctx->data,
341 bzero(kms_aes_ctx->data, kms_aes_ctx->remain_len);
367 /* Encrypt multiple blocks of data. */
377 * For encrypt update, if there is remaining data,
381 (void) memcpy(kms_aes_ctx->data, pData +
456 * pEncrypted: pointer to the input data to be decrypted
457 * ulEncryptedLen: length of the input data
458 * pData: pointer to the output data
459 * pulDataLen: pointer to the length of the output data
471 * CKR_ENCRYPTED_DATA_LEN_RANGE: the input data is not a multiple
546 * Add the lengths of last remaining data and current
547 * input data together to get the total input length.
555 * decryption until when more data comes in next
563 * Save input data and its length in
566 (void) memcpy(kms_aes_ctx->data +
572 /* Set output data length to 0. */
577 /* Compute the length of remaining data. */
588 * If the input data length is a multiple of
590 * data in the remaining buffer. C_DecryptFinal
591 * will handle this last block of data.
618 * Copy last remaining data and current input data
623 (void) memcpy(pData, kms_aes_ctx->data,
625 bzero(kms_aes_ctx->data, kms_aes_ctx->remain_len);
652 /* Decrypt multiple blocks of data. */
697 * For decrypt update, if there is remaining data,
701 (void) memcpy(kms_aes_ctx->data, pEncrypted +
771 * pLastEncryptedPart: pointer to the last encrypted data part
773 * encrypted data part
807 * of data, then output length will be two blocksize of
809 * one block of data, then output length will be
827 /* Copy remaining data to the output buffer. */
828 (void) memcpy(pLastEncryptedPart, aes_ctx->data,
844 /* Encrypt multiple blocks of data. */
869 * should not contain any more data.
899 * pLastPart: pointer to the last recovered data part
900 * pulLastPartLen: pointer to the length of the last recovered data part
935 * We should have only one block of data left in the
963 /* Copy remaining data to the output buffer. */
964 (void) memcpy(pLastPart, kms_aes_ctx->data,
973 /* Decrypt final block of data. */
1014 * should not contain any more data.