Home
last modified time | relevance | path

Searched refs:end_of_buf (Results 1 – 18 of 18) sorted by relevance

/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libchdr/deps/crypto/
H A Daes.c360 int end_of_buf, payload_len_store_size; in aes_encrypt_ccm() local
383 end_of_buf = AES_BLOCK_SIZE; in aes_encrypt_ccm()
458 end_of_buf = AES_BLOCK_SIZE; in aes_decrypt_ccm()
512 *end_of_buf += 2; in ccm_format_assoc_data()
514 *end_of_buf += assoc_len; in ccm_format_assoc_data()
516 memset(&buf[*end_of_buf], 0, pad); in ccm_format_assoc_data()
517 *end_of_buf += pad; in ccm_format_assoc_data()
525 *end_of_buf += payload_len; in ccm_format_payload_data()
526 pad = *end_of_buf % AES_BLOCK_SIZE; in ccm_format_payload_data()
529 memset(&buf[*end_of_buf], 0, pad); in ccm_format_payload_data()
[all …]
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/deps/crypto/
H A Daes.c360 int end_of_buf, payload_len_store_size; in aes_encrypt_ccm() local
383 end_of_buf = AES_BLOCK_SIZE; in aes_encrypt_ccm()
458 end_of_buf = AES_BLOCK_SIZE; in aes_decrypt_ccm()
512 *end_of_buf += 2; in ccm_format_assoc_data()
514 *end_of_buf += assoc_len; in ccm_format_assoc_data()
516 memset(&buf[*end_of_buf], 0, pad); in ccm_format_assoc_data()
517 *end_of_buf += pad; in ccm_format_assoc_data()
525 *end_of_buf += payload_len; in ccm_format_payload_data()
526 pad = *end_of_buf % AES_BLOCK_SIZE; in ccm_format_payload_data()
529 memset(&buf[*end_of_buf], 0, pad); in ccm_format_payload_data()
[all …]
/dports/security/olm/olm-3.2.6/lib/crypto-algorithms/
H A Daes.c338 int end_of_buf, payload_len_store_size; in aes_encrypt_ccm() local
361 end_of_buf = AES_BLOCK_SIZE; in aes_encrypt_ccm()
436 end_of_buf = AES_BLOCK_SIZE; in aes_decrypt_ccm()
490 *end_of_buf += 2; in ccm_format_assoc_data()
492 *end_of_buf += assoc_len; in ccm_format_assoc_data()
494 memset(&buf[*end_of_buf], 0, pad); in ccm_format_assoc_data()
495 *end_of_buf += pad; in ccm_format_assoc_data()
503 *end_of_buf += payload_len; in ccm_format_payload_data()
504 pad = *end_of_buf % AES_BLOCK_SIZE; in ccm_format_payload_data()
507 memset(&buf[*end_of_buf], 0, pad); in ccm_format_payload_data()
[all …]
/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/deps/crypto/
H A Daes.c360 int end_of_buf, payload_len_store_size; in aes_encrypt_ccm() local
383 end_of_buf = AES_BLOCK_SIZE; in aes_encrypt_ccm()
458 end_of_buf = AES_BLOCK_SIZE; in aes_decrypt_ccm()
512 *end_of_buf += 2; in ccm_format_assoc_data()
514 *end_of_buf += assoc_len; in ccm_format_assoc_data()
516 memset(&buf[*end_of_buf], 0, pad); in ccm_format_assoc_data()
517 *end_of_buf += pad; in ccm_format_assoc_data()
525 *end_of_buf += payload_len; in ccm_format_payload_data()
526 pad = *end_of_buf % AES_BLOCK_SIZE; in ccm_format_payload_data()
529 memset(&buf[*end_of_buf], 0, pad); in ccm_format_payload_data()
[all …]
/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/deps/crypto/
H A Daes.c360 int end_of_buf, payload_len_store_size; in aes_encrypt_ccm() local
383 end_of_buf = AES_BLOCK_SIZE; in aes_encrypt_ccm()
458 end_of_buf = AES_BLOCK_SIZE; in aes_decrypt_ccm()
512 *end_of_buf += 2; in ccm_format_assoc_data()
514 *end_of_buf += assoc_len; in ccm_format_assoc_data()
516 memset(&buf[*end_of_buf], 0, pad); in ccm_format_assoc_data()
517 *end_of_buf += pad; in ccm_format_assoc_data()
525 *end_of_buf += payload_len; in ccm_format_payload_data()
526 pad = *end_of_buf % AES_BLOCK_SIZE; in ccm_format_payload_data()
529 memset(&buf[*end_of_buf], 0, pad); in ccm_format_payload_data()
[all …]
/dports/multimedia/librist/librist-5c1f4a06ab46e16e6bba42fe7381d8353020a1fd/contrib/
H A Daes.c368 int end_of_buf, payload_len_store_size; in aes_encrypt_ccm() local
392 end_of_buf = AES_BLOCK_SIZE; in aes_encrypt_ccm()
468 end_of_buf = AES_BLOCK_SIZE; in aes_decrypt_ccm()
522 *end_of_buf += 2; in ccm_format_assoc_data()
524 *end_of_buf += assoc_len; in ccm_format_assoc_data()
526 memset(&buf[*end_of_buf], 0, pad); in ccm_format_assoc_data()
527 *end_of_buf += pad; in ccm_format_assoc_data()
535 *end_of_buf += payload_len; in ccm_format_payload_data()
536 pad = *end_of_buf % AES_BLOCK_SIZE; in ccm_format_payload_data()
539 memset(&buf[*end_of_buf], 0, pad); in ccm_format_payload_data()
[all …]
/dports/net/libosip2/libosip2-5.3.0/src/osipparser2/
H A Dosip_message_parse.c281 …xt_occurence(const char *str, const char *buf, const char **index_of_str, const char *end_of_buf) { in __osip_find_next_occurence() argument
291 while (slen < (size_t)(end_of_buf - buf)) { in __osip_find_next_occurence()
681 const char *end_of_buf; in msg_osip_body_parse() local
792 end_of_buf = start_of_buf + length; in msg_osip_body_parse()
797 i = __osip_find_next_occurence(sep_boundary, start_of_body, &start_of_body, end_of_buf); in msg_osip_body_parse()
804 …osip_find_next_occurence(sep_boundary, start_of_body + len_sep_boundary, &end_of_body, end_of_buf); in msg_osip_body_parse()
H A Dparser.h50 …ext_occurence(const char *str, const char *buf, const char **index_of_str, const char *end_of_buf);
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/yasna-0.4.0/src/reader/
H A Dmod.rs44 reader_impl.end_of_buf()?; in parse_ber_general()
160 fn end_of_buf(&mut self) -> ASN1Result<()> { in end_of_buf() method
309 self.end_of_buf()?; in read_general()
1804 reader_impl.end_of_buf()?; in read_optional()
/dports/security/samhain/samhain-4.4.3/src/
H A Dsh_static.c591 char *end_of_buf; in __parsegrent() local
593 end_of_buf = ((struct group *) data)->gr_name; /* Evil hack! */ in __parsegrent()
649 if (((char *)(members + i)) > end_of_buf) { /* No space. */ in __parsegrent()
/dports/security/samhain-server/samhain-4.4.3/src/
H A Dsh_static.c591 char *end_of_buf; in __parsegrent() local
593 end_of_buf = ((struct group *) data)->gr_name; /* Evil hack! */ in __parsegrent()
649 if (((char *)(members + i)) > end_of_buf) { /* No space. */ in __parsegrent()
/dports/security/samhain-client/samhain-4.4.3/src/
H A Dsh_static.c591 char *end_of_buf; in __parsegrent() local
593 end_of_buf = ((struct group *) data)->gr_name; /* Evil hack! */ in __parsegrent()
649 if (((char *)(members + i)) > end_of_buf) { /* No space. */ in __parsegrent()
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/cifs/
H A Dsmb2pdu.c3290 char *end_of_buf = begin_of_buf + buffer_length; in smb2_validate_iov() local
3306 if ((begin_of_buf > end_of_smb) || (end_of_buf > end_of_smb)) { in smb2_validate_iov()
4566 num_entries(int infotype, char *bufstart, char *end_of_buf, char **lastentry, in num_entries() argument
4582 entryptr + next_offset > end_of_buf || in num_entries()
4583 entryptr + next_offset + size > end_of_buf) { in num_entries()
4592 len = posix_info_extra_size(entryptr, end_of_buf); in num_entries()
4598 entryptr + len > end_of_buf || in num_entries()
4599 entryptr + len + size > end_of_buf) { in num_entries()
4601 end_of_buf); in num_entries()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/cifs/
H A Dsmb2pdu.c3290 char *end_of_buf = begin_of_buf + buffer_length; in smb2_validate_iov() local
3306 if ((begin_of_buf > end_of_smb) || (end_of_buf > end_of_smb)) { in smb2_validate_iov()
4566 num_entries(int infotype, char *bufstart, char *end_of_buf, char **lastentry, in num_entries() argument
4582 entryptr + next_offset > end_of_buf || in num_entries()
4583 entryptr + next_offset + size > end_of_buf) { in num_entries()
4592 len = posix_info_extra_size(entryptr, end_of_buf); in num_entries()
4598 entryptr + len > end_of_buf || in num_entries()
4599 entryptr + len + size > end_of_buf) { in num_entries()
4601 end_of_buf); in num_entries()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/cifs/
H A Dsmb2pdu.c3290 char *end_of_buf = begin_of_buf + buffer_length; in smb2_validate_iov() local
3306 if ((begin_of_buf > end_of_smb) || (end_of_buf > end_of_smb)) { in smb2_validate_iov()
4566 num_entries(int infotype, char *bufstart, char *end_of_buf, char **lastentry, in num_entries() argument
4582 entryptr + next_offset > end_of_buf || in num_entries()
4583 entryptr + next_offset + size > end_of_buf) { in num_entries()
4592 len = posix_info_extra_size(entryptr, end_of_buf); in num_entries()
4598 entryptr + len > end_of_buf || in num_entries()
4599 entryptr + len + size > end_of_buf) { in num_entries()
4601 end_of_buf); in num_entries()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target.c3347 int buffer_len, end_of_buf = 0, len = 0, payload_len = 0; in iscsit_build_sendtargets_response() local
3426 end_of_buf = 1; in iscsit_build_sendtargets_response()
3455 end_of_buf = 1; in iscsit_build_sendtargets_response()
3472 if (end_of_buf) { in iscsit_build_sendtargets_response()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target.c3347 int buffer_len, end_of_buf = 0, len = 0, payload_len = 0; in iscsit_build_sendtargets_response() local
3426 end_of_buf = 1; in iscsit_build_sendtargets_response()
3455 end_of_buf = 1; in iscsit_build_sendtargets_response()
3472 if (end_of_buf) { in iscsit_build_sendtargets_response()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target.c3347 int buffer_len, end_of_buf = 0, len = 0, payload_len = 0; in iscsit_build_sendtargets_response() local
3426 end_of_buf = 1; in iscsit_build_sendtargets_response()
3455 end_of_buf = 1; in iscsit_build_sendtargets_response()
3472 if (end_of_buf) { in iscsit_build_sendtargets_response()