wpa_cipher
error = wpa_cipher(frm, &rsn->rsn_mcastkeylen, &rsn->rsn_mcastcipher);
error = wpa_cipher(frm, &rsn->rsn_ucastkeylen, &cipher);