Searched refs:msb (Results 1 – 3 of 3) sorted by relevance
36 unsigned char msb; in mbedtls_test_asn1_skip_integer() local56 msb = ( *p )[0]; in mbedtls_test_asn1_skip_integer()57 TEST_ASSERT( msb != 0 ); in mbedtls_test_asn1_skip_integer()59 while( msb != 0 ) in mbedtls_test_asn1_skip_integer()61 msb >>= 1; in mbedtls_test_asn1_skip_integer()
1585 size_t msb; in rsa_rsassa_pss_sign() local1649 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in rsa_rsassa_pss_sign()1677 if( msb % 8 == 0 ) in rsa_rsassa_pss_sign()1685 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in rsa_rsassa_pss_sign()1686 sig[0] &= 0xFF >> ( olen * 8 - msb ); in rsa_rsassa_pss_sign()2017 size_t observed_salt_len, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local2071 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()2073 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()2077 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()2095 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()
340 ECP check privkey #7 (montgomery, msb OK)459 ECP read key #7 (Curve25519, msb OK)