Security Device Keystream Buffer for Voice Encryption
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Security devices, such as SIM cards, are unable to concurrently generate keystream segments and encrypt or decrypt data, leading to undesirable delays in processing time-sensitive media like voice communications.
Innovation Solution
A method and apparatus that dynamically switch between on-demand and in-advance keystream segment generation, allowing the security device to generate keystream segments on-demand while encrypting or decrypting data by storing pre-generated keystream segments in a buffer for subsequent use during data processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the security device generates keystream segments on-demand, then the device can respond to processing requests, but delays occur when data encryption/decryption requests are received during the same time period
Solution Approach 1:
The patent applies preliminary action by generating and storing keystream segments in advance in a buffer before they are actually needed for voice encryption. When a data encryption request arrives, the security device can continue providing pre-generated keystream segments from the buffer, avoiding delays in voice processing while the data encryption completes.
2Reliability
If the security device encrypts or decrypts data, then data security is maintained, but keystream segment generation for voice communication is delayed
Solution Approach 1:
The security device performs preliminary action by generating and storing multiple keystream segments in the buffer before data encryption/decryption operations begin. This allows the device to maintain data security through encryption operations while having pre-prepared keystream segments ready for immediate use in voice communication, thus maintaining keystream generation speed.
Solution Approach 2:
The buffer acts as an intermediary between the security device and the voice processing function. It stores pre-generated keystream segments and supplies them to the voice encryption process, decoupling the timing of keystream generation from the timing of voice processing, thereby resolving the speed conflict.
3Productivity
If the security device supports concurrent keystream generation and data processing, then voice communication continues uninterrupted, but device complexity increases
Solution Approach 1:
The patent uses preliminary action to create a buffer of pre-generated keystream segments, enabling the security device to appear concurrent without requiring true parallel processing capability. The buffer allows the device to switch between operations smoothly, maintaining productivity while avoiding the complexity of simultaneous multi-function hardware.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method and apparatus for dynamically switching a security device between on-demand and in-advance operation, wherein the apparatus programs a security device to perform the method, which includes: generating a first set of keystream segments on-demand for a processing device for voice encryption; while generating the first set of keystream segments, receiving a request from the processing device to encrypt or decrypt a block of data; responsive to the request, generating a second set of keystream segments in-advance for storing in a buffer; ceasing keystream segments generation to encrypt or decrypt the block of data, during a time when the second set of keystream segments stored in the buffer is being used by the processing device; and, after completing the encrypting of the block of data, returning to generate at least one keystream segment on-demand for the processing device.