19 #ifndef SessionKeyGeneration_h__
20 #define SessionKeyGeneration_h__
30 uint32 halfSize = size / 2;
33 sh.UpdateData(buff, halfSize);
39 sh.UpdateData(buff + halfSize, size - halfSize);
51 for (
uint32 i = 0; i < sz; ++i)
82 #endif // SessionKeyGeneration_h__
uint8 o1[Hash::DigestLength::value]
Definition: SessionKeyGeneration.h:78
void Generate(uint8 *buf, uint32 sz)
Definition: SessionKeyGeneration.h:49
Hash sh
Definition: SessionKeyGeneration.h:75
Definition: SessionKeyGeneration.h:25
uint8 o0[Hash::DigestLength::value]
Definition: SessionKeyGeneration.h:77
uint32 taken
Definition: SessionKeyGeneration.h:76
uint32_t uint32
Definition: Define.h:150
uint8_t uint8
Definition: Define.h:152
void FillUp()
Definition: SessionKeyGeneration.h:62
const FieldDescriptor value
Definition: descriptor.h:1522
uint8 o2[Hash::DigestLength::value]
Definition: SessionKeyGeneration.h:79
SessionKeyGenerator(uint8 *buff, uint32 size)
Definition: SessionKeyGeneration.h:28