password-scheme-rpa.c revision a4ac325c2802693c6b761e5a8fda961e5d7490ea
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainenvoid *ucs2be_str(pool_t pool, const char *str, size_t *size);
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen * Convert string to big-endian ucs2.
d477acb83e14a776ece4ca94dcd1869e75d0c6eeTimo Sirainenvoid *ucs2be_str(pool_t pool, const char *str, size_t *size)
9dd1c256910f1fb42823116a641e7edb3ad11970Timo Sirainen buffer_t *buf = buffer_create_dynamic(pool, 32, (size_t)-1);
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainenconst char *password_generate_rpa(const char *pw)
373492be949e159fda651807b3acda2c5c077027Timo Sirainen unsigned char *ucs2be_pw;