Fixed secret key authentication and memory allocation