aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_concat_char_no_nul_.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-24 22:05:24 +0200
committerMattias Andrée <m@maandree.se>2026-09-24 22:05:24 +0200
commitc3e107fe175a147e8f0108453650c1ba3735c9fe (patch)
tree9d4bceb9e262c4fdc03e86d6581ed6f75d3a0746 /librecrypt_concat_char_no_nul_.c
parentInternal documentation (diff)
downloadlibrecrypt-c3e107fe175a147e8f0108453650c1ba3735c9fe.tar.gz
librecrypt-c3e107fe175a147e8f0108453650c1ba3735c9fe.tar.bz2
librecrypt-c3e107fe175a147e8f0108453650c1ba3735c9fe.tar.xz
Code simplification and removal of random number salt generation where only resulting crypt string size was intended to be measured
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_concat_char_no_nul_.c')
-rw-r--r--librecrypt_concat_char_no_nul_.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/librecrypt_concat_char_no_nul_.c b/librecrypt_concat_char_no_nul_.c
new file mode 100644
index 0000000..421509c
--- /dev/null
+++ b/librecrypt_concat_char_no_nul_.c
@@ -0,0 +1,25 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+extern inline void librecrypt_concat_char_no_nul_(struct concat_state *state, char c);
+
+
+#else
+
+
+int
+main(void)
+{
+ SET_UP_ALARM();
+ INIT_RESOURCE_TEST();
+
+ /* TODO test */
+
+ STOP_RESOURCE_TEST();
+ return 0;
+}
+
+
+#endif