Searched refs:msb (Results 1 – 2 of 2) sorted by relevance
935 size_t msb; in mbedtls_rsa_rsassa_pss_sign() local974 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() local1242 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()
178 ECP check privkey #7 (montgomery, msb OK)