quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

common.c (447B)


      1 /* Common code between clients and services */
      2 
      3 /*
      4  *  Copyright The Mbed TLS Contributors
      5  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
      6  */
      7 
      8 #include "common.h"
      9 int __psa_ff_client_security_state = NON_SECURE;
     10 
     11 #if 0
     12 static void _printbits(uint32_t num)
     13 {
     14     for (int i = 0; i < 32; i++) {
     15         if ((num >> (31-i) & 0x1)) {
     16             INFO("1");
     17         } else {
     18             INFO("0");
     19         }
     20     }
     21     INFO("\n");
     22 }
     23 #endif