1*d813eb2eSchristos /* $NetBSD: namespace.h,v 1.1 2022/05/15 16:25:09 christos Exp $ */ 2*d813eb2eSchristos 3*d813eb2eSchristos /*- 4*d813eb2eSchristos * Copyright (c) 2022 The NetBSD Foundation, Inc. 5*d813eb2eSchristos * All rights reserved. 6*d813eb2eSchristos * 7*d813eb2eSchristos * This code is derived from software contributed to The NetBSD Foundation 8*d813eb2eSchristos * by Christos Zoulas. 9*d813eb2eSchristos * 10*d813eb2eSchristos * Redistribution and use in source and binary forms, with or without 11*d813eb2eSchristos * modification, are permitted provided that the following conditions 12*d813eb2eSchristos * are met: 13*d813eb2eSchristos * 1. Redistributions of source code must retain the above copyright 14*d813eb2eSchristos * notice, this list of conditions and the following disclaimer. 15*d813eb2eSchristos * 2. Redistributions in binary form must reproduce the above copyright 16*d813eb2eSchristos * notice, this list of conditions and the following disclaimer in the 17*d813eb2eSchristos * documentation and/or other materials provided with the distribution. 18*d813eb2eSchristos * 19*d813eb2eSchristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20*d813eb2eSchristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21*d813eb2eSchristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22*d813eb2eSchristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23*d813eb2eSchristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24*d813eb2eSchristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25*d813eb2eSchristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26*d813eb2eSchristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27*d813eb2eSchristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28*d813eb2eSchristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29*d813eb2eSchristos * POSSIBILITY OF SUCH DAMAGE. 30*d813eb2eSchristos */ 31*d813eb2eSchristos 32*d813eb2eSchristos /* argon2b.c */ 33*d813eb2eSchristos #define argon2_ctx __libcrypt_internal_argon2_ctx 34*d813eb2eSchristos #define argon2_encodedlen __libcrypt_internal_argon2_encodedlen 35*d813eb2eSchristos #define argon2_error_message __libcrypt_internal_argon2_error_message 36*d813eb2eSchristos #define argon2_hash __libcrypt_internal_argon2_hash 37*d813eb2eSchristos #define argon2_type2string __libcrypt_internal_argon2_type2string 38*d813eb2eSchristos #define argon2_verify __libcrypt_internal_argon2_verify 39*d813eb2eSchristos #define argon2_verify_ctx __libcrypt_internal_argon2_verify_ctx 40*d813eb2eSchristos #define argon2d_ctx __libcrypt_internal_argon2d_ctx 41*d813eb2eSchristos #define argon2d_hash_encoded __libcrypt_internal_argon2d_hash_encoded 42*d813eb2eSchristos #define argon2d_hash_raw __libcrypt_internal_argon2d_hash_raw 43*d813eb2eSchristos #define argon2d_verify __libcrypt_internal_argon2d_verify 44*d813eb2eSchristos #define argon2d_verify_ctx __libcrypt_internal_argon2d_verify_ctx 45*d813eb2eSchristos #define argon2i_ctx __libcrypt_internal_argon2i_ctx 46*d813eb2eSchristos #define argon2i_hash_encoded __libcrypt_internal_argon2i_hash_encoded 47*d813eb2eSchristos #define argon2i_hash_raw __libcrypt_internal_argon2i_hash_raw 48*d813eb2eSchristos #define argon2i_verify __libcrypt_internal_argon2i_verify 49*d813eb2eSchristos #define argon2i_verify_ctx __libcrypt_internal_argon2i_verify_ctx 50*d813eb2eSchristos #define argon2id_ctx __libcrypt_internal_argon2id_ctx 51*d813eb2eSchristos #define argon2id_hash_encoded __libcrypt_internal_argon2id_hash_encoded 52*d813eb2eSchristos #define argon2id_hash_raw __libcrypt_internal_argon2id_hash_raw 53*d813eb2eSchristos #define argon2id_verify __libcrypt_internal_argon2id_verify 54*d813eb2eSchristos #define argon2id_verify_ctx __libcrypt_internal_argon2id_verify_ctx 55*d813eb2eSchristos 56*d813eb2eSchristos /* blake2b.c */ 57*d813eb2eSchristos #define blake2b __libcrypt_internal_blake2b 58*d813eb2eSchristos #define blake2b_final __libcrypt_internal_blake2b_final 59*d813eb2eSchristos #define blake2b_init __libcrypt_internal_blake2b_init 60*d813eb2eSchristos #define blake2b_init_key __libcrypt_internal_blake2b_init_key 61*d813eb2eSchristos #define blake2b_init_param __libcrypt_internal_blake2b_init_param 62*d813eb2eSchristos #define blake2b_long __libcrypt_internal_blake2b_long 63*d813eb2eSchristos #define blake2b_update __libcrypt_internal_blake2b_update 64*d813eb2eSchristos 65*d813eb2eSchristos /* core.c */ 66*d813eb2eSchristos #define allocate_memory __libcrypt_internal_allocate_memory 67*d813eb2eSchristos #define clear_internal_memory __libcrypt_internal_clear_internal_memory 68*d813eb2eSchristos #define copy_block __libcrypt_internal_copy_block 69*d813eb2eSchristos #define fill_first_blocks __libcrypt_internal_fill_first_blocks 70*d813eb2eSchristos #define fill_memory_blocks __libcrypt_internal_fill_memory_blocks 71*d813eb2eSchristos #define finalize __libcrypt_internal_finalize 72*d813eb2eSchristos #define free_memory __libcrypt_internal_free_memory 73*d813eb2eSchristos #define index_alpha __libcrypt_internal_index_alpha 74*d813eb2eSchristos #define init_block_value __libcrypt_internal_init_block_value 75*d813eb2eSchristos #define initial_hash __libcrypt_internal_initial_hash 76*d813eb2eSchristos #define initialize __libcrypt_internal_initialize 77*d813eb2eSchristos #define secure_wipe_memory __libcrypt_internal_secure_wipe_memory 78*d813eb2eSchristos #define validate_inputs __libcrypt_internal_validate_inputs 79*d813eb2eSchristos #define xor_block __libcrypt_internal_xor_block 80*d813eb2eSchristos 81*d813eb2eSchristos /* crypt-argon2.c */ 82*d813eb2eSchristos #define estimate_argon2_params __libcrypt_internal_estimate_argon2_params 83*d813eb2eSchristos 84*d813eb2eSchristos /* encoding.c */ 85*d813eb2eSchristos #define b64len __libcrypt_internal_b64len 86*d813eb2eSchristos #define decode_string __libcrypt_internal_decode_string 87*d813eb2eSchristos #define encode_string __libcrypt_internal_encode_string 88*d813eb2eSchristos #define numlen __libcrypt_internal_numlen 89*d813eb2eSchristos 90*d813eb2eSchristos /* ref.c */ 91*d813eb2eSchristos #define fill_segment __libcrypt_internal_fill_segment 92*d813eb2eSchristos 93*d813eb2eSchristos /* util.c */ 94*d813eb2eSchristos #define getnum __libcrypt_internal_getnum 95