Lines Matching refs:padbuf
4704 unsigned char padbuf[48]; in ssl_calc_finished_ssl() local
4742 memset( padbuf, 0x36, 48 ); in ssl_calc_finished_ssl()
4746 mbedtls_md5_update( &md5, padbuf, 48 ); in ssl_calc_finished_ssl()
4751 mbedtls_sha1_update( &sha1, padbuf, 40 ); in ssl_calc_finished_ssl()
4754 memset( padbuf, 0x5C, 48 ); in ssl_calc_finished_ssl()
4758 mbedtls_md5_update( &md5, padbuf, 48 ); in ssl_calc_finished_ssl()
4764 mbedtls_sha1_update( &sha1, padbuf , 40 ); in ssl_calc_finished_ssl()
4773 mbedtls_zeroize( padbuf, sizeof( padbuf ) ); in ssl_calc_finished_ssl()
4789 unsigned char padbuf[36]; in ssl_calc_finished_tls() local
4823 mbedtls_md5_finish( &md5, padbuf ); in ssl_calc_finished_tls()
4824 mbedtls_sha1_finish( &sha1, padbuf + 16 ); in ssl_calc_finished_tls()
4827 padbuf, 36, buf, len ); in ssl_calc_finished_tls()
4834 mbedtls_zeroize( padbuf, sizeof( padbuf ) ); in ssl_calc_finished_tls()
4848 unsigned char padbuf[32]; in ssl_calc_finished_tls_sha256() local
4875 mbedtls_sha256_finish( &sha256, padbuf ); in ssl_calc_finished_tls_sha256()
4878 padbuf, 32, buf, len ); in ssl_calc_finished_tls_sha256()
4884 mbedtls_zeroize( padbuf, sizeof( padbuf ) ); in ssl_calc_finished_tls_sha256()
4897 unsigned char padbuf[48]; in ssl_calc_finished_tls_sha384() local
4924 mbedtls_sha512_finish( &sha512, padbuf ); in ssl_calc_finished_tls_sha384()
4927 padbuf, 48, buf, len ); in ssl_calc_finished_tls_sha384()
4933 mbedtls_zeroize( padbuf, sizeof( padbuf ) ); in ssl_calc_finished_tls_sha384()