Searched refs:usages (Results 1 - 10 of 10) sorted by relevance
/freebsd-12-stable/contrib/bearssl/src/x509/ |
H A D | x509_knownkey.c | 30 const br_rsa_public_key *pk, unsigned usages) 35 ctx->usages = usages; 41 const br_ec_public_key *pk, unsigned usages) 46 ctx->usages = usages; 85 kk_get_pkey(const br_x509_class *const *ctx, unsigned *usages) argument 90 if (usages != NULL) { 91 *usages = xc->usages; 29 br_x509_knownkey_init_rsa(br_x509_knownkey_context *ctx, const br_rsa_public_key *pk, unsigned usages) argument 40 br_x509_knownkey_init_ec(br_x509_knownkey_context *ctx, const br_ec_public_key *pk, unsigned usages) argument [all...] |
H A D | x509_minimal.c | 317 xm_get_pkey(const br_x509_class *const *ctx, unsigned *usages) argument 325 if (usages != NULL) { 326 *usages = cc->key_usages;
|
/freebsd-12-stable/contrib/bearssl/inc/ |
H A D | bearssl_x509.h | 103 * of allowed usages (`BR_KEYTYPE_KEYX` and/or `BR_KEYTYPE_SIGN`). 105 * usages are compatible with the expected values (e.g. with the 467 const br_x509_class *const *ctx, unsigned *usages); 484 unsigned usages; member in struct:__anon325 496 * The `usages` parameter indicates the allowed key usages for that key 504 * \param usages allowed key usages. 507 const br_rsa_public_key *pk, unsigned usages); 512 * The `usages` paramete [all...] |
/freebsd-12-stable/contrib/bearssl/tools/ |
H A D | verify.c | 188 unsigned usages; local 280 tpk = mc.vtable->get_pkey(&mc.vtable, &usages); 289 fprintf(stderr, "Validation success; usages:"); 291 if (usages & BR_KEYTYPE_KEYX) { 295 if (usages & BR_KEYTYPE_SIGN) {
|
H A D | certs.c | 212 xwc_get_pkey(const br_x509_class *const *ctx, unsigned *usages) argument 217 return (*xwc->inner)->get_pkey(xwc->inner, usages);
|
H A D | twrch.c | 825 unsigned usages; local 835 usages = BR_KEYTYPE_SIGN; 837 usages = BR_KEYTYPE_KEYX | BR_KEYTYPE_SIGN; 841 usages, cert_signer_algo,
|
/freebsd-12-stable/lib/libsecureboot/ |
H A D | vets.c | 392 unsigned int usages; local 457 tpk = mc.vtable->get_pkey(&mc.vtable, &usages);
|
/freebsd-12-stable/contrib/bearssl/test/ |
H A D | test_x509.c | 1453 unsigned usages; local 1576 ee_pkey = ctx.vtable->get_pkey(&ctx.vtable, &usages); 1584 ktu = ee_pkey->key_type | usages;
|
/freebsd-12-stable/contrib/bearssl/src/ssl/ |
H A D | ssl_hs_client.c | 1389 /* get-key-type-usages */ 1393 unsigned usages; local 1396 pk = xc->get_pkey(ENG->x509ctx, &usages); 1400 T0_PUSH(pk->key_type | usages);
|
H A D | ssl_hs_server.c | 1443 /* get-key-type-usages */ 1447 unsigned usages; local 1450 pk = xc->get_pkey(ENG->x509ctx, &usages); 1454 T0_PUSH(pk->key_type | usages);
|
Completed in 133 milliseconds