Searched refs:siglen (Results 1 – 1 of 1) sorted by relevance
1190 size_t siglen; in mbedtls_rsa_rsassa_pss_verify_ext() local1203 siglen = ctx->len; in mbedtls_rsa_rsassa_pss_verify_ext()1205 if( siglen < 16 || siglen > sizeof( buf ) ) in mbedtls_rsa_rsassa_pss_verify_ext()1217 if( buf[siglen - 1] != 0xBC ) in mbedtls_rsa_rsassa_pss_verify_ext()1235 slen = siglen - hlen - 1; /* Currently length of salt + padding */ in mbedtls_rsa_rsassa_pss_verify_ext()1248 siglen -= 1; in mbedtls_rsa_rsassa_pss_verify_ext()1250 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()1260 mgf_mask( p, siglen - hlen - 1, p + siglen - hlen - 1, hlen, &md_ctx ); in mbedtls_rsa_rsassa_pss_verify_ext()1262 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()1264 while( p < buf + siglen && *p == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()[all …]