Claims
- 1. A method for encrypting text data in a computer system running a communication application coupled to a communication device, comprising:
- a) directing data sent from the communication application running on the computer system to the communication device without encrypting said data while an encryption application is in a first state, said directing being performed by said encryption application running on the computer system;
- b) detecting a connect message and a carrier detect signal from the communication device while said encryption application is in said first state, said connect message generated by the communication device in response to establishing connection with a remote communication device;
- c) changing the state of said encryption application from said first state to a remote state when said connect message and said carrier detect signal are detected;
- c.1) automatically redirecting the text data to said encryption application in response to said encryption application changing state to said remote state without user intervention;
- d) encrypting the redirected data to generate an outgoing encrypted data destined to said remote communication device when said encryption application is in said remote state, said encryption application sending said outgoing encrypted data to said communication device;
- e) transmitting said outgoing encrypted data to said communication device;
- f) detecting a break sequence from the computer system or detecting that said carrier detect signal is de-asserted when said encryption application is in said remote state; and
- g) changing the state of said encryption application from said remote state to said first state when said break sequence is detected or said carrier detected signal is de-asserted when transmitting said outgoing encryption data.
- 2. The method as set forth in claim 1 wherein the act of encrypting of the redirected data further comprises:
- d.1) decrypting incoming encrypted data sent from the communication device to said computer system, said encrypted data intercepted by said encryption application prior to said encrypted data being received by the communication application.
- 3. The method as set forth in claim 2, further comprising:
- asserting a ready/request to send signal if said ready/request to send signal is detected by said computer system as being de-asserted when said communication device is in said remote state, said assertion of said ready/request to send signal preventing a clear to send signal from being de-asserted.
- 4. The method as set forth in claim 3, wherein the encrypting of the redirected data comprises:
- generating a DES data by performing a DES encryption operation on an encryption key and an initialization data.
- 5. The method as set forth in claim 4 further comprising:
- generating said outgoing encrypted data by performing an exclusive-or operation on said DES data and said text data; and
- generating a next DES data by performing a DES encryption operation on said encryption key and said outgoing encrypted data.
- 6. The method as set forth in claim 1, further comprising providing symmetric key stream based encryption methods.
- 7. A computer system coupled to a communication device, comprising:
- means for detecting a connect message and a carrier detect signal from the communication device, said connect message generated by the communication device in response to establishing connection with a remote communication device; and
- means for automatically encrypting said text data being sent from a microprocessor application running on said computer system to the communication device responsive to said means for detecting said connect message and said carrier detect signal and without user intervention, said encrypting being disabled when a break sequence is detected or when said carrier detect signal is de-asserted from the computer system, said encrypting generating an outgoing encrypted data.
- 8. The computer system as set forth in claim 7, further comprising:
- means for decrypting incoming data sent from the communication device to said microprocessor application.
- 9. The computer system as set forth in claim 8, further comprising:
- means for detecting the break sequence sent by said microprocessor application to the communication device, said means for detecting said break sequence operating while said connection has been established.
- 10. The computer system as set forth in claim 9, wherein said means for encrypting comprises:
- means for generating a DES data by performing a DES encryption operation on an encryption key and initialization data.
- 11. The computer system as set forth in claim 10 further comprising:
- means for generating said outgoing encrypted data by performing an exclusive-or operation on said DES data and said text data; and
- means for generating a next DES data by performing a DES encryption operation on said encryption key and said outgoing encrypted data.
- 12. The computer system as set forth in claim 7, comprising means for symmetric key stream based encryption.
- 13. A computer system coupled to a communication device compatible with the AT command set comprising:
- a microprocessor running an encryption application,
- said encryption application detecting a connect message and a carrier detect signal from said communication device when said encryption application is in a first state, said connect message generated by said communication device in response to establishing communication with a remote communication device,
- said encryption application changing from said first state to a remote state when said connect message and said carrier detect signal is detected,
- said encryption application automatically encrypting said text data when in said remote state, said encryption application generating an outgoing encrypted data without user intervention,
- said encryption application detecting a break sequence or a de-asserted carrier detect signal from the computer system when in said remote state, and
- said encryption application changing from said remote state to said first state when a break sequence or said de-asserted carrier detect signal is detected.
- 14. The computer system of as set forth in claim 13, wherein:
- said encryption application decrypts data sent from the communication device to said computer system.
- 15. The computer system as set forth in claim 14, wherein:
- said encryption application asserting a ready/request to send signal if said ready/request to send signal is detected by said computer system as being de-asserted when said communication device is in said remote state.
- 16. The computer system set forth in claim 15, wherein:
- said encryption application generates a DES by performing a DES encryption operation on an encryption key and initialization data.
- 17. The computer system set forth in claim 16, wherein:
- said encryption application generates said outgoing encrypted data by performing an exclusive-or operation on said DES data and said plain text data; and
- said encryption application generates a DES data stream to be encrypted by performing a DES encryption operation on said encryption key and said outgoing encrypted data.
- 18. A machine readable medium having embodied thereon a computer program for processing by a machine having a communication device, the computer program comprising:
- a communication application to signal the communication device to establish a logical connection with a remote communication device; and
- an application to interrupt an operation by the communication application, to examine data being loaded into a buffer for subsequent transmission over the logical connection, to place the machine into an encrypt mode when a connect message is detected and a carrier detect signal is asserted for encrypting the data before being loaded into the buffer, and to place the machine into a non-encrypted mode when either the carrier signal is de-asserted or a special break sequence is detected.
- 19. The machine readable medium as set forth in claim 18, wherein the application, being a terminate and stay resident program, comprising:
- an interrupt driven serial port driver module to provide an Application Program Interface for handling interrupts and reading or writing information from a serial port;
- an encryption engine; and
- a redirector module in communication with the interrupt driven serial port driver module to receive data from the interrupt driven serial port driver and to determine whether the data is passed through the encryption engine to produce encrypted data before being provided to the buffer.
- 20. The machine readable medium as set forth in claim 19 wherein the interrupt driven serial port driver prevents a deadlock situation, caused when the communication device no longer receives data from the communication application and the output queue of the communication application is full, by asserting a signal allowing all data sent by the communication application to be written to the communication device when the communication device is in a command mode.
- 21. The machine readable medium as set forth in claim 18 wherein the application does not place the machine into the encrypt mode if no logical connection is established.
Parent Case Info
This is a Continuation Application of application Ser. No. 08/291,160, filed Aug. 16, 1994 now abandoned.
US Referenced Citations (23)
Continuations (1)
|
Number |
Date |
Country |
Parent |
291160 |
Aug 1994 |
|