Searched refs:obuf (Results 1 – 3 of 3) sorted by relevance
156 unsigned char obuf[8]; in mbedtls_arc4_self_test() local169 mbedtls_arc4_crypt( &ctx, 8, ibuf, obuf ); in mbedtls_arc4_self_test()171 if( memcmp( obuf, arc4_test_ct[i], 8 ) != 0 ) in mbedtls_arc4_self_test()
3374 memcpy( obuf, in, 25 ); in mbedtls_ssl_check_dtls_clihlo_cookie()3375 obuf[13] = MBEDTLS_SSL_HS_HELLO_VERIFY_REQUEST; in mbedtls_ssl_check_dtls_clihlo_cookie()3376 obuf[25] = 0xfe; in mbedtls_ssl_check_dtls_clihlo_cookie()3377 obuf[26] = 0xff; in mbedtls_ssl_check_dtls_clihlo_cookie()3380 p = obuf + 28; in mbedtls_ssl_check_dtls_clihlo_cookie()3388 *olen = p - obuf; in mbedtls_ssl_check_dtls_clihlo_cookie()3391 obuf[27] = (unsigned char)( *olen - 28 ); in mbedtls_ssl_check_dtls_clihlo_cookie()3393 obuf[14] = obuf[22] = MBEDTLS_BYTE_2( *olen - 25 ); in mbedtls_ssl_check_dtls_clihlo_cookie()3394 obuf[15] = obuf[23] = MBEDTLS_BYTE_1( *olen - 25 ); in mbedtls_ssl_check_dtls_clihlo_cookie()3395 obuf[16] = obuf[24] = MBEDTLS_BYTE_0( *olen - 25 ); in mbedtls_ssl_check_dtls_clihlo_cookie()[all …]
1349 unsigned char *obuf, size_t buf_len, size_t *olen );
Completed in 12 milliseconds