Home
last modified time | relevance | path

Searched refs:seclen (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/
H A Dec_kmeth.c160 size_t seclen; in ECDH_compute_key() local
169 if (!eckey->meth->compute_key(&sec, &seclen, pub_key, eckey)) in ECDH_compute_key()
172 KDF(sec, seclen, out, &outlen); in ECDH_compute_key()
174 if (outlen > seclen) in ECDH_compute_key()
175 outlen = seclen; in ECDH_compute_key()
178 OPENSSL_clear_free(sec, seclen); in ECDH_compute_key()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c92 size_t seclen; member
130 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_reset()
162 ctx->sec, ctx->seclen, in kdf_tls1_prf_derive()
195 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_set_ctx_params()
197 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->sec, 0, &ctx->seclen)) in kdf_tls1_prf_set_ctx_params()
/freebsd/contrib/ntp/libntp/
H A Dauthreadkeys.c93 u_short seclen; /* length of secret */ member
126 memset(node, 0, sizeof(*node) + node->seclen); in free_keydata()
287 next->seclen = len; in authreadkeys()
391 next->secbuf, next->seclen, next->keyacclist); in authreadkeys()
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_pbm.c131 const unsigned char *sec, size_t seclen, in OSSL_CRMF_pbm_new() argument
171 if (!EVP_DigestUpdate(ctx, sec, seclen)) in OSSL_CRMF_pbm_new()
/freebsd/contrib/bsnmp/snmpd/
H A Daction.c934 size_t seclen; in op_modules() local
962 &section, &seclen)) in op_modules()
966 if (seclen > LM_SECTION_MAX || seclen == 0) { in op_modules()
970 for (ptr = section; ptr < section + seclen; ptr++) in op_modules()
1019 strncpy(mdep->section, section, seclen); in op_modules()
1020 mdep->section[seclen] = '\0'; in op_modules()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c601 char seclen = strlen(CTF_ELF_SCN_NAME); in write_file() local
604 seclen + 1); in write_file()
609 shdr.sh_size += seclen + 1; in write_file()
610 ddata->d_size += seclen + 1; in write_file()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CRMF_pbmp_new.pod16 const unsigned char *sec, size_t seclen,
27 lengths I<msglen> and I<seclen>.
H A DEVP_PKEY_CTX_set_tls1_prf_md.pod15 unsigned char *sec, int seclen);
30 to B<seclen> bytes of the buffer B<sec>. Any existing secret value is replaced
/freebsd/crypto/openssl/include/openssl/
H A Dkdf.h100 const unsigned char *sec, int seclen);
H A Dcrmf.h.in86 const unsigned char *sec, size_t seclen,
H A Dcrmf.h133 const unsigned char *sec, size_t seclen,
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c4501 size_t len, seclen, nlen, sublen; in dump_attributes() local
4534 seclen = re->dw_decode(&p, 4); in dump_attributes()
4535 if (seclen > len) { in dump_attributes()
4539 len -= seclen; in dump_attributes()
4541 if (nlen + 4 > seclen) { in dump_attributes()
4547 seclen -= nlen + 4; in dump_attributes()
4548 while (seclen > 0) { in dump_attributes()
4552 if (sublen > seclen) { in dump_attributes()
4557 seclen -= sublen; in dump_attributes()
/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_lib.c1104 const unsigned char *sec, int seclen) in EVP_PKEY_CTX_set1_tls1_prf_secret() argument
1110 sec, seclen); in EVP_PKEY_CTX_set1_tls1_prf_secret()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c14112 uint64_t len = dof->dofh_loadsz, seclen; local
14186 seclen = (uint64_t)dof->dofh_secnum * (uint64_t)dof->dofh_secsize;
14188 if (dof->dofh_secoff > len || seclen > len ||
14189 dof->dofh_secoff + seclen > len) {