Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 21 of 21) sorted by relevance

/reactos/base/services/nfsd/
H A Dreadwrite.c104 args->out_len = len; in read_from_mds()
153 if (args->out_len) { in handle_read()
154 pnfs_bytes_read = args->out_len; in handle_read()
155 args->out_len = 0; in handle_read()
165 args->out_len += pnfs_bytes_read; in handle_read()
241 args->out_len = len; in write_to_mds()
285 if (args->out_len) { in handle_write()
286 pnfs_bytes_written = args->out_len; in handle_write()
287 args->out_len = 0; in handle_write()
300 args->out_len += pnfs_bytes_written; in handle_write()
[all …]
H A Dupcall.h72 ULONG out_len; member
/reactos/dll/3rdparty/mbedtls/
H A Dnist_kw.c223 *out_len = 0; in mbedtls_nist_kw_wrap()
330 *out_len = semiblocks * KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_wrap()
364 *out_len = 0; in unwrap()
399 *out_len = ( semiblocks - 1 ) * KW_SEMIBLOCK_LENGTH; in unwrap()
424 *out_len = 0; in mbedtls_nist_kw_unwrap()
446 A, output, out_len ); in mbedtls_nist_kw_unwrap()
488 *out_len = KW_SEMIBLOCK_LENGTH; in mbedtls_nist_kw_unwrap()
494 A, output, out_len ); in mbedtls_nist_kw_unwrap()
540 *out_len = Plen; in mbedtls_nist_kw_unwrap()
551 memset( output, 0, *out_len ); in mbedtls_nist_kw_unwrap()
[all …]
H A Dhmac_drbg.c359 unsigned char *output, size_t out_len, in mbedtls_hmac_drbg_random_with_add() argument
365 size_t left = out_len; in mbedtls_hmac_drbg_random_with_add()
369 if( out_len > MBEDTLS_HMAC_DRBG_MAX_REQUEST ) in mbedtls_hmac_drbg_random_with_add()
429 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len ) in mbedtls_hmac_drbg_random() argument
439 ret = mbedtls_hmac_drbg_random_with_add( ctx, output, out_len, NULL, 0 ); in mbedtls_hmac_drbg_random()
H A Dssl_tls.c1493 mbedtls_md_hmac_update( &ssl->transform_out->md_ctx_enc, ssl->out_len, 2 ); in ssl_encrypt_buf()
3490 ssl->out_len[0] = (unsigned char)( len >> 8 ); in mbedtls_ssl_write_record()
3491 ssl->out_len[1] = (unsigned char)( len ); in mbedtls_ssl_write_record()
3502 ssl->out_len[0] = (unsigned char)( len >> 8 ); in mbedtls_ssl_write_record()
3503 ssl->out_len[1] = (unsigned char)( len ); in mbedtls_ssl_write_record()
6901 ssl->out_len = ssl->out_hdr + 11; in ssl_update_out_pointers()
6908 ssl->out_len = ssl->out_hdr + 3; in ssl_update_out_pointers()
7045 ssl->out_len = NULL; in mbedtls_ssl_setup()
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/
H A Dsnmpv3_mbedtls.c125 size_t out_len; in snmpv3_crypt() local
154 out_len = LWIP_ARRAYSIZE(out_bytes) ; in snmpv3_crypt()
162 … if (mbedtls_cipher_update(&ctx, in_bytes, LWIP_ARRAYSIZE(in_bytes), out_bytes, &out_len) != 0) { in snmpv3_crypt()
166 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt()
171 out_len = LWIP_ARRAYSIZE(out_bytes); in snmpv3_crypt()
172 if (mbedtls_cipher_finish(&ctx, out_bytes, &out_len) != 0) { in snmpv3_crypt()
176 if (snmp_pbuf_stream_writebuf(&write_stream, out_bytes, (u16_t)out_len) != ERR_OK) { in snmpv3_crypt()
210 size_t out_len = sizeof(out_byte); in snmpv3_crypt() local
215 if (mbedtls_cipher_update(&ctx, &in_byte, sizeof(in_byte), &out_byte, &out_len) != 0) { in snmpv3_crypt()
/reactos/dll/win32/secur32/wine/
H A Dbase64_codec.c30 int max_len, int *out_len) in encodeBase64() argument
37 *out_len = bytes + pad_bytes; in encodeBase64()
114 int max_len, int *out_len) in decodeBase64() argument
188 *out_len = i; in decodeBase64()
H A Dbase64_codec.h7 int max_len, int *out_len) DECLSPEC_HIDDEN;
10 int max_len, int *out_len) DECLSPEC_HIDDEN;
/reactos/sdk/include/reactos/libs/mbedtls/
H A Dnist_kw.h165 unsigned char *output, size_t* out_len, size_t out_size );
192 unsigned char *output, size_t* out_len, size_t out_size);
H A Dhmac_drbg.h417 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
H A Dssl.h1151 unsigned char *out_len; /*!< two-bytes message length field */ member
/reactos/dll/win32/crypt32/
H A Dbase64.c97 char* out_buf, DWORD *out_len) in encodeBase64A() argument
110 if (needed > *out_len) in encodeBase64A()
112 *out_len = needed; in encodeBase64A()
116 *out_len = needed; in encodeBase64A()
296 …ncodeBinaryToBinaryW(const BYTE *in_buf, DWORD in_len, DWORD flags, WCHAR *out_buf, DWORD *out_len) in EncodeBinaryToBinaryW() argument
302 if (*out_len < in_len) in EncodeBinaryToBinaryW()
311 *out_len = in_len; in EncodeBinaryToBinaryW()
317 WCHAR* out_buf, DWORD *out_len) in encodeBase64W() argument
330 if (needed > *out_len) in encodeBase64W()
332 *out_len = needed; in encodeBase64W()
[all …]
/reactos/dll/win32/rpcrt4/
H A Drpc_binding.h116 …, unsigned char *in_buffer, unsigned int in_len, unsigned char *out_buffer, unsigned int *out_len);
227 unsigned int in_len, unsigned char *out_buffer, unsigned int *out_len) in rpcrt4_conn_authorize() argument
229 return conn->ops->authorize(conn, first_time, in_buffer, in_len, out_buffer, out_len); in rpcrt4_conn_authorize()
H A Drpc_message.c998 unsigned int out_len = 0; in RPCRT4_ClientConnectionAuth() local
1002 status = rpcrt4_conn_authorize(conn, FALSE, challenge, count, NULL, &out_len); in RPCRT4_ClientConnectionAuth()
1004 out_buffer = HeapAlloc(GetProcessHeap(), 0, out_len); in RPCRT4_ClientConnectionAuth()
1006 status = rpcrt4_conn_authorize(conn, FALSE, challenge, count, out_buffer, &out_len); in RPCRT4_ClientConnectionAuth()
1012 status = RPCRT4_SendWithAuth(conn, resp_hdr, NULL, 0, out_buffer, out_len); in RPCRT4_ClientConnectionAuth()
/reactos/base/applications/mstsc/
H A Dssl_calls.c1485 rdssl_mod_exp(char* out, int out_len, char* in, int in_len, in rdssl_mod_exp() argument
1502 if (in_len > out_len || in_len == 0 || in rdssl_mod_exp()
1503 out_len == 0 || mod_len == 0 || exp_len == 0) in rdssl_mod_exp()
1507 max_size = out_len; in rdssl_mod_exp()
1554 memcpy(out, l_out, out_len); in rdssl_mod_exp()
1559 return out_len; in rdssl_mod_exp()
H A Dlicence.c34 rdssl_mod_exp(char* out, int out_len, char* in, int in_len,
H A Dsecure.c56 rdssl_mod_exp(char* out, int out_len, char* in, int in_len,
/reactos/drivers/filesystems/btrfs/
H A Dcompress.c423 static NTSTATUS lzo_do_compress(const uint8_t* in, uint32_t in_len, uint8_t* out, uint32_t* out_len in lzo_do_compress() argument
626 *out_len = (uint32_t)(op - out); in lzo_do_compress()
/reactos/dll/win32/shell32/
H A Dshlexec.cpp198 …WCHAR* fmt, const WCHAR* lpFile, LPITEMIDLIST pidl, LPCWSTR args, DWORD* out_len, const WCHAR* lpD… in SHELL_ArgifyW() argument
441 if (out_len) in SHELL_ArgifyW()
442 *out_len = used; in SHELL_ArgifyW()
/reactos/modules/rostests/winetests/user32/
H A Dmenu.c1250 ULONG_PTR data, void *type_data, UINT in_len, UINT out_len, in check_menu_item_info() argument
1299 ok_(__FILE__, line)( info.cch == out_len || in check_menu_item_info()
1300 broken(! ansi && info.cch == 2 * out_len) /* East-Asian */, in check_menu_item_info()
1301 "wrong len %x/%x\n", info.cch, out_len ); in check_menu_item_info()
1305 ok_(__FILE__, line)( !strncmp( expname, info.dwTypeData, out_len ), in check_menu_item_info()
1308 ok_(__FILE__, line)( !strncmpW( (WCHAR *)expname, (WCHAR *)info.dwTypeData, out_len ), in check_menu_item_info()
/reactos/dll/win32/wininet/
H A Dhttp.c4879 static char *build_ascii_request( const WCHAR *str, void *data, DWORD data_len, DWORD *out_len ) in build_ascii_request() argument
4887 *out_len = len + data_len - 1; in build_ascii_request()
4888 ret[*out_len] = 0; in build_ascii_request()