Home
last modified time | relevance | path

Searched refs:xcoor_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/bearssl/src/ssl/
H A Dssl_hs_server.c143 unsigned char *xcoor, size_t xcoor_len, uint32_t ctl) in ecdh_common() argument
147 if (xcoor_len > sizeof rpms) { in ecdh_common()
148 xcoor_len = sizeof rpms; in ecdh_common()
157 br_hmac_drbg_generate(&ctx->eng.rng, rpms, xcoor_len); in ecdh_common()
158 br_ccopy(ctl ^ 1, xcoor, rpms, xcoor_len); in ecdh_common()
163 br_ssl_engine_compute_master(&ctx->eng, prf_id, xcoor, xcoor_len); in ecdh_common()
169 memset(xcoor, 0, xcoor_len); in ecdh_common()
H A Dssl_hs_server.t088 unsigned char *xcoor, size_t xcoor_len, uint32_t ctl)
92 if (xcoor_len > sizeof rpms) {
93 xcoor_len = sizeof rpms;
102 br_hmac_drbg_generate(&ctx->eng.rng, rpms, xcoor_len);
103 br_ccopy(ctl ^ 1, xcoor, rpms, xcoor_len);
108 br_ssl_engine_compute_master(&ctx->eng, prf_id, xcoor, xcoor_len);
114 memset(xcoor, 0, xcoor_len);