Lines Matching refs:MSBits
488 int maskedDBLen, MSBits, emLen; in RSA_verify_PKCS1_PSS_mgf1() local
515 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_verify_PKCS1_PSS_mgf1()
517 if (EM[0] & (0xFF << MSBits)) { in RSA_verify_PKCS1_PSS_mgf1()
521 if (MSBits == 0) { in RSA_verify_PKCS1_PSS_mgf1()
547 if (MSBits) { in RSA_verify_PKCS1_PSS_mgf1()
548 DB[0] &= 0xFF >> (8 - MSBits); in RSA_verify_PKCS1_PSS_mgf1()
587 size_t maskedDBLen, MSBits, emLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
602 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7; in RSA_padding_add_PKCS1_PSS_mgf1()
604 if (MSBits == 0) { in RSA_padding_add_PKCS1_PSS_mgf1()
678 if (MSBits) { in RSA_padding_add_PKCS1_PSS_mgf1()
679 EM[0] &= 0xFF >> (8 - MSBits); in RSA_padding_add_PKCS1_PSS_mgf1()