Apps Components Interfaces All Files Source Tree | source: tos.interfaces.BlockCipher.nc |
Author: | Naveen Sastry |
Commands |
Commands - Details |
Parameters: |
context - holds the module specific opaque data related to the key (perhaps key expansions). plainBlock - a plaintext block of blockSize cipherBlock - the resulting ciphertext block of blockSize |
Returns: | Whether the encryption was successful. Possible failure reasons include not calling init(). |
Parameters: |
context - holds the module specific opaque data related to the key (perhaps key expansions). cipherBlock - a ciphertext block of blockSize plainBlock - the resulting plaintext block of blockSize |
Returns: | Whether the decryption was successful. Possible failure reasons include not calling init() or an unimplimented decrypt function. |