Searched refs:padlen (Results 1 – 1 of 1) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | ssl_tls.c | 1212 int padlen; in ssl_mac() local 1218 padlen = 48; in ssl_mac() 1220 padlen = 40; in ssl_mac() 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() 1436 size_t enc_msglen, padlen, olen = 0, i; in ssl_encrypt_buf() local 1438 padlen = ssl->transform_out->ivlen - ( ssl->out_msglen + 1 ) % in ssl_encrypt_buf() 1440 if( padlen == ssl->transform_out->ivlen ) in ssl_encrypt_buf() [all …]
|