Searched refs:pad_count (Results 1 – 2 of 2) sorted by relevance
812 size_t ilen, pad_count = 0, i; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt() local849 pad_count += ((pad_done | (unsigned char)-pad_done) >> 7) ^ 1; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()852 p += pad_count; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()864 pad_count += ( pad_done == 0 ); in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()867 p += pad_count; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()871 bad |= ( pad_count < 8 ); in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
1859 size_t pad_count = 0, real_count = 1; in ssl_decrypt_buf() local1881 pad_count += real_count * in ssl_decrypt_buf()1885 correct &= ( pad_count == padlen ); /* Only 1 on correct padding */ in ssl_decrypt_buf()