password-scheme-rpa.c revision b193066823000095cae0781445fe9234c7c01366
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainenvoid *ucs2be_str(pool_t pool, const char *str, size_t *size);
76d4ff1c1b31a1a09f6cbfe613a8d0efe62cbfd2Timo Sirainen * Convert string to big-endian ucs2.
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainenvoid *ucs2be_str(pool_t pool, const char *str, size_t *size)
f1ed4fa248aaf6841ba638b9d66b2738d9f7aa18Timo Sirainen buffer_t *buf = buffer_create_dynamic(pool, 32);
unsigned char *ucs2be_pw;