Fix an off-by-one
Sessions keys are privates
Shared secrets are privates
Removes dangerous asserts
Remove a dangerous assert
Use sizeof for memset