842
842
/* User-Password; in RADIUS, this is encrypted, but EAP-TTLS encrypts
843
843
* the data, so no separate encryption is used in the AVP itself.
844
844
* However, the password is padded to obfuscate its length. */
846
846
pos = eap_ttls_avp_hdr(pos, RADIUS_ATTR_USER_PASSWORD, 0, 1,
848
848
os_memcpy(pos, password, password_len);