Home
last modified time | relevance | path

Searched refs:key_out (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/libfido2/examples/
H A Dcred.c48 bool rk, bool uv, int ext, int cred_protect, const char *key_out, in verify_cred() argument
119 if (key_out != NULL) { in verify_cred()
122 if (write_es256_pubkey(key_out, in verify_cred()
127 if (write_es384_pubkey(key_out, in verify_cred()
132 if (write_rs256_pubkey(key_out, in verify_cred()
137 if (write_eddsa_pubkey(key_out, in verify_cred()
164 const char *key_out = NULL; in main() local
225 key_out = optarg; in main()
334 key_out, id_out); in main()
/freebsd/crypto/krb5/src/plugins/kdb/test/
H A Dkdb_test.c560 krb5_keyblock *key_out, krb5_kvno *kvno_out, in test_fetch_master_key() argument
563 memset(key_out, 0, sizeof(*key_out)); in test_fetch_master_key()
581 const krb5_key_data *kd, krb5_keyblock *key_out, in test_decrypt_key_data() argument
584 key_out->magic = KV5M_KEYBLOCK; in test_decrypt_key_data()
585 key_out->enctype = kd->key_data_type[0]; in test_decrypt_key_data()
586 key_out->length = kd->key_data_length[0]; in test_decrypt_key_data()
587 key_out->contents = ealloc(key_out->length); in test_decrypt_key_data()
588 memcpy(key_out->contents, kd->key_data_contents[0], key_out->length); in test_decrypt_key_data()
/freebsd/crypto/krb5/src/kdc/
H A Dkdc_util.c419 krb5_keyblock **key_out, krb5_kvno *kvno_out) in find_server_key() argument
425 *key_out = NULL; in find_server_key()
450 *key_out = key; in find_server_key()
463 krb5_keyblock *key_out) in get_first_current_key() argument
468 memset(key_out, 0, sizeof(*key_out)); in get_first_current_key()
472 return krb5_dbe_decrypt_key_data(context, NULL, kd, key_out, NULL); in get_first_current_key()
488 krb5_db_entry **storage_out, krb5_keyblock *key_out) in get_local_tgt() argument
496 memset(key_out, 0, sizeof(*key_out)); in get_local_tgt()
513 ret = get_first_current_key(context, tgt, key_out); in get_local_tgt()
531 const krb5_keyblock *tgt_key, krb5_keyblock **key_out) in pac_privsvr_key() argument
[all …]
H A Dfast_util.c467 krb5_const_principal client_princ, krb5_keyblock **key_out) in derive_cookie_key() argument
473 *key_out = NULL; in derive_cookie_key()
484 ret = krb5_c_derive_prfplus(context, tgt_key, &d, ENCTYPE_NULL, key_out); in derive_cookie_key()
497 krb5_const_principal client_princ, krb5_keyblock **key_out) in get_cookie_key() argument
503 *key_out = NULL; in get_cookie_key()
520 ret = derive_cookie_key(context, key, client_princ, key_out); in get_cookie_key()
H A Dkdc_util.h73 krb5_keyblock *key_out);
257 const krb5_keyblock *tgt_key, krb5_keyblock **key_out);
H A Ddo_tgs_req.c261 krb5_db_entry **server_out, krb5_keyblock **key_out, in decrypt_2ndtkt() argument
273 *key_out = NULL; in decrypt_2ndtkt()
299 *key_out = key; in decrypt_2ndtkt()
/freebsd/crypto/openssl/test/
H A Dbftest.c203 static unsigned char key_out[KEY_TEST_NUM][8] = { variable
256 printf("%02X", key_out[i][j]); in print_test_data()
344 if (!TEST_mem_eq(out, 8, &(key_out[n][0]), 8)) in test_bf_set_key()
H A Docspapitest.c25 static int get_cert_and_key(X509 **cert_out, EVP_PKEY **key_out) in get_cert_and_key() argument
42 *key_out = key; in get_cert_and_key()
/freebsd/crypto/krb5/src/plugins/preauth/securid_sam2/
H A Dgrail.c52 krb5_keyblock *key_out) in get_grail_key() argument
65 ret = krb5_dbe_decrypt_key_data(context, NULL, kd, key_out, NULL); in get_grail_key()
/freebsd/crypto/krb5/src/lib/krb5/ccache/
H A Dcc_keyring.c334 const char *name, key_serial_t *key_out) in find_or_create_keyring() argument
338 *key_out = -1; in find_or_create_keyring()
353 *key_out = key; in find_or_create_keyring()
706 key_serial_t *key_out) in add_cred_key() argument
710 *key_out = -1; in add_cred_key()
715 *key_out = key; in add_cred_key()
725 *key_out = key; in add_cred_key()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c782 uint8_t **key_out) in derive_key() argument
787 *key_out = NULL; in derive_key()
822 *key_out = key; in derive_key()
828 *key_out = NULL; in derive_key()
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dget_in_tkt.c49 const krb5_keyblock *strengthen_key, krb5_keyblock *key_out) in decrypt_as_reply() argument
56 memset(key_out, 0, sizeof(*key_out)); in decrypt_as_reply()
69 *key_out = key; in decrypt_as_reply()
135 *key_out = key; in decrypt_as_reply()
/freebsd/sys/dev/asmc/
H A Dasmc.c1708 asmc_key_dump_by_index(device_t dev, int index, char *key_out, in asmc_key_dump_by_index() argument
1760 memcpy(key_out, key_buf, ASMC_KEYLEN); in asmc_key_dump_by_index()
1761 key_out[ASMC_KEYLEN] = '\0'; in asmc_key_dump_by_index()
/freebsd/crypto/krb5/src/lib/kdb/
H A Dkdb5.c2110 next_attr(const char **pos, const char *end, const char **key_out, in next_attr() argument
2115 *key_out = *val_out = NULL; in next_attr()
2127 *key_out = key; in next_attr()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c3578 zdb_derive_key(dsl_dir_t *dd, uint8_t *key_out) in zdb_derive_key() argument
3597 key_out[i / 2] = c; in zdb_derive_key()
3611 WRAPPING_KEY_LEN, key_out) != 1) in zdb_derive_key()
3620 if (fread(key_out, 1, WRAPPING_KEY_LEN, f) != in zdb_derive_key()