Apps Components Interfaces All Files Source Tree | source: tos.lib.TinySec.SkipJackM.nc |
From the NIST description of SkipJack.
Provided Interfaces |
Variables |
Function Index |
Function Descriptions |
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. |
Parameters: |
secret - key |
Returns: | the preferred block size for this cipher. In the case where the cipher operates with multiple block sizes, this will pick one particular size (deterministically). |