Home
last modified time | relevance | path

Searched refs:rawlen (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/pkg/
H A Decc.c123 uint8_t *rawkey, size_t *rawlen) in ecc_read_pkgkey() argument
192 if (datasz > *rawlen) in ecc_read_pkgkey()
197 *rawlen = datasz; in ecc_read_pkgkey()
204 size_t rawlen) in ecc_extract_signature() argument
222 compsz = rawlen / 2; in ecc_extract_signature()
243 if (sigoff + datasz > rawlen) in ecc_extract_signature()
257 rc = (sigoff == rawlen) ? 0 : 1; in ecc_extract_signature()
267 size_t *rawlen) in ecc_extract_pubkey_string() argument
286 if (datalen > *rawlen) in ecc_extract_pubkey_string()
290 *rawlen = datalen; in ecc_extract_pubkey_string()
[all …]
/freebsd/sys/rpc/
H A Dclnt_vc.c934 u_int rawlen; in clnt_vc_soupcall() local
1056 rawlen = m_length(ct->ct_raw, NULL); in clnt_vc_soupcall()
1065 if (rawlen < sizeof(uint32_t)) in clnt_vc_soupcall()
1073 rawlen -= sizeof(uint32_t); in clnt_vc_soupcall()
1079 if (rawlen == 0) in clnt_vc_soupcall()
1081 if (rawlen <= ct->ct_record_resid) { in clnt_vc_soupcall()
1088 ct->ct_record_resid -= rawlen; in clnt_vc_soupcall()
1089 rawlen = 0; in clnt_vc_soupcall()
1100 rawlen -= ct->ct_record_resid; in clnt_vc_soupcall()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua173 assert(#t == 10 and rawlen(t) == 3)
174 assert(rawlen"abc" == 3)
175 assert(rawlen(string.rep('a', 1000)) == 1000)
/freebsd/crypto/openssl/ssl/statem/
H A Dextensions_srvr.c704 size_t rawlen, hmaclen, hrrlen, ciphlen; in tls_parse_ctos_cookie() local
719 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie()
720 if (rawlen < SHA256_DIGEST_LENGTH in tls_parse_ctos_cookie()
721 || !PACKET_forward(&raw, rawlen - SHA256_DIGEST_LENGTH)) { in tls_parse_ctos_cookie()
744 rawlen - SHA256_DIGEST_LENGTH) <= 0 in tls_parse_ctos_cookie()
871 || !WPACKET_sub_memcpy_u16(&hrrpkt, data, rawlen) in tls_parse_ctos_cookie()