Home
last modified time | relevance | path

Searched refs:pad_count (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/library/
Drsa.c812 size_t ilen, pad_count = 0, i; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt() local
849 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()
Dssl_tls.c1859 size_t pad_count = 0, real_count = 1; in ssl_decrypt_buf() local
1881 pad_count += real_count * in ssl_decrypt_buf()
1885 correct &= ( pad_count == padlen ); /* Only 1 on correct padding */ in ssl_decrypt_buf()