Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Drsa.c1807 size_t msb; in mbedtls_rsa_rsassa_pss_sign() local
1863 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() local
2244 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()
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ecp.data220 ECP check privkey #7 (montgomery, msb OK)
303 ECP read key #7 (Curve25519, msb OK)
Dtest_suite_psa_crypto.function827 unsigned char msb;
847 msb = ( *p )[0];
848 TEST_ASSERT( msb != 0 );
850 while( msb != 0 )
852 msb >>= 1;