Lines Matching defs:nonce
58 u32 nonce;
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 here */
420 /* last 4 bytes of key are the nonce! */
421 ctx->nonce = *(u32 *)(keys.enckey + keys.enckeylen -
423 /* exclude the nonce here */
1421 /* last 4 bytes of key are the nonce! */
1422 ctx->nonce = *(u32 *)(key + len - CTR_RFC3686_NONCE_SIZE);
1423 /* exclude the nonce here */
1465 /* Add nonce size */
2868 /* ESP variant has nonce appended to key */
2870 ctx->nonce = *(u32 *)(key + len);
2913 /* ESP variant has nonce appended to the key */
2914 key[CHACHA_KEY_SIZE / sizeof(u32)] = ctx->nonce;
3262 /* last 4 bytes of key are the nonce! */
3263 ctx->nonce = *(u32 *)(key + len - CTR_RFC3686_NONCE_SIZE);
3264 /* exclude the nonce here */
3288 /* Add nonce size */
3556 /* last 4 bytes of key are the nonce! */
3557 ctx->nonce = *(u32 *)(key + len - CTR_RFC3686_NONCE_SIZE);
3669 /* First byte of the nonce = L = always 3 for RFC4309 (4 byte ctr) */
3670 *(u8 *)&ctx->nonce = EIP197_AEAD_IPSEC_COUNTER_SIZE - 1;
3671 /* last 3 bytes of key are the nonce! */
3672 memcpy((u8 *)&ctx->nonce + 1, key + len -