D | ssl_tls.c | 227 unsigned char padding[16]; in ssl3_prf() local 244 memset( padding, (unsigned char) ('A' + i), 1 + i ); in ssl3_prf() 247 mbedtls_sha1_update( &sha1, padding, 1 + i ); in ssl3_prf() 261 mbedtls_zeroize( padding, sizeof( padding ) ); in ssl3_prf() 1211 unsigned char padding[48]; in ssl_mac() local 1227 memset( padding, 0x36, padlen ); in ssl_mac() 1230 mbedtls_md_update( md_ctx, padding, padlen ); in ssl_mac() 1235 memset( padding, 0x5C, padlen ); in ssl_mac() 1238 mbedtls_md_update( md_ctx, padding, padlen ); in ssl_mac()
|