Searched refs:algo_id (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_scert_single_rsa.c | 64 choices->algo_id = hash_id + 0xFF00; in sr_choose() 116 unsigned algo_id, unsigned char *data, size_t hv_len, size_t len) in sr_do_sign() argument 125 algo_id &= 0xFF; in sr_do_sign() 126 if (algo_id == 0) { in sr_do_sign() 128 } else if (algo_id >= 2 && algo_id <= 6) { in sr_do_sign() 129 hash_oid = HASH_OID[algo_id - 2]; in sr_do_sign()
|
H A D | ssl_scert_single_ec.c | 71 choices->algo_id = hash_id + 0xFF00; in se_choose() 98 unsigned algo_id, unsigned char *data, size_t hv_len, size_t len) in se_do_sign() argument 104 algo_id &= 0xFF; in se_do_sign() 106 hc = br_multihash_getimpl(pc->mhash, algo_id); in se_do_sign()
|
H A D | ssl_hs_server.c | 266 unsigned algo_id; in do_ecdhe_part1() local 314 algo_id = ctx->sign_hash_id; in do_ecdhe_part1() 315 if (algo_id >= (unsigned)0xFF00) { in do_ecdhe_part1() 316 hv_len = hash_data(ctx, ctx->eng.pad, algo_id & 0xFF, in do_ecdhe_part1() 324 algo_id, ctx->eng.pad, hv_len, sizeof ctx->eng.pad); in do_ecdhe_part1() 1225 CTX->sign_hash_id = choices.algo_id; in br_ssl_hs_server_run()
|
H A D | ssl_hs_server.t0 | 211 unsigned algo_id; 259 algo_id = ctx->sign_hash_id; 260 if (algo_id >= (unsigned)0xFF00) { 261 hv_len = hash_data(ctx, ctx->eng.pad, algo_id & 0xFF, 269 algo_id, ctx->eng.pad, hv_len, sizeof ctx->eng.pad); 588 CTX->sign_hash_id = choices.algo_id;
|
/freebsd/contrib/bearssl/tools/ |
H A D | server.c | 398 choices->algo_id = 0x0001; in sp_choose() 400 choices->algo_id = 0xFF00; in sp_choose() 407 choices->algo_id = in sp_choose() 410 choices->algo_id = 0xFF00 + id; in sp_choose() 423 choices->algo_id = 0x0203; in sp_choose() 425 choices->algo_id = in sp_choose() 433 choices->algo_id = in sp_choose() 436 choices->algo_id = in sp_choose() 508 unsigned algo_id, unsigned char *data, size_t hv_len, size_t len) in sp_do_sign() argument 514 if (algo_id >= 0xFF00) { in sp_do_sign() [all …]
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_ssl.h | 3066 unsigned algo_id; member 3232 unsigned algo_id,
|