Apps
Components
Interfaces
All Files
Source Tree
source:
tos.interfaces.BlockCipherInfo.nc
Interface: BlockCipherInfo
Components providing this interface:
tos.lib.TinySec.SkipJackM
tos.lib.TinySec.TinySecC
Components requiring this interface:
tos.lib.TinySec.CBCMAC
tos.lib.TinySec.CBCModeM
tos.lib.TinySec.TinySecM
Commands
uint8_t
getPreferredBlockSize
(void)
Returns the preferred block size that this cipher operates with.
Commands - Details
getPreferredBlockSize
uint8_t
getPreferredBlockSize
(void)
Returns the preferred block size that this cipher operates with.
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).