Home
last modified time | relevance | path

Searched refs:nonce (Results 51 – 75 of 124) sorted by relevance

12345

/openbmc/linux/include/keys/
H A Dtrusted_tpm.h43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
/openbmc/linux/include/uapi/scsi/
H A Dscsi_bsg_ufs.h172 __u8 nonce[16]; member
/openbmc/linux/net/rxrpc/
H A Dprotocol.h151 __be32 nonce; /* encrypted random number */ member
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dspmobj-attributes.c28 u32 nonce; member
185 len += sysfs_emit_at(buf, len, "\t\"Nonce\": %d,\n", data.nonce); in status_show()
/openbmc/linux/arch/arm/crypto/
H A Dpoly1305-armv4.pl371 my ($ctx,$mac,$nonce)=map("r$_",(0..2));
418 ldr $g0,[$nonce,#0]
423 ldr $g1,[$nonce,#4]
428 ldr $g2,[$nonce,#8]
433 ldr $g3,[$nonce,#12]
H A Dghash-ce-glue.c49 u8 nonce[]; // for RFC4106 nonce member
684 memcpy(ctx->nonce, inkey + keylen, RFC4106_NONCE_SIZE); in rfc4106_setkey()
699 memcpy(iv, ctx->nonce, RFC4106_NONCE_SIZE); in rfc4106_encrypt()
712 memcpy(iv, ctx->nonce, RFC4106_NONCE_SIZE); in rfc4106_decrypt()
/openbmc/linux/net/ceph/
H A Dauth_x.c317 msg_b->nonce = cpu_to_le64(au->nonce); in encrypt_authorizer()
402 get_random_bytes(&au->nonce, sizeof(au->nonce)); in ceph_x_build_authorizer()
409 dout(" built authorizer nonce %llx len %d\n", au->nonce, in ceph_x_build_authorizer()
896 if (nonce_plus_one != au->nonce + 1) { in ceph_x_verify_authorizer_reply()
H A Dmessenger.c1374 addr[i].nonce = 0; in ceph_parse_ips()
1661 u32 nonce = le32_to_cpu(msgr->inst.addr.nonce) + 1000000; in ceph_messenger_reset_nonce() local
1662 msgr->inst.addr.nonce = cpu_to_le32(nonce); in ceph_messenger_reset_nonce()
1688 get_random_bytes(&msgr->inst.addr.nonce, in ceph_messenger_init()
1689 sizeof(msgr->inst.addr.nonce)); in ceph_messenger_init()
1690 } while (!msgr->inst.addr.nonce); in ceph_messenger_init()
H A Dmessenger_v2.c834 static void gcm_inc_nonce(struct ceph_gcm_nonce *nonce) in gcm_inc_nonce() argument
838 counter = le64_to_cpu(nonce->counter); in gcm_inc_nonce()
839 nonce->counter = cpu_to_le64(counter + 1); in gcm_inc_nonce()
846 struct ceph_gcm_nonce *nonce; in gcm_crypt() local
849 nonce = encrypt ? &con->v2.out_gcm_nonce : &con->v2.in_gcm_nonce; in gcm_crypt()
859 gcm_inc_nonce(nonce); in gcm_crypt()
1504 ceph_pr_addr(&con->peer_addr), le32_to_cpu(con->peer_addr.nonce), in prepare_client_ident()
2271 WARN_ON(!my_addr->nonce); in process_hello()
2534 __func__, con, ceph_pr_addr(&addr), le32_to_cpu(addr.nonce), in process_server_ident()
2541 le32_to_cpu(con->peer_addr.nonce), in process_server_ident()
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Dpdb.h276 u32 nonce; member
288 u32 nonce; member
/openbmc/linux/drivers/crypto/nx/
H A Dnx-aes-ccm.c64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key()
484 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_encrypt()
508 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_decrypt()
/openbmc/linux/drivers/platform/olpc/
H A Dolpc-xo175-ec.c295 u8 nonce[] = {0xA5, 0x5A}; in olpc_xo175_ec_read_packet() local
297 olpc_xo175_ec_send_command(priv, nonce, sizeof(nonce)); in olpc_xo175_ec_read_packet()
/openbmc/linux/drivers/accel/habanalabs/include/common/
H A Dcpucp_if.h838 __le32 nonce; member
1329 __le32 nonce; member
1355 __le32 nonce; member
/openbmc/linux/crypto/
H A Dgcm.c34 u8 nonce[4]; member
50 u8 nonce[4]; member
699 memcpy(ctx->nonce, key + keylen, 4); in crypto_rfc4106_setkey()
733 memcpy(iv, ctx->nonce, 4); in crypto_rfc4106_crypt()
907 memcpy(ctx->nonce, key + keylen, 4); in crypto_rfc4543_setkey()
943 memcpy(iv, ctx->nonce, 4); in crypto_rfc4543_crypt()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Attestation/
H A DMeasurementSet.interface.yaml8 given nonce and measurements of the SPDM Responder.
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes.c153 memcpy(ctx->u.aes.nonce, key + key_len, CTR_RFC3686_NONCE_SIZE); in ccp_aes_rfc3686_setkey()
167 memcpy(iv, ctx->u.aes.nonce, CTR_RFC3686_NONCE_SIZE); in ccp_aes_rfc3686_crypt()
H A Dccp-crypto.h103 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-aes.c169 static inline void starfive_aes_write_nonce(struct starfive_cryp_ctx *ctx, u32 *nonce) in starfive_aes_write_nonce() argument
173 writel(nonce[0], cryp->base + STARFIVE_AES_NONCE0); in starfive_aes_write_nonce()
174 writel(nonce[1], cryp->base + STARFIVE_AES_NONCE1); in starfive_aes_write_nonce()
175 writel(nonce[2], cryp->base + STARFIVE_AES_NONCE2); in starfive_aes_write_nonce()
176 writel(nonce[3], cryp->base + STARFIVE_AES_NONCE3); in starfive_aes_write_nonce()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-rbd170 entity_addr_t (address + nonce). The format is
171 <address>:<port>/<nonce>: '1.2.3.4:1234/5678' or
/openbmc/linux/include/net/
H A Dndisc.h451 const struct in6_addr *saddr, u64 nonce);
454 u64 nonce);
/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c59 u32 nonce; member
83 cdesc->control_data.token[0] = ctx->nonce; in safexcel_skcipher_iv()
140 cdesc->control_data.token[0] = ctx->nonce; in safexcel_aead_iv()
184 cdesc->control_data.token[0] = ctx->nonce; in safexcel_aead_token()
187 cpu_to_le32(ctx->nonce | in safexcel_aead_token()
421 ctx->nonce = *(u32 *)(keys.enckey + keys.enckeylen - in safexcel_aead_setkey()
1442 ctx->nonce = *(u32 *)(key + len - CTR_RFC3686_NONCE_SIZE); in safexcel_skcipher_aesctr_setkey()
2879 ctx->nonce = *(u32 *)(key + len); in safexcel_aead_chachapoly_setkey()
2923 key[CHACHA_KEY_SIZE / sizeof(u32)] = ctx->nonce; in safexcel_aead_chachapoly_crypt()
3679 *(u8 *)&ctx->nonce = EIP197_AEAD_IPSEC_COUNTER_SIZE - 1; in safexcel_rfc4309_ccm_setkey()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Daesni-intel_glue.c55 u8 nonce[4]; member
627 memcpy(ctx->nonce, key + key_len, sizeof(ctx->nonce)); in common_rfc4106_set_key()
843 *(iv+i) = ctx->nonce[i]; in helper_rfc4106_encrypt()
871 *(iv+i) = ctx->nonce[i]; in helper_rfc4106_decrypt()
/openbmc/linux/drivers/net/wireguard/
H A Dqueueing.h60 u64 nonce; member
/openbmc/linux/arch/mips/crypto/
H A Dpoly1305-glue.c18 asmlinkage void poly1305_emit_mips(void *state, u8 *digest, const u32 *nonce);
/openbmc/linux/drivers/crypto/
H A Domap-aes.h97 u8 nonce[4]; member

12345