crypto/rsa/rsa_pk1.c:252: error: INTEGER_OVERFLOW_L2
  (0 - [0, 1]):unsigned64 by call to `err_clear_last_constant_time`.
Showing all 13 steps of the trace


crypto/rsa/rsa_pk1.c:227:13: Call
225.        * For good measure, do this check in constant time as well.
226.        */
227.       good &= constant_time_ge(tlen, mlen);
                   ^
228.   
229.       /*

include/internal/constant_time_locl.h:145:13: Call
  143.                                                    unsigned int b)
  144.   {
  145.       return ~constant_time_lt(a, b);
                     ^
  146.   }
  147.   

include/internal/constant_time_locl.h:120:1: Parameter `a`
    118.   }
    119.   
    120. > static ossl_inline unsigned int constant_time_lt(unsigned int a,
    121.                                                    unsigned int b)
    122.   {

include/internal/constant_time_locl.h:123:12: Call
    121.                                                    unsigned int b)
    122.   {
    123.       return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b)));
                      ^
    124.   }
    125.   

include/internal/constant_time_locl.h:99:1: Parameter `a`
      97.   
      98.   
      99. > static ossl_inline unsigned int constant_time_msb(unsigned int a)
      100.   {
      101.       return 0 - (a >> (sizeof(a) * 8 - 1));

include/internal/constant_time_locl.h:101:5: Assignment
      99.   static ossl_inline unsigned int constant_time_msb(unsigned int a)
      100.   {
      101.       return 0 - (a >> (sizeof(a) * 8 - 1));
                 ^
      102.   }
      103.   

include/internal/constant_time_locl.h:123:5: Assignment
    121.                                                    unsigned int b)
    122.   {
    123.       return constant_time_msb(a ^ ((a ^ b) | ((a - b) ^ b)));
               ^
    124.   }
    125.   

include/internal/constant_time_locl.h:145:5: Assignment
  143.                                                    unsigned int b)
  144.   {
  145.       return ~constant_time_lt(a, b);
             ^
  146.   }
  147.   

crypto/rsa/rsa_pk1.c:227:5: Assignment
225.        * For good measure, do this check in constant time as well.
226.        */
227.       good &= constant_time_ge(tlen, mlen);
           ^
228.   
229.       /*

crypto/rsa/rsa_pk1.c:252:5: Call
250.       OPENSSL_clear_free(em, num);
251.       RSAerr(RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2, RSA_R_PKCS_DECODING_ERROR);
252.       err_clear_last_constant_time(1 & good);
           ^
253.   
254.       return constant_time_select_int(good, mlen, -1);

crypto/err/err.c:883:1: <RHS trace>
881.   }
882.   
883. > void err_clear_last_constant_time(int clear)
884.   {
885.       ERR_STATE *es;

crypto/err/err.c:883:1: Parameter `clear`
  881.   }
  882.   
  883. > void err_clear_last_constant_time(int clear)
  884.   {
  885.       ERR_STATE *es;

crypto/err/err.c:895:5: Binary operation: (0 - [0, 1]):unsigned64 by call to `err_clear_last_constant_time` 
  893.   
  894.       es->err_flags[top] &= ~(0 - clear);
  895.       es->err_buffer[top] &= ~(0UL - clear);
             ^
  896.       es->err_file[top] = (const char *)((uintptr_t)es->err_file[top] &
  897.                                          ~((uintptr_t)0 - clear));
