Lines Matching refs:sec
87 const unsigned char *sec, size_t slen,
104 unsigned char *sec; 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()
259 if (ctx->sec == NULL) { in kdf_tls1_prf_derive()
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()
345 ctx->sec = NULL; 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()
464 const unsigned char *sec, size_t sec_len, in tls1_prf_P_hash() argument
474 if (!EVP_MAC_init(ctx_init, sec, sec_len, NULL)) in tls1_prf_P_hash()
550 const unsigned char *sec, size_t slen, in tls1_prf_alg() argument
562 if (!tls1_prf_P_hash(mdctx, sec, L_S1, in tls1_prf_alg()
569 if (!tls1_prf_P_hash(sha1ctx, sec + slen - L_S2, L_S2, in tls1_prf_alg()
581 if (!tls1_prf_P_hash(mdctx, sec, slen, seed, seed_len, out, olen)) in tls1_prf_alg()