Lines Matching refs:seed
88 const unsigned char *seed, size_t seed_len,
107 unsigned char *seed; member
145 OPENSSL_clear_free(ctx->seed, ctx->seedlen); in kdf_tls1_prf_reset()
165 if (!ossl_prov_memdup(src->seed, src->seedlen, &dest->seed, in kdf_tls1_prf_dup()
191 || memcmp(ctx->seed, TLS_MD_MASTER_SECRET_CONST, in fips_ems_check_passed()
279 ctx->seed, ctx->seedlen, in kdf_tls1_prf_derive()
361 unsigned char *seed; in kdf_tls1_prf_set_ctx_params() local
372 seed = OPENSSL_clear_realloc(ctx->seed, ctx->seedlen, seedlen); in kdf_tls1_prf_set_ctx_params()
373 if (!seed) in kdf_tls1_prf_set_ctx_params()
376 ctx->seed = seed; in kdf_tls1_prf_set_ctx_params()
378 memcpy(ctx->seed + ctx->seedlen, val, sz); in kdf_tls1_prf_set_ctx_params()
465 const unsigned char *seed, size_t seed_len, in tls1_prf_P_hash() argument
483 if (seed != NULL && !EVP_MAC_update(ctx_Ai, seed, seed_len)) in tls1_prf_P_hash()
505 if (seed != NULL && !EVP_MAC_update(ctx, seed, seed_len)) in tls1_prf_P_hash()
551 const unsigned char *seed, size_t seed_len, in tls1_prf_alg() argument
563 seed, seed_len, out, olen)) in tls1_prf_alg()
570 seed, seed_len, tmp, olen)) { in tls1_prf_alg()
581 if (!tls1_prf_P_hash(mdctx, sec, slen, seed, seed_len, out, olen)) in tls1_prf_alg()