Searched refs:msb (Results 1 – 3 of 3) sorted by relevance
1807 size_t msb; in mbedtls_rsa_rsassa_pss_sign() local1863 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_sign()1886 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_sign()1894 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_sign()1895 sig[0] &= 0xFF >> ( olen * 8 - msb ); in mbedtls_rsa_rsassa_pss_sign()2190 size_t observed_salt_len, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local2244 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()2246 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()2250 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()2268 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()
220 ECP check privkey #7 (montgomery, msb OK)303 ECP read key #7 (Curve25519, msb OK)
827 unsigned char msb;847 msb = ( *p )[0];848 TEST_ASSERT( msb != 0 );850 while( msb != 0 )852 msb >>= 1;