Home
last modified time | relevance | path

Searched refs:msb (Results 1 – 3 of 3) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/tests/src/
Dasn1_helpers.c36 unsigned char msb; in mbedtls_test_asn1_skip_integer() local
56 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()
/openthread-3.5.0/third_party/mbedtls/repo/library/
Drsa.c1585 size_t msb; in rsa_rsassa_pss_sign() local
1649 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() local
2071 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()
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ecp.data340 ECP check privkey #7 (montgomery, msb OK)
459 ECP read key #7 (Curve25519, msb OK)