/linux-master/net/mptcp/ |
H A D | options.c | 132 mp_opt->nonce = get_unaligned_be32(ptr); 134 pr_debug("MP_JOIN bkup=%u, id=%u, token=%u, nonce=%u", 136 mp_opt->token, mp_opt->nonce); 143 mp_opt->nonce = get_unaligned_be32(ptr); 145 pr_debug("MP_JOIN bkup=%u, id=%u, thmac=%llu, nonce=%u", 147 mp_opt->thmac, mp_opt->nonce); 420 pr_debug("remote_token=%u, nonce=%u", subflow->remote_token, 425 opts->nonce = subflow->local_nonce; 915 opts->nonce = subflow_req->local_nonce; 916 pr_debug("req=%p, bkup=%u, id=%u, thmac=%llu, nonce [all...] |
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-aes.c | 169 static inline void starfive_aes_write_nonce(struct starfive_cryp_ctx *ctx, u32 *nonce) argument 173 writel(nonce[0], cryp->base + STARFIVE_AES_NONCE0); 174 writel(nonce[1], cryp->base + STARFIVE_AES_NONCE1); 175 writel(nonce[2], cryp->base + STARFIVE_AES_NONCE2); 176 writel(nonce[3], cryp->base + STARFIVE_AES_NONCE3);
|
/linux-master/drivers/crypto/nx/ |
H A D | nx-aes-ccm.c | 64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); 484 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); 508 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3);
|
/linux-master/drivers/platform/olpc/ |
H A D | olpc-xo175-ec.c | 295 u8 nonce[] = {0xA5, 0x5A}; local 297 olpc_xo175_ec_send_command(priv, nonce, sizeof(nonce));
|
/linux-master/include/linux/habanalabs/ |
H A D | cpucp_if.h | 659 * number (nonce) provided by the host to prevent replay attacks. 664 * device info data is also hashed with some unique number (nonce) provided 858 __le32 nonce; member in union:cpucp_packet::__anon2659 1334 * @nonce: number only used once. random number provided by host. this also 1351 __le32 nonce; member in struct:cpucp_sec_attest_info 1365 * @nonce: number only used once. random number provided by host. this number is 1368 * @info_sig: signature of the info + nonce data. 1377 __le32 nonce; member in struct:cpucp_dev_info_signed
|
/linux-master/fs/bcachefs/ |
H A D | btree_node_scan.c | 140 struct nonce nonce = btree_nonce(&bn->keys, 0); local 143 bch2_encrypt(c, BSET_CSUM_TYPE(&bn->keys), nonce, &bn->flags, bytes);
|
H A D | btree_io.c | 1040 struct nonce nonce; local 1053 nonce = btree_nonce(i, b->written << 9); 1055 struct bch_csum csum = csum_vstruct(c, BSET_CSUM_TYPE(i), nonce, b->data); 1095 nonce = btree_nonce(i, b->written << 9); 1096 struct bch_csum csum = csum_vstruct(c, BSET_CSUM_TYPE(i), nonce, bne); 1977 struct nonce nonce; local 2146 nonce = btree_nonce(i, b->written << 9); 2149 bn->csum = csum_vstruct(c, BSET_CSUM_TYPE(i), nonce, b [all...] |
/linux-master/crypto/ |
H A D | gcm.c | 34 u8 nonce[4]; member in struct:crypto_rfc4106_ctx 50 u8 nonce[4]; member in struct:crypto_rfc4543_ctx 697 memcpy(ctx->nonce, key + keylen, 4); 731 memcpy(iv, ctx->nonce, 4); 905 memcpy(ctx->nonce, key + keylen, 4); 941 memcpy(iv, ctx->nonce, 4);
|
/linux-master/include/net/ |
H A D | ndisc.h | 451 const struct in6_addr *saddr, u64 nonce); 454 u64 nonce);
|
H A D | mptcp.h | 90 u32 nonce; member in struct:mptcp_out_options::__anon3214::__anon3218
|
/linux-master/net/ceph/ |
H A D | messenger.c | 1374 addr[i].nonce = 0; 1661 u32 nonce = le32_to_cpu(msgr->inst.addr.nonce) + 1000000; local 1662 msgr->inst.addr.nonce = cpu_to_le32(nonce); 1686 /* generate a random non-zero nonce */ 1688 get_random_bytes(&msgr->inst.addr.nonce, 1689 sizeof(msgr->inst.addr.nonce)); 1690 } while (!msgr->inst.addr.nonce);
|
H A D | messenger_v2.c | 830 static void gcm_inc_nonce(struct ceph_gcm_nonce *nonce) argument 834 counter = le64_to_cpu(nonce->counter); 835 nonce->counter = cpu_to_le64(counter + 1); 842 struct ceph_gcm_nonce *nonce; local 845 nonce = encrypt ? &con->v2.out_gcm_nonce : &con->v2.in_gcm_nonce; 848 aead_request_set_crypt(con->v2.gcm_req, src, dst, src_len, (u8 *)nonce); 855 gcm_inc_nonce(nonce); 1499 __func__, con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), 1500 ceph_pr_addr(&con->peer_addr), le32_to_cpu(con->peer_addr.nonce), 1538 __func__, con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | block-map.c | 697 nonce_t nonce = info->cache->zone->block_map->nonce; local 704 validity = vdo_validate_block_map_page(page, nonce, info->pbn); 717 vdo_format_block_map_page(page, nonce, info->pbn, false); 1386 bool vdo_copy_valid_page(char *buffer, nonce_t nonce, argument 1392 vdo_validate_block_map_page(loaded, nonce, pbn); 1827 nonce_t nonce; local 1838 nonce = zone->block_map->nonce; 1840 if (!vdo_copy_valid_page(vio->data, nonce, pb 2858 vdo_decode_block_map(struct block_map_state_2_0 state, block_count_t logical_blocks, struct vdo *vdo, struct recovery_journal *journal, nonce_t nonce, page_count_t cache_size, block_count_t maximum_age, struct block_map **map_ptr) argument [all...] |
H A D | slab-depot.h | 375 /* The nonce of the VDO */ 376 nonce_t nonce; member in struct:block_allocator
|
H A D | recovery-journal.c | 694 * @nonce: The nonce of the VDO. 703 int vdo_decode_recovery_journal(struct recovery_journal_state_7_0 state, nonce_t nonce, argument 725 journal->nonce = nonce; 957 .nonce = journal->nonce,
|
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto.h | 103 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member in struct:ccp_aes_ctx
|
/linux-master/arch/mips/crypto/ |
H A D | poly1305-glue.c | 18 asmlinkage void poly1305_emit_mips(void *state, u8 *digest, const u32 *nonce);
|
/linux-master/arch/arm64/crypto/ |
H A D | poly1305-glue.c | 24 asmlinkage void poly1305_emit(void *state, u8 *digest, const u32 *nonce);
|
H A D | poly1305-armv8.pl | 45 my ($mac,$nonce)=($inp,$len); 208 ldp $t0,$t1,[$nonce] // load nonce 248 ror $t0,$t0,#32 // flip nonce words 251 adds $h0,$h0,$t0 // accumulate nonce
|
/linux-master/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 49 u8 nonce[]; // for RFC4106 nonce member in struct:gcm_key 684 memcpy(ctx->nonce, inkey + keylen, RFC4106_NONCE_SIZE); 699 memcpy(iv, ctx->nonce, RFC4106_NONCE_SIZE); 712 memcpy(iv, ctx->nonce, RFC4106_NONCE_SIZE);
|
/linux-master/drivers/net/wireguard/ |
H A D | queueing.h | 60 u64 nonce; member in struct:packet_cb
|
/linux-master/drivers/crypto/ |
H A D | omap-aes.h | 97 u8 nonce[4]; member in struct:omap_aes_ctx
|
/linux-master/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 55 u8 nonce[4]; member in struct:aesni_rfc4106_gcm_ctx 623 /*Account for 4 byte nonce at the end.*/ 626 memcpy(ctx->nonce, key + key_len, sizeof(ctx->nonce)); 842 *(iv+i) = ctx->nonce[i]; 870 *(iv+i) = ctx->nonce[i];
|
/linux-master/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 59 u32 nonce; member in struct:safexcel_cipher_ctx 82 /* 32 bit nonce */ 83 cdesc->control_data.token[0] = ctx->nonce; 93 /* 96 bit nonce part */ 139 /* 32 bit nonce */ 140 cdesc->control_data.token[0] = ctx->nonce; 183 /* Length + nonce */ 184 cdesc->control_data.token[0] = ctx->nonce; 187 cpu_to_le32(ctx->nonce | 417 /* Must have at least space for the nonce her [all...] |
/linux-master/arch/powerpc/crypto/ |
H A D | chacha-p10le-8x.S | 610 lxvw4x 51, 19, 3 # vr19, counter, nonce 767 lxvw4x 51, 19, 3 # vr19, counter, nonce
|