Added macro that indicates presence of the time callback feature. Also added C++...
[BearSSL] / src / ssl / prf_sha256.c
index cec916a..76041de 100644 (file)
 /* see bearssl.h */
 void
 br_tls12_sha256_prf(void *dst, size_t len,
-       const void *secret, size_t secret_len,
-       const char *label, const void *seed, size_t seed_len)
+       const void *secret, size_t secret_len, const char *label,
+       size_t seed_num, const br_tls_prf_seed_chunk *seed)
 {
        memset(dst, 0, len);
        br_tls_phash(dst, len, &br_sha256_vtable,
-               secret, secret_len, label, seed, seed_len);
+               secret, secret_len, label, seed_num, seed);
 }