Searched refs:algo_id (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/bearssl/src/ssl/
H A Dssl_scert_single_rsa.c64 choices->algo_id = hash_id + 0xFF00;
116 unsigned algo_id, unsigned char *data, size_t hv_len, size_t len)
125 algo_id &= 0xFF;
126 if (algo_id == 0) {
128 } else if (algo_id >= 2 && algo_id <= 6) {
129 hash_oid = HASH_OID[algo_id - 2];
115 sr_do_sign(const br_ssl_server_policy_class **pctx, unsigned algo_id, unsigned char *data, size_t hv_len, size_t len) argument
H A Dssl_scert_single_ec.c71 choices->algo_id = hash_id + 0xFF00;
98 unsigned algo_id, unsigned char *data, size_t hv_len, size_t len)
104 algo_id &= 0xFF;
106 hc = br_multihash_getimpl(pc->mhash, algo_id);
97 se_do_sign(const br_ssl_server_policy_class **pctx, unsigned algo_id, unsigned char *data, size_t hv_len, size_t len) argument
H A Dssl_hs_server.c266 unsigned algo_id; local
314 algo_id = ctx->sign_hash_id;
315 if (algo_id >= (unsigned)0xFF00) {
316 hv_len = hash_data(ctx, ctx->eng.pad, algo_id & 0xFF,
324 algo_id, ctx->eng.pad, hv_len, sizeof ctx->eng.pad);
1225 CTX->sign_hash_id = choices.algo_id;
/freebsd-13-stable/contrib/bearssl/tools/
H A Dserver.c398 choices->algo_id = 0x0001;
400 choices->algo_id = 0xFF00;
407 choices->algo_id =
410 choices->algo_id = 0xFF00 + id;
423 choices->algo_id = 0x0203;
425 choices->algo_id =
433 choices->algo_id =
436 choices->algo_id =
508 unsigned algo_id, unsigned char *data, size_t hv_len, size_t len)
514 if (algo_id >
507 sp_do_sign(const br_ssl_server_policy_class **pctx, unsigned algo_id, unsigned char *data, size_t hv_len, size_t len) argument
[all...]
/freebsd-13-stable/contrib/bearssl/inc/
H A Dbearssl_ssl.h3066 unsigned algo_id; member in struct:__anon246
3198 * identified by `algo_id`. The signature shall be computed and
3206 * The `algo_id` value matches that which was written in the
3225 * \param algo_id hash function / algorithm identifier.
3232 unsigned algo_id,

Completed in 110 milliseconds