Compartir a través de


2.2.5.18.2 Initializing JOINPR_USER_PASSWORD

An EncodedPassword is packed into the JOINPR_USER_PASSWORD structure (section 2.2.5.17) as follows:

  • JOINPR_USER_PASSWORD.Obfuscator is initialized with JOIN_OBFUSCATOR_LENGTH (section 2.2.1.2) bytes of random data.

  • JOINPR_USER_PASSWORD.Buffer is initialized with the value of EncodedPassword. The start of the string EncodedPassword MUST be JOIN_USER_PASSWORD.Length bytes from the end of the buffer. Any remaining bits MUST be initialized with random data.

  • JOINPR_USER_PASSWORD.Length is initialized with the number of bytes in EncodedPassword.