Home
last modified time | relevance | path

Searched refs:obuf (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
A Darc4.c156 unsigned char obuf[8]; in mbedtls_arc4_self_test() local
169 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()
A Dssl_msg.c3473 memcpy( obuf, in, 25 ); in ssl_check_dtls_clihlo_cookie()
3474 obuf[13] = MBEDTLS_SSL_HS_HELLO_VERIFY_REQUEST; in ssl_check_dtls_clihlo_cookie()
3475 obuf[25] = 0xfe; in ssl_check_dtls_clihlo_cookie()
3476 obuf[26] = 0xff; in ssl_check_dtls_clihlo_cookie()
3479 p = obuf + 28; in ssl_check_dtls_clihlo_cookie()
3486 *olen = p - obuf; in ssl_check_dtls_clihlo_cookie()
3489 obuf[27] = (unsigned char)( *olen - 28 ); in ssl_check_dtls_clihlo_cookie()
3491 obuf[14] = obuf[22] = (unsigned char)( ( *olen - 25 ) >> 16 ); in ssl_check_dtls_clihlo_cookie()
3492 obuf[15] = obuf[23] = (unsigned char)( ( *olen - 25 ) >> 8 ); in ssl_check_dtls_clihlo_cookie()
3493 obuf[16] = obuf[24] = (unsigned char)( ( *olen - 25 ) ); in ssl_check_dtls_clihlo_cookie()
[all …]

Completed in 12 milliseconds