Searched refs:current_bytes (Results 1 – 7 of 7) sorted by relevance
| /NetX-Duo-v6.2.1/addons/websocket/ |
| D | nx_sha1.c | 186 ULONG current_bytes; in _nx_sha1_update() local 200 current_bytes = (context -> nx_sha1_bit_count[0] >> 3) & 0x3F; in _nx_sha1_update() 203 needed_fill_bytes = 64 - current_bytes; in _nx_sha1_update() 220 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_sha1_update() 227 …memcpy((void *) &(context -> nx_sha1_buffer[current_bytes]), (void *) input_ptr, needed_fill_bytes… in _nx_sha1_update() 237 current_bytes = 0; in _nx_sha1_update() 258 …memcpy((void *) &(context -> nx_sha1_buffer[current_bytes]), (void *) input_ptr, input_length); /*… in _nx_sha1_update()
|
| /NetX-Duo-v6.2.1/addons/snmp/ |
| D | nx_sha1.c | 186 ULONG current_bytes; in _nx_sha1_update() local 200 current_bytes = (context -> nx_sha1_bit_count[0] >> 3) & 0x3F; in _nx_sha1_update() 203 needed_fill_bytes = 64 - current_bytes; in _nx_sha1_update() 220 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_sha1_update() 227 …memcpy((void *) &(context -> nx_sha1_buffer[current_bytes]), (void *) input_ptr, needed_fill_bytes… in _nx_sha1_update() 237 current_bytes = 0; in _nx_sha1_update() 258 …memcpy((void *) &(context -> nx_sha1_buffer[current_bytes]), (void *) input_ptr, input_length); /*… in _nx_sha1_update()
|
| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_sha1.c | 191 ULONG current_bytes; in _nx_crypto_sha1_update() local 209 current_bytes = (context -> nx_sha1_bit_count[0] >> 3) & 0x3F; in _nx_crypto_sha1_update() 212 needed_fill_bytes = 64 - current_bytes; in _nx_crypto_sha1_update() 229 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_crypto_sha1_update() 236 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_sha1_buffer[current_bytes]), (void *)input_ptr, needed_fi… in _nx_crypto_sha1_update() 246 current_bytes = 0; in _nx_crypto_sha1_update() 267 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_sha1_buffer[current_bytes]), (void *)input_ptr, input_len… in _nx_crypto_sha1_update()
|
| D | nx_crypto_sha5.c | 238 ULONG64 current_bytes; in _nx_crypto_sha512_update() local 255 current_bytes = (context -> nx_sha512_bit_count[0] >> 3) & 0x7F; in _nx_crypto_sha512_update() 258 needed_fill_bytes = NX_CRYPTO_SHA512_BLOCK_SIZE_IN_BYTES - current_bytes; in _nx_crypto_sha512_update() 275 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_crypto_sha512_update() 281 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_sha512_buffer[current_bytes]), (void *)input_ptr, (UINT)n… in _nx_crypto_sha512_update() 291 current_bytes = 0; in _nx_crypto_sha512_update() 311 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_sha512_buffer[current_bytes]), (void *)input_ptr, input_l… in _nx_crypto_sha512_update()
|
| D | nx_crypto_md5.c | 211 ULONG current_bytes; in _nx_crypto_md5_update() local 229 current_bytes = (context -> nx_md5_bit_count[0] >> 3) & 0x3F; in _nx_crypto_md5_update() 232 needed_fill_bytes = 64 - current_bytes; in _nx_crypto_md5_update() 248 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_crypto_md5_update() 254 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_md5_buffer[current_bytes]), (void *)input_ptr, needed_fil… in _nx_crypto_md5_update() 264 current_bytes = 0; in _nx_crypto_md5_update() 285 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_md5_buffer[current_bytes]), (void *)input_ptr, input_leng… in _nx_crypto_md5_update()
|
| D | nx_crypto_sha2.c | 190 ULONG current_bytes; in _nx_crypto_sha256_update() local 207 current_bytes = (context -> nx_sha256_bit_count[0] >> 3) & 0x3F; in _nx_crypto_sha256_update() 210 needed_fill_bytes = 64 - current_bytes; in _nx_crypto_sha256_update() 227 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_crypto_sha256_update() 233 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_sha256_buffer[current_bytes]), (void *)input_ptr, needed_… in _nx_crypto_sha256_update() 243 current_bytes = 0; in _nx_crypto_sha256_update() 263 …NX_CRYPTO_MEMCPY((void *)&(context -> nx_sha256_buffer[current_bytes]), (void *)input_ptr, input_l… in _nx_crypto_sha256_update()
|
| /NetX-Duo-v6.2.1/common/src/ |
| D | nx_md5.c | 203 ULONG current_bytes; in _nx_md5_update() local 217 current_bytes = (context -> nx_md5_bit_count[0] >> 3) & 0x3F; in _nx_md5_update() 220 needed_fill_bytes = 64 - current_bytes; in _nx_md5_update() 237 if ((current_bytes) && (input_length >= needed_fill_bytes)) in _nx_md5_update() 244 …memcpy((void *) &(context -> nx_md5_buffer[current_bytes]), (void *) input_ptr, needed_fill_bytes)… in _nx_md5_update() 254 current_bytes = 0; in _nx_md5_update() 275 …memcpy((void *) &(context -> nx_md5_buffer[current_bytes]), (void *) input_ptr, input_length); /* … in _nx_md5_update()
|