/drivers/gpu/drm/nouveau/nvkm/engine/ |
D | falcon.c | 141 falcon->secret = (falcon->addr == 0x087000) ? 1 : 0; in nvkm_falcon_oneinit() 145 falcon->secret = (caps & 0x00000030) >> 4; in nvkm_falcon_oneinit() 153 nvkm_debug(subdev, "secret level: %d\n", falcon->secret); in nvkm_falcon_oneinit() 171 if (falcon->secret && falcon->version < 4) { in nvkm_falcon_init()
|
/drivers/net/wireguard/ |
D | cookie.c | 24 get_random_bytes(checker->secret, NOISE_HASH_LEN); in wg_cookie_checker_init() 100 get_random_bytes(checker->secret, NOISE_HASH_LEN); in make_cookie() 106 blake2s_init_key(&state, COOKIE_LEN, checker->secret, NOISE_HASH_LEN); in make_cookie()
|
D | noise.c | 349 u8 secret[BLAKE2S_HASH_SIZE]; in kdf() local 360 hmac(secret, data, chaining_key, data_len, NOISE_HASH_LEN); in kdf() 367 hmac(output, output, secret, 1, BLAKE2S_HASH_SIZE); in kdf() 375 hmac(output, output, secret, BLAKE2S_HASH_SIZE + 1, BLAKE2S_HASH_SIZE); in kdf() 383 hmac(output, output, secret, BLAKE2S_HASH_SIZE + 1, BLAKE2S_HASH_SIZE); in kdf() 388 memzero_explicit(secret, BLAKE2S_HASH_SIZE); in kdf()
|
D | cookie.h | 15 u8 secret[NOISE_HASH_LEN]; member
|
/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | base.c | 31 if (secure && !falcon->secret) { in nvkm_falcon_load_imem() 155 falcon->secret = (reg >> 4) & 0x3; in nvkm_falcon_oneinit()
|
/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | falcon.h | 31 u8 secret; member
|
/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 85 iscsi_boot_rd_attr(tgt_chap_secret, chap-secret, ISCSI_BOOT_TGT_CHAP_SECRET); 88 iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret,
|
/drivers/md/ |
D | dm-table.c | 1241 u8 *secret; member 1263 args->secret, in dm_derive_raw_secret_callback() 1277 u8 *secret, unsigned int secret_size) in dm_derive_raw_secret() argument 1286 .secret = secret, in dm_derive_raw_secret()
|
/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1648 u8 secret[CURVE25519_KEY_SIZE] = { 0 }; in hpre_curve25519_fill_curve() local 1660 memcpy(secret, buf, len); in hpre_curve25519_fill_curve() 1661 curve25519_clamp_secret(secret); in hpre_curve25519_fill_curve() 1662 hpre_key_to_big_end(secret, CURVE25519_KEY_SIZE); in hpre_curve25519_fill_curve() 1671 memcpy(p + shift, secret, len); in hpre_curve25519_fill_curve() 1673 memzero_explicit(secret, CURVE25519_KEY_SIZE); in hpre_curve25519_fill_curve()
|
/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 1614 strlcpy(password, chap_table->secret, QL4_CHAP_MAX_SECRET_LEN); in qla4xxx_get_chap() 1656 strncpy(chap_table->secret, password, MAX_CHAP_SECRET_LEN - 1); in qla4xxx_set_chap() 1735 strlcpy(password, chap_table->secret, MAX_CHAP_SECRET_LEN); in qla4xxx_get_uni_chap_at_index() 1799 if (!strncmp(chap_table->secret, password, in qla4xxx_get_chap_index()
|
D | ql4_os.c | 803 strlcpy(chap_rec->password, chap_table->secret, in qla4xxx_get_chap_list() 2904 chap_tbl.secret, in qla4xxx_session_get_param() 2911 (char *)chap_tbl.secret, in qla4xxx_session_get_param() 3899 chap_tbl.secret, in qla4xxx_copy_fwddb_param() 3905 (char *)chap_tbl.secret, in qla4xxx_copy_fwddb_param() 6066 strlcpy(password, chap_table->secret, QL4_CHAP_MAX_SECRET_LEN); in qla4xxx_get_bidi_chap() 8057 chap_tbl.secret, in qla4xxx_sysfs_ddb_get_param() 8068 chap_tbl.secret, in qla4xxx_sysfs_ddb_get_param() 8070 rc = sprintf(buf, "%s\n", chap_tbl.secret); in qla4xxx_sysfs_ddb_get_param() 8309 chap_tbl.secret, in qla4xxx_sysfs_ddb_set_param()
|
D | ql4_fw.h | 818 uint8_t secret[MAX_CHAP_SECRET_LEN]; member
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 5411 char secret[SHARED_SECRET_MAX]; /* 64 byte */ in drbd_do_auth() local 5423 memcpy(secret, nc->shared_secret, key_len); in drbd_do_auth() 5435 rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); in drbd_do_auth()
|