Lines Matching refs:olen
1084 size_t olen; in mbedtls_ssl_encrypt_buf() local
1158 data, rec->data_len, &olen); in mbedtls_ssl_encrypt_buf()
1168 data + olen, rec->data_len - olen, in mbedtls_ssl_encrypt_buf()
1178 olen += part_len; in mbedtls_ssl_encrypt_buf()
1180 if (rec->data_len != olen) { in mbedtls_ssl_encrypt_buf()
1274 size_t olen; in mbedtls_ssl_decrypt_buf() local
1417 &olen); in mbedtls_ssl_decrypt_buf()
1428 if (olen != rec->data_len) { in mbedtls_ssl_decrypt_buf()
1596 data, rec->data_len, &olen); in mbedtls_ssl_decrypt_buf()
1605 data + olen, rec->data_len - olen, in mbedtls_ssl_decrypt_buf()
1614 olen += part_len; in mbedtls_ssl_decrypt_buf()
1617 if (rec->data_len != olen) { in mbedtls_ssl_decrypt_buf()
3294 unsigned char *obuf, size_t buf_len, size_t *olen) in mbedtls_ssl_check_dtls_clihlo_cookie() argument
3410 *olen = (size_t) (p - obuf); in mbedtls_ssl_check_dtls_clihlo_cookie()
3413 obuf[27] = (unsigned char) (*olen - 28); in mbedtls_ssl_check_dtls_clihlo_cookie()
3415 obuf[14] = obuf[22] = MBEDTLS_BYTE_2(*olen - 25); in mbedtls_ssl_check_dtls_clihlo_cookie()
3416 obuf[15] = obuf[23] = MBEDTLS_BYTE_1(*olen - 25); in mbedtls_ssl_check_dtls_clihlo_cookie()
3417 obuf[16] = obuf[24] = MBEDTLS_BYTE_0(*olen - 25); in mbedtls_ssl_check_dtls_clihlo_cookie()
3419 MBEDTLS_PUT_UINT16_BE(*olen - 13, obuf, 11); in mbedtls_ssl_check_dtls_clihlo_cookie()