OptionalextensionOptionalkeyOptionalpassphraseAccording to IEEE802.11-2007 H.4.1 a pass-phrase is a sequence of between 8 and 63 ASCII-encoded characters and each character in the pass-phrase must have an encoding in the range of 32 to 126 (decimal),inclusive. If only Passpharse is supplied the Key shall be derived using the algorithm described in IEEE802.11-2007 section H.4
According to IEEE802.11-2007 H.4.1 the RSNA PSK consists of 256 bits, or 64 octets when represented in hex Either Key or Passphrase shall be given, if both are supplied Key shall be used by the device and Passphrase ignored.