Searched refs:nonce (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | ctr.c | 30 u8 nonce[CTR_RFC3686_NONCE_SIZE]; member 263 memcpy(ctx->nonce, key + (keylen - CTR_RFC3686_NONCE_SIZE), in crypto_rfc3686_setkey() 290 memcpy(iv, ctx->nonce, CTR_RFC3686_NONCE_SIZE); in crypto_rfc3686_crypt()
|
D | gcm.c | 37 u8 nonce[4]; member 48 u8 nonce[4]; member 869 memcpy(ctx->nonce, key + keylen, 4); in crypto_rfc4106_setkey() 907 memcpy(iv, ctx->nonce, 4); in crypto_rfc4106_crypt() 1080 memcpy(ctx->nonce, key + keylen, 4); in crypto_rfc4543_setkey() 1136 memcpy(iv, ctx->nonce, 4); in crypto_rfc4543_crypt()
|
D | ccm.c | 36 u8 nonce[3]; member 648 memcpy(ctx->nonce, key + keylen, 3); in crypto_rfc4309_setkey() 689 memcpy(iv + 1, ctx->nonce, 3); in crypto_rfc4309_crypt()
|
D | vmac.c | 603 u8 nonce[16] = {}; in vmac_final() local 614 mac = vmac(ctx->partial, ctx->partial_size, nonce, NULL, ctx); in vmac_final()
|