bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2004-2018 Dovecot authors, see the included COPYING file */
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainenvoid *ucs2be_str(pool_t pool, const char *str, size_t *size);
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainen * Convert string to big-endian ucs2.
a4ac325c2802693c6b761e5a8fda961e5d7490eaTimo Sirainenvoid *ucs2be_str(pool_t pool, const char *str, size_t *size)
4b058f90f9e8a2c6b2eed275de4eb8cc5195a71dTimo Sirainen buffer_t *buf = buffer_create_dynamic(pool, 32);
b44650b0f48a4b5f0dc240ed836833a00b643b9fTimo Sirainenvoid password_generate_rpa(const char *pw, unsigned char result[])