1 // SPDX-License-Identifier: BSD-2-Clause
2 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3  *
4  * LibTomCrypt is a library that provides various cryptographic
5  * algorithms in a highly modular and flexible manner.
6  *
7  * The library is free for all purposes without any express
8  * guarantee it works.
9  */
10 #include "tomcrypt_private.h"
11 
12 /**
13   @file crypt_argchk.c
14   Perform argument checking, Tom St Denis
15 */
16 
17 #if (ARGTYPE == 0)
crypt_argchk(const char * v,const char * s,int d)18 void crypt_argchk(const char *v, const char *s, int d)
19 {
20  fprintf(stderr, "LTC_ARGCHK '%s' failure on line %d of file %s\n",
21          v, d, s);
22  abort();
23 }
24 #endif
25 
26 /* ref:         $Format:%D$ */
27 /* git commit:  $Format:%H$ */
28 /* commit time: $Format:%ai$ */
29