Searched refs:cpoint_len (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_hs_server.c | 177 unsigned char *cpoint, size_t cpoint_len) in do_ecdh() argument 185 cpoint, &cpoint_len); in do_ecdh() 186 ecdh_common(ctx, prf_id, cpoint, cpoint_len, x); in do_ecdh() 199 size_t cpoint_len; in do_static_ecdh() local 205 cpoint_len = pk->key.ec.qlen; in do_static_ecdh() 206 if (cpoint_len > sizeof cpoint) { in do_static_ecdh() 212 cpoint_len = 2; in do_static_ecdh() 214 memcpy(cpoint, pk->key.ec.q, cpoint_len); in do_static_ecdh() 215 do_ecdh(ctx, prf_id, cpoint, cpoint_len); in do_static_ecdh() 334 unsigned char *cpoint, size_t cpoint_len) in do_ecdhe_part2() argument [all …]
|
H A D | ssl_hs_server.t0 | 122 unsigned char *cpoint, size_t cpoint_len) 130 cpoint, &cpoint_len); 131 ecdh_common(ctx, prf_id, cpoint, cpoint_len, x); 144 size_t cpoint_len; 150 cpoint_len = pk->key.ec.qlen; 151 if (cpoint_len > sizeof cpoint) { 157 cpoint_len = 2; 159 memcpy(cpoint, pk->key.ec.q, cpoint_len); 160 do_ecdh(ctx, prf_id, cpoint, cpoint_len); 279 unsigned char *cpoint, size_t cpoint_len) [all …]
|