Searched refs:nonce (Results 1 – 4 of 4) sorted by relevance
| /crypto/ |
| A D | ctr.c | 20 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member 179 memcpy(ctx->nonce, key + (keylen - CTR_RFC3686_NONCE_SIZE), in crypto_rfc3686_setkey() 202 memcpy(iv, ctx->nonce, CTR_RFC3686_NONCE_SIZE); in crypto_rfc3686_crypt()
|
| A D | gcm.c | 33 u8 nonce[4]; member 48 u8 nonce[4]; member 693 memcpy(ctx->nonce, key + keylen, 4); in crypto_rfc4106_setkey() 727 memcpy(iv, ctx->nonce, 4); in crypto_rfc4106_crypt() 901 memcpy(ctx->nonce, key + keylen, 4); in crypto_rfc4543_setkey() 937 memcpy(iv, ctx->nonce, 4); in crypto_rfc4543_crypt()
|
| A D | ccm.c | 32 u8 nonce[3]; member 573 memcpy(ctx->nonce, key + keylen, 3); in crypto_rfc4309_setkey() 612 memcpy(iv + 1, ctx->nonce, 3); in crypto_rfc4309_crypt()
|
| A D | Kconfig | 661 rather than to Salsa20. XChaCha20 extends ChaCha20's nonce length
|
Completed in 793 milliseconds