Home
last modified time | relevance | path

Searched refs:sec_len (Results 1 – 25 of 195) sorted by relevance

12345678

/dports/science/cgribex/cgribex-1.9.4/src/
H A DgribPrint.c142 section += sec_len; in grib2Sections()
157 grib_len += sec_len; in grib2Sections()
158 section += sec_len; in grib2Sections()
189 grib_len += sec_len; in grib2Sections()
190 section += sec_len; in grib2Sections()
205 grib_len += sec_len; in grib2Sections()
206 section += sec_len; in grib2Sections()
221 grib_len += sec_len; in grib2Sections()
222 section += sec_len; in grib2Sections()
237 grib_len += sec_len; in grib2Sections()
[all …]
/dports/www/mod_qos/mod_qos-11.66/tools/src/
H A Dqssign.c154 int sec_len = strlen(sec); in qs_end_apache_err() local
168 qs_write(line, line_size, sec, sec_len); in qs_end_apache_err()
176 int sec_len = strlen(sec); in qs_end_apache_acc() local
201 qs_write(line, line_size, sec, sec_len); in qs_end_apache_acc()
209 int sec_len = strlen(sec); in qs_end_nj() local
229 qs_write(line, line_size, sec, sec_len); in qs_end_nj()
237 int sec_len = strlen(sec); in qs_end_lj() local
261 int sec_len = strlen(sec); in qs_end_lx() local
287 int sec_len = strlen(sec); in qs_end_ngx() local
417 int sec_len = strlen(sec); in qs_sign() local
[all …]
/dports/databases/p5-BSON-XS/BSON-XS-v0.8.4/bson/
H A Dbson-iso8601.c129 int32_t sec_len = 0; in _bson_iso8601_date_parse() local
172 get_tok (".+-Z", &ptr, &remaining, &sec_ptr, &sec_len); in _bson_iso8601_date_parse()
174 if (!sec_len) { in _bson_iso8601_date_parse()
180 if (sec_len && sec_ptr[sec_len] == '.') { in _bson_iso8601_date_parse()
227 if (sec_len && !parse_num (sec_ptr, sec_len, 2, 0, 60, &sec)) { in _bson_iso8601_date_parse()
/dports/devel/libbson/libbson-1.8.1/src/bson/
H A Dbson-iso8601.c127 int32_t sec_len = 0; in _bson_iso8601_date_parse() local
171 get_tok (".+-Z", &ptr, &remaining, &sec_ptr, &sec_len); in _bson_iso8601_date_parse()
173 if (!sec_len) { in _bson_iso8601_date_parse()
179 if (sec_len && sec_ptr[sec_len] == '.') { in _bson_iso8601_date_parse()
223 if (sec_len && !parse_num (sec_ptr, sec_len, 2, 0, 60, &sec)) { in _bson_iso8601_date_parse()
/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongoc/src/libbson/src/bson/
H A Dbson-iso8601.c127 int32_t sec_len = 0; in _bson_iso8601_date_parse() local
171 get_tok (".+-Z", &ptr, &remaining, &sec_ptr, &sec_len); in _bson_iso8601_date_parse()
173 if (!sec_len) { in _bson_iso8601_date_parse()
179 if (sec_len && sec_ptr[sec_len] == '.') { in _bson_iso8601_date_parse()
223 if (sec_len && !parse_num (sec_ptr, sec_len, 2, 0, 60, &sec)) { in _bson_iso8601_date_parse()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/rnp/src/librepgp/
H A Dstream-key.cpp777 if (!key->sec_len) { in decrypt_secret_key()
963 key->sec_len = body.size(); in encrypt_secret_key()
1153 sec_len = 0; in pgp_key_pkt_t()
1158 sec_len = src.sec_len; in pgp_key_pkt_t()
1184 sec_len = src.sec_len; in pgp_key_pkt_t()
1207 secure_clear(sec_data, sec_len); in operator =()
1209 sec_len = src.sec_len; in operator =()
1212 src.sec_len = 0; in operator =()
1242 sec_len = src.sec_len; in operator =()
1312 if (sec_len) { in write()
[all …]
H A Dstream-key.h54 size_t sec_len; member
59 sec_data(NULL), sec_len(0){};
/dports/security/rnp/rnp-0.15.2/src/librepgp/
H A Dstream-key.cpp1121 if (!key->sec_len) { in decrypt_secret_key()
1324 key->sec_len = body.size(); in encrypt_secret_key()
1514 sec_len = 0; in pgp_key_pkt_t()
1519 sec_len = src.sec_len; in pgp_key_pkt_t()
1545 sec_len = src.sec_len; in pgp_key_pkt_t()
1568 secure_clear(sec_data, sec_len); in operator =()
1570 sec_len = src.sec_len; in operator =()
1573 src.sec_len = 0; in operator =()
1603 sec_len = src.sec_len; in operator =()
1673 if (sec_len) { in write()
[all …]
H A Dstream-key.h54 size_t sec_len; member
59 sec_data(NULL), sec_len(0){};
/dports/security/ncrack/ncrack-0.7/modules/
H A Dncrack_smb2.cc298 uint16_t sec_len; in smb2_encode_sessetup_req() local
304 ntlmssp_generate_blob(smb2->auth_data, in_sec_buf, in_sec_len, &sec_buf, &sec_len); in smb2_encode_sessetup_req()
315 encode_le16(con->outbuf, sec_len); // SecurityBufferLength in smb2_encode_sessetup_req()
318 con->outbuf->append(sec_buf, sec_len); in smb2_encode_sessetup_req()
334 uint16_t *sec_len = (uint16_t *)(rsp + 2 + 2 + 2); in smb2_get_sessetup_sec_buf() local
336 *len = le16toh(*sec_len); in smb2_get_sessetup_sec_buf()
/dports/devel/pecl-yaconf/yaconf-1.1.0/
H A Dyaconf.c390 size_t sec_len; local
396 sec_len = Z_STRLEN_P(key);
398 while ((delim = (char *)zend_memrchr(section, ':', sec_len))) {
400 sec_len = sec_len - (delim - Z_STRVAL_P(key) + 1);
408 php_yaconf_trim_key(&section, &sec_len);
409 if ((parent = zend_hash_str_find(Z_ARRVAL_P(target), section, sec_len))) {
417 sec_len = delim - section;
419 if (sec_len == 0) {
424 php_yaconf_trim_key(&section, &sec_len);
425 php_yaconf_symtable_update(Z_ARRVAL_P(target), section, sec_len, &active_ini_file_section);
/dports/lang/micropython/axtls-531cab9/ssl/
H A Dtls1.c125 static void prf(SSL *ssl, const uint8_t *sec, int sec_len,
799 static void p_hash_md5(const uint8_t *sec, int sec_len, in p_hash_md5() argument
805 ssl_hmac_md5(seed, seed_len, sec, sec_len, a1); in p_hash_md5()
807 ssl_hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
816 ssl_hmac_md5(a1, MD5_SIZE, sec, sec_len, a2); in p_hash_md5()
827 static void p_hash_sha1(const uint8_t *sec, int sec_len, in p_hash_sha1() argument
833 ssl_hmac_sha1(seed, seed_len, sec, sec_len, a1); in p_hash_sha1()
844 ssl_hmac_sha1(a1, SHA1_SIZE, sec, sec_len, a2); in p_hash_sha1()
861 hmac_sha256(seed, seed_len, sec, sec_len, a1); in p_hash_sha256()
872 hmac_sha256(a1, SHA256_SIZE, sec, sec_len, a2); in p_hash_sha256()
[all …]
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/ssl/
H A Dtls1.c125 static void prf(SSL *ssl, const uint8_t *sec, int sec_len,
797 static void p_hash_md5(const uint8_t *sec, int sec_len, in p_hash_md5() argument
803 hmac_md5(seed, seed_len, sec, sec_len, a1); in p_hash_md5()
805 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
814 hmac_md5(a1, MD5_SIZE, sec, sec_len, a2); in p_hash_md5()
825 static void p_hash_sha1(const uint8_t *sec, int sec_len, in p_hash_sha1() argument
831 hmac_sha1(seed, seed_len, sec, sec_len, a1); in p_hash_sha1()
842 hmac_sha1(a1, SHA1_SIZE, sec, sec_len, a2); in p_hash_sha1()
859 hmac_sha256(seed, seed_len, sec, sec_len, a1); in p_hash_sha256()
870 hmac_sha256(a1, SHA256_SIZE, sec, sec_len, a2); in p_hash_sha256()
[all …]
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/appid/service_plugins/
H A Dservice_netbios.c179 uint16_t sec_len; member
195 uint8_t sec_len; member
658 uint16_t sec_len; in smb_find_domain() local
690 sec_len = LETOHS(&resp->sec_len); in smb_find_domain()
691 if (sec_len >= byte_count) return; in smb_find_domain()
692 data += sec_len; in smb_find_domain()
693 byte_count -= sec_len; in smb_find_domain()
713 if (np->sec_len >= byte_count) return; in smb_find_domain()
714 data += np->sec_len; in smb_find_domain()
715 byte_count -= np->sec_len; in smb_find_domain()
/dports/security/axTLS/axTLS/ssl/
H A Dtls1.c755 static void p_hash_md5(const uint8_t *sec, int sec_len, in p_hash_md5() argument
761 hmac_md5(seed, seed_len, sec, sec_len, a1); in p_hash_md5()
763 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
772 hmac_md5(a1, MD5_SIZE, sec, sec_len, a2); in p_hash_md5()
776 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
783 static void p_hash_sha1(const uint8_t *sec, int sec_len, in p_hash_sha1() argument
789 hmac_sha1(seed, seed_len, sec, sec_len, a1); in p_hash_sha1()
791 hmac_sha1(a1, SHA1_SIZE+seed_len, sec, sec_len, out); in p_hash_sha1()
800 hmac_sha1(a1, SHA1_SIZE, sec, sec_len, a2); in p_hash_sha1()
819 len = sec_len/2; in prf()
[all …]
/dports/security/snort3/snort3-3.1.19.0/src/network_inspectors/appid/service_plugins/
H A Dservice_netbios.cc240 uint16_t sec_len; member
256 uint8_t sec_len; member
794 uint16_t sec_len = LETOHS_UNALIGNED(&resp->sec_len); in smb_find_domain() local
795 if (sec_len >= byte_count) in smb_find_domain()
797 data += sec_len; in smb_find_domain()
798 byte_count -= sec_len; in smb_find_domain()
821 if (np->sec_len >= byte_count) in smb_find_domain()
823 data += np->sec_len; in smb_find_domain()
824 byte_count -= np->sec_len; in smb_find_domain()
/dports/graphics/argyllcms/Argyll_V1.9.2/ccast/axTLS/
H A Dtls1.c795 static void p_hash_md5(const uint8_t *sec, int sec_len, in p_hash_md5() argument
801 hmac_md5(seed, seed_len, sec, sec_len, a1); in p_hash_md5()
803 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
812 hmac_md5(a1, MD5_SIZE, sec, sec_len, a2); in p_hash_md5()
816 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
823 static void p_hash_sha1(const uint8_t *sec, int sec_len, in p_hash_sha1() argument
829 hmac_sha1(seed, seed_len, sec, sec_len, a1); in p_hash_sha1()
831 hmac_sha1(a1, SHA1_SIZE+seed_len, sec, sec_len, out); in p_hash_sha1()
840 hmac_sha1(a1, SHA1_SIZE, sec, sec_len, a2); in p_hash_sha1()
859 len = sec_len/2; in prf()
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/Neptune/ThirdParty/axTLS/ssl/
H A Dtls1.c844 static void p_hash_md5(const uint8_t *sec, int sec_len, in p_hash_md5() argument
850 hmac_md5(seed, seed_len, sec, sec_len, a1); in p_hash_md5()
852 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
861 hmac_md5(a1, MD5_SIZE, sec, sec_len, a2); in p_hash_md5()
865 hmac_md5(a1, MD5_SIZE+seed_len, sec, sec_len, out); in p_hash_md5()
872 static void p_hash_sha1(const uint8_t *sec, int sec_len, in p_hash_sha1() argument
878 hmac_sha1(seed, seed_len, sec, sec_len, a1); in p_hash_sha1()
880 hmac_sha1(a1, SHA1_SIZE+seed_len, sec, sec_len, out); in p_hash_sha1()
889 hmac_sha1(a1, SHA1_SIZE, sec, sec_len, a2); in p_hash_sha1()
908 len = sec_len/2; in prf()
[all …]
/dports/devel/py-Faker/Faker-0.8.15/faker/providers/credit_card/
H A D__init__.py97 sec_len = self._credit_card_type(card_type).security_code_length
98 return self.numerify('#' * sec_len)
/dports/net/radsecproxy/radsecproxy-1.8.2/
H A Dradmsg.c152 int _validauth(unsigned char *rad, unsigned char *reqauth, unsigned char *sec, int sec_len) { in _validauth() argument
166 md5_update(&mdctx, sec_len, sec); in _validauth()
193 int _radsign(unsigned char *rad, unsigned char *sec, int sec_len) { in _radsign() argument
201 md5_update(&mdctx, sec_len, sec); in _radsign()
/dports/devel/binutils/binutils-2.37/gold/
H A Dmerge.cc441 section_size_type sec_len; in do_add_input_section() local
445 &sec_len, in do_add_input_section()
450 const Char_type* pend = p + sec_len / sizeof(Char_type); in do_add_input_section()
453 if (sec_len % sizeof(Char_type) != 0) in do_add_input_section()
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gold/
H A Dmerge.cc441 section_size_type sec_len; in do_add_input_section() local
444 &sec_len, in do_add_input_section()
448 const Char_type* pend = p + sec_len / sizeof(Char_type); in do_add_input_section()
451 if (sec_len % sizeof(Char_type) != 0) in do_add_input_section()
/dports/lang/gnatdroid-binutils/binutils-2.27/gold/
H A Dmerge.cc441 section_size_type sec_len; in do_add_input_section() local
444 &sec_len, in do_add_input_section()
448 const Char_type* pend = p + sec_len / sizeof(Char_type); in do_add_input_section()
451 if (sec_len % sizeof(Char_type) != 0) in do_add_input_section()
/dports/devel/arm-elf-binutils/binutils-2.37/gold/
H A Dmerge.cc441 section_size_type sec_len; in do_add_input_section() local
445 &sec_len, in do_add_input_section()
450 const Char_type* pend = p + sec_len / sizeof(Char_type); in do_add_input_section()
453 if (sec_len % sizeof(Char_type) != 0) in do_add_input_section()
/dports/devel/gnulibiberty/binutils-2.37/gold/
H A Dmerge.cc441 section_size_type sec_len; in do_add_input_section() local
445 &sec_len, in do_add_input_section()
450 const Char_type* pend = p + sec_len / sizeof(Char_type); in do_add_input_section()
453 if (sec_len % sizeof(Char_type) != 0) in do_add_input_section()

12345678