Setting the max secret bit_length size to be 32767

Setting the max size to be that of a MySQL signed small int.

Change-Id: Iea0b3653151b6a794c3ad60b815e53d6b2a74359
Closes-Bug: 1376019
Merge "Setting the max secret bit_length size to be 32767"