Lines Matching refs:pass
116 static int do_ui_passphrase(char *pass, size_t pass_size, size_t *pass_len, in do_ui_passphrase() argument
125 if (!ossl_assert(pass != NULL && pass_size != 0 && pass_len != NULL)) { in do_ui_passphrase()
190 memcpy(pass, ipass, *pass_len); in do_ui_passphrase()
204 int ossl_pw_get_passphrase(char *pass, size_t pass_size, size_t *pass_len, in ossl_pw_get_passphrase() argument
230 memcpy(pass, source, source_len); in ossl_pw_get_passphrase()
241 ret = cb(pass, pass_size, pass_len, params, cbarg); in ossl_pw_get_passphrase()
280 ret = do_ui_passphrase(pass, pass_size, pass_len, prompt_info, verify, in ossl_pw_get_passphrase()
295 OPENSSL_cleanse(pass, *pass_len); in ossl_pw_get_passphrase()
300 memcpy(data->cached_passphrase, pass, *pass_len); in ossl_pw_get_passphrase()
334 int ossl_pw_passphrase_callback_enc(char *pass, size_t pass_size, in ossl_pw_passphrase_callback_enc() argument
338 return ossl_pw_get_passphrase(pass, pass_size, pass_len, params, 1, arg); in ossl_pw_passphrase_callback_enc()
341 int ossl_pw_passphrase_callback_dec(char *pass, size_t pass_size, in ossl_pw_passphrase_callback_dec() argument
345 return ossl_pw_get_passphrase(pass, pass_size, pass_len, params, 0, arg); in ossl_pw_passphrase_callback_dec()