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