1*6b384f39SPeter Avalos /*- 2*6b384f39SPeter Avalos * Copyright (c) 2014 Michihiro NAKAJIMA 3*6b384f39SPeter Avalos * All rights reserved. 4*6b384f39SPeter Avalos * 5*6b384f39SPeter Avalos * Redistribution and use in source and binary forms, with or without 6*6b384f39SPeter Avalos * modification, are permitted provided that the following conditions 7*6b384f39SPeter Avalos * are met: 8*6b384f39SPeter Avalos * 1. Redistributions of source code must retain the above copyright 9*6b384f39SPeter Avalos * notice, this list of conditions and the following disclaimer. 10*6b384f39SPeter Avalos * 2. Redistributions in binary form must reproduce the above copyright 11*6b384f39SPeter Avalos * notice, this list of conditions and the following disclaimer in the 12*6b384f39SPeter Avalos * documentation and/or other materials provided with the distribution. 13*6b384f39SPeter Avalos * 14*6b384f39SPeter Avalos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR 15*6b384f39SPeter Avalos * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16*6b384f39SPeter Avalos * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17*6b384f39SPeter Avalos * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, 18*6b384f39SPeter Avalos * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19*6b384f39SPeter Avalos * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20*6b384f39SPeter Avalos * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21*6b384f39SPeter Avalos * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22*6b384f39SPeter Avalos * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23*6b384f39SPeter Avalos * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24*6b384f39SPeter Avalos */ 25*6b384f39SPeter Avalos 26*6b384f39SPeter Avalos #ifndef LAFE_PASSPHRASE_H 27*6b384f39SPeter Avalos #define LAFE_PASSPHRASE_H 28*6b384f39SPeter Avalos 29*6b384f39SPeter Avalos char *lafe_readpassphrase(const char *prompt, char *buf, size_t bufsiz); 30*6b384f39SPeter Avalos 31*6b384f39SPeter Avalos #endif 32