Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c935 size_t msb; in mbedtls_rsa_rsassa_pss_sign() local
974 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_sign()
995 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_sign()
1003 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_sign()
1004 sig[0] &= 0xFF >> ( olen * 8 - msb ); in mbedtls_rsa_rsassa_pss_sign()
1195 size_t slen, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local
1242 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()
1245 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()
1250 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()
1262 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_ecp.data178 ECP check privkey #7 (montgomery, msb OK)