Searched refs:siglen (Results 1 – 1 of 1) sorted by relevance
2538 size_t siglen; in mbedtls_rsa_rsassa_pss_verify_ext() local2550 siglen = ctx->len; in mbedtls_rsa_rsassa_pss_verify_ext()2552 if (siglen < 16 || siglen > sizeof(buf)) { in mbedtls_rsa_rsassa_pss_verify_ext()2564 if (buf[siglen - 1] != 0xBC) { in mbedtls_rsa_rsassa_pss_verify_ext()2590 if (buf[0] >> (8 - siglen * 8 + msb)) { in mbedtls_rsa_rsassa_pss_verify_ext()2597 siglen -= 1; in mbedtls_rsa_rsassa_pss_verify_ext()2600 if (siglen < hlen + 2) { in mbedtls_rsa_rsassa_pss_verify_ext()2603 hash_start = p + siglen - hlen - 1; in mbedtls_rsa_rsassa_pss_verify_ext()2605 ret = mgf_mask(p, siglen - hlen - 1, hash_start, hlen, mgf1_hash_id); in mbedtls_rsa_rsassa_pss_verify_ext()2610 buf[0] &= 0xFF >> (siglen * 8 - msb); in mbedtls_rsa_rsassa_pss_verify_ext()