Home
last modified time | relevance | path

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

/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c105 size_t seclen; member
144 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_reset()
163 if (!ossl_prov_memdup(src->sec, src->seclen, &dest->sec, &dest->seclen)) in kdf_tls1_prf_dup()
233 int key_approved = ossl_kdf_check_key_size(ctx->seclen); in fips_key_check_passed()
278 ctx->sec, ctx->seclen, in kdf_tls1_prf_derive()
344 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_set_ctx_params()
346 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->sec, 0, &ctx->seclen)) in kdf_tls1_prf_set_ctx_params()
/openssl/crypto/ec/
H A Dec_kmeth.c155 size_t seclen; in ECDH_compute_key() local
164 if (!eckey->meth->compute_key(&sec, &seclen, pub_key, eckey)) in ECDH_compute_key()
167 KDF(sec, seclen, out, &outlen); in ECDH_compute_key()
169 if (outlen > seclen) in ECDH_compute_key()
170 outlen = seclen; in ECDH_compute_key()
173 OPENSSL_clear_free(sec, seclen); in ECDH_compute_key()
/openssl/test/
H A Devp_pkey_dhkem_test.c211 size_t seclen = sizeof(sec); in test_input_size_small() local
217 NULL, &seclen), 1)) in test_input_size_small()
222 if (!TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc, &enclen, sec, &seclen), in test_input_size_small()
227 seclen--; in test_input_size_small()
228 if (!TEST_int_eq(EVP_PKEY_encapsulate(ctx, enc, &enclen, sec, &seclen), 0)) in test_input_size_small()
230 seclen++; in test_input_size_small()
234 seclen--; in test_input_size_small()
235 if (!TEST_int_eq(EVP_PKEY_decapsulate(ctx, sec, &seclen, enc, enclen), 0)) in test_input_size_small()
237 seclen++; in test_input_size_small()
240 ret = TEST_int_eq(EVP_PKEY_decapsulate(ctx, sec, &seclen, enc, enclen), 0); in test_input_size_small()
/openssl/crypto/crmf/
H A Dcrmf_pbm.c130 const unsigned char *sec, size_t seclen, in OSSL_CRMF_pbm_new() argument
170 if (!EVP_DigestUpdate(ctx, sec, seclen)) in OSSL_CRMF_pbm_new()
/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
/openssl/include/openssl/
H A Dkdf.h100 const unsigned char *sec, int seclen);
H A Dcrmf.h.in93 const unsigned char *sec, size_t seclen,
/openssl/crypto/evp/
H A Dpmeth_lib.c1091 const unsigned char *sec, int seclen) in EVP_PKEY_CTX_set1_tls1_prf_secret() argument
1097 sec, seclen); in EVP_PKEY_CTX_set1_tls1_prf_secret()

Completed in 31 milliseconds