secret 44 crypto/dh_helper.c struct kpp_secret secret = { secret 52 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); secret 71 crypto/dh_helper.c struct kpp_secret secret; secret 76 crypto/dh_helper.c ptr = dh_unpack_data(&secret, ptr, sizeof(secret)); secret 77 crypto/dh_helper.c if (secret.type != CRYPTO_KPP_SECRET_TYPE_DH) secret 84 crypto/dh_helper.c if (secret.len != crypto_dh_key_len(params)) secret 1457 crypto/ecc.c u64 *secret) secret 1498 crypto/ecc.c ecc_swap_digits(product->x, secret, ndigits); secret 131 crypto/ecc.h u64 *secret); secret 37 crypto/ecdh_helper.c struct kpp_secret secret = { secret 48 crypto/ecdh_helper.c ptr = ecdh_pack_data(ptr, &secret, sizeof(secret)); secret 61 crypto/ecdh_helper.c struct kpp_secret secret; secret 66 crypto/ecdh_helper.c ptr = ecdh_unpack_data(&secret, ptr, sizeof(secret)); secret 67 crypto/ecdh_helper.c if (secret.type != CRYPTO_KPP_SECRET_TYPE_ECDH) secret 72 crypto/ecdh_helper.c if (secret.len != crypto_ecdh_key_len(params)) secret 3493 crypto/testmgr.c err = crypto_kpp_set_secret(tfm, vec->secret, vec->secret_size); secret 158 crypto/testmgr.h const unsigned char *secret; secret 814 crypto/testmgr.h .secret = secret 923 crypto/testmgr.h .secret = secret 1036 crypto/testmgr.h .secret = secret 1075 crypto/testmgr.h .secret = secret 1119 crypto/testmgr.h .secret = secret 5418 drivers/block/drbd/drbd_receiver.c char secret[SHARED_SECRET_MAX]; /* 64 byte */ secret 5430 drivers/block/drbd/drbd_receiver.c memcpy(secret, nc->shared_secret, key_len); secret 5442 drivers/block/drbd/drbd_receiver.c rv = crypto_shash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); secret 29 drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h u8 secret; secret 141 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->secret = (falcon->addr == 0x087000) ? 1 : 0; secret 145 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->secret = (caps & 0x00000030) >> 4; secret 153 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c nvkm_debug(subdev, "secret level: %d\n", falcon->secret); secret 171 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c if (falcon->secret && falcon->version < 4) { secret 30 drivers/gpu/drm/nouveau/nvkm/falcon/base.c if (secure && !falcon->secret) { secret 185 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->secret = (reg >> 4) & 0x3; secret 85 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_secret, chap-secret, ISCSI_BOOT_TGT_CHAP_SECRET); secret 88 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret, secret 819 drivers/scsi/qla4xxx/ql4_fw.h uint8_t secret[MAX_CHAP_SECRET_LEN]; secret 1616 drivers/scsi/qla4xxx/ql4_mbx.c strlcpy(password, chap_table->secret, QL4_CHAP_MAX_SECRET_LEN); secret 1658 drivers/scsi/qla4xxx/ql4_mbx.c strncpy(chap_table->secret, password, MAX_CHAP_SECRET_LEN - 1); secret 1737 drivers/scsi/qla4xxx/ql4_mbx.c strlcpy(password, chap_table->secret, MAX_CHAP_SECRET_LEN); secret 1801 drivers/scsi/qla4xxx/ql4_mbx.c if (!strncmp(chap_table->secret, password, secret 772 drivers/scsi/qla4xxx/ql4_os.c strlcpy(chap_rec->password, chap_table->secret, secret 2867 drivers/scsi/qla4xxx/ql4_os.c chap_tbl.secret, secret 2874 drivers/scsi/qla4xxx/ql4_os.c (char *)chap_tbl.secret, secret 3863 drivers/scsi/qla4xxx/ql4_os.c chap_tbl.secret, secret 3869 drivers/scsi/qla4xxx/ql4_os.c (char *)chap_tbl.secret, secret 6036 drivers/scsi/qla4xxx/ql4_os.c strlcpy(password, chap_table->secret, QL4_CHAP_MAX_SECRET_LEN); secret 8035 drivers/scsi/qla4xxx/ql4_os.c chap_tbl.secret, secret 8046 drivers/scsi/qla4xxx/ql4_os.c chap_tbl.secret, secret 8048 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(buf, "%s\n", chap_tbl.secret); secret 8282 drivers/scsi/qla4xxx/ql4_os.c chap_tbl.secret, secret 395 fs/crypto/fscrypt_private.h is_master_key_secret_present(const struct fscrypt_master_key_secret *secret) secret 404 fs/crypto/fscrypt_private.h return READ_ONCE(secret->size) != 0; secret 27 fs/crypto/keyring.c static void wipe_master_key_secret(struct fscrypt_master_key_secret *secret) secret 29 fs/crypto/keyring.c fscrypt_destroy_hkdf(&secret->hkdf); secret 30 fs/crypto/keyring.c memzero_explicit(secret, sizeof(*secret)); secret 321 fs/crypto/keyring.c static int add_new_master_key(struct fscrypt_master_key_secret *secret, secret 336 fs/crypto/keyring.c move_master_key_secret(&mk->mk_secret, secret); secret 381 fs/crypto/keyring.c struct fscrypt_master_key_secret *secret) secret 419 fs/crypto/keyring.c move_master_key_secret(&mk->mk_secret, secret); secret 426 fs/crypto/keyring.c struct fscrypt_master_key_secret *secret, secret 444 fs/crypto/keyring.c err = add_new_master_key(secret, mk_spec, sb->s_master_keys); secret 451 fs/crypto/keyring.c err = add_existing_master_key(key->payload.data[0], secret); secret 495 fs/crypto/keyring.c struct fscrypt_master_key_secret secret; secret 511 fs/crypto/keyring.c memset(&secret, 0, sizeof(secret)); secret 512 fs/crypto/keyring.c secret.size = arg.raw_size; secret 514 fs/crypto/keyring.c if (copy_from_user(secret.raw, uarg->raw, secret.size)) secret 529 fs/crypto/keyring.c err = fscrypt_init_hkdf(&secret.hkdf, secret.raw, secret.size); secret 537 fs/crypto/keyring.c memzero_explicit(secret.raw, secret.size); secret 540 fs/crypto/keyring.c err = fscrypt_hkdf_expand(&secret.hkdf, secret 558 fs/crypto/keyring.c err = add_master_key(sb, &secret, &arg.key_spec); secret 560 fs/crypto/keyring.c wipe_master_key_secret(&secret); secret 29 include/keys/trusted.h unsigned char secret[SHA1_DIGEST_SIZE]; secret 81 include/keys/trusted.h 16, 1, &s->secret, SHA1_DIGEST_SIZE, 0); secret 65 include/linux/ipv6.h struct in6_addr secret; secret 30 include/net/seg6_hmac.h char secret[SEG6_HMAC_SECRET_LEN]; secret 61 net/bluetooth/ecdh_helper.c u8 secret[32]) secret 85 net/bluetooth/ecdh_helper.c sg_init_one(&dst, secret, 32); secret 101 net/bluetooth/ecdh_helper.c swap_digits((u64 *)secret, (u64 *)tmp, 4); secret 102 net/bluetooth/ecdh_helper.c memcpy(secret, tmp, 32); secret 27 net/bluetooth/ecdh_helper.h u8 secret[32]); secret 54 net/ceph/auth_x.c static int ceph_x_encrypt(struct ceph_crypto_key *secret, void *buf, secret 64 net/ceph/auth_x.c ret = ceph_crypt(secret, true, buf + sizeof(u32), buf_len - sizeof(u32), secret 74 net/ceph/auth_x.c static int __ceph_x_decrypt(struct ceph_crypto_key *secret, void *p, secret 81 net/ceph/auth_x.c ret = ceph_crypt(secret, false, p, ciphertext_len, ciphertext_len, secret 94 net/ceph/auth_x.c static int ceph_x_decrypt(struct ceph_crypto_key *secret, void **p, void *end) secret 102 net/ceph/auth_x.c ret = __ceph_x_decrypt(secret, *p, ciphertext_len); secret 158 net/ceph/auth_x.c struct ceph_crypto_key *secret, secret 194 net/ceph/auth_x.c ret = ceph_x_decrypt(secret, p, end); secret 267 net/ceph/auth_x.c struct ceph_crypto_key *secret, secret 283 net/ceph/auth_x.c ret = process_one_ticket(ac, secret, &p, end); secret 519 net/ceph/auth_x.c ret = ceph_x_encrypt(&xi->secret, enc_buf, CEPHX_AU_ENC_BUF_LEN, secret 596 net/ceph/auth_x.c ret = ceph_x_proc_ticket_reply(ac, &xi->secret, secret 769 net/ceph/auth_x.c ceph_crypto_key_destroy(&xi->secret); secret 948 net/ceph/auth_x.c ret = ceph_crypto_key_clone(&xi->secret, ac->key); secret 41 net/ceph/auth_x.h struct ceph_crypto_key secret; secret 3229 net/ipv6/addrconf.c struct in6_addr secret; secret 3236 net/ipv6/addrconf.c struct in6_addr secret; secret 3243 net/ipv6/addrconf.c secret = idev->cnf.stable_secret.secret; secret 3245 net/ipv6/addrconf.c secret = net->ipv6.devconf_dflt->stable_secret.secret; secret 3258 net/ipv6/addrconf.c data.secret = secret; secret 3287 net/ipv6/addrconf.c get_random_bytes(&s->secret, sizeof(s->secret)); secret 6294 net/ipv6/addrconf.c struct ipv6_stable_secret *secret = ctl->data; secret 6305 net/ipv6/addrconf.c if (!write && !secret->initialized) { secret 6310 net/ipv6/addrconf.c err = snprintf(str, sizeof(str), "%pI6", &secret->secret); secret 6325 net/ipv6/addrconf.c secret->initialized = true; secret 6326 net/ipv6/addrconf.c secret->secret = addr; secret 89 net/ipv6/seg6.c char *secret; secret 134 net/ipv6/seg6.c secret = (char *)nla_data(info->attrs[SEG6_ATTR_SECRET]); secret 142 net/ipv6/seg6.c memcpy(hinfo->secret, secret, slen); secret 235 net/ipv6/seg6.c nla_put(msg, SEG6_ATTR_SECRET, hinfo->slen, hinfo->secret) || secret 141 net/ipv6/seg6_hmac.c ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); secret 258 net/sctp/auth.c struct sctp_auth_bytes *secret; secret 266 net/sctp/auth.c secret = sctp_auth_create_key(auth_len, gfp); secret 267 net/sctp/auth.c if (!secret) secret 271 net/sctp/auth.c memcpy(secret->data, ep_key->key->data, ep_key->key->len); secret 275 net/sctp/auth.c memcpy(secret->data + offset, first_vector->data, first_vector->len); secret 278 net/sctp/auth.c memcpy(secret->data + offset, last_vector->data, last_vector->len); secret 280 net/sctp/auth.c return secret; secret 295 net/sctp/auth.c struct sctp_auth_bytes *secret = NULL; secret 340 net/sctp/auth.c secret = sctp_auth_asoc_set_secret(ep_key, first_vector, last_vector, secret 346 net/sctp/auth.c return secret; secret 385 net/sctp/auth.c struct sctp_auth_bytes *secret; secret 403 net/sctp/auth.c secret = sctp_auth_asoc_create_secret(asoc, ep_key, gfp); secret 404 net/sctp/auth.c if (!secret) secret 408 net/sctp/auth.c asoc->asoc_shared_key = secret; secret 241 security/keys/dh.c uint8_t *secret; secret 306 security/keys/dh.c secret = kmalloc(secretlen, GFP_KERNEL); secret 307 security/keys/dh.c if (!secret) { secret 311 security/keys/dh.c ret = crypto_dh_encode_key(secret, secretlen, &dh_inputs); secret 321 security/keys/dh.c ret = crypto_kpp_set_secret(tfm, secret, secretlen); secret 402 security/keys/dh.c kzfree(secret); secret 426 security/keys/trusted.c return TSS_rawhmac(s->secret, key, SHA1_DIGEST_SIZE, TPM_NONCE_SIZE, secret 498 security/keys/trusted.c memcpy(td->xorwork, sess.secret, SHA1_DIGEST_SIZE); secret 519 security/keys/trusted.c ret = TSS_authhmac(td->pubauth, sess.secret, SHA1_DIGEST_SIZE, secret 527 security/keys/trusted.c ret = TSS_authhmac(td->pubauth, sess.secret, SHA1_DIGEST_SIZE, secret 565 security/keys/trusted.c ret = TSS_checkhmac1(tb->data, ordinal, td->nonceodd, sess.secret,