Lines Matching defs:key
22 * - Block cipher: any with a 128-bit block size and 256-bit key
49 /* Size of the block cipher key (K_E) in bytes */
52 /* Size of the hash key (K_H) in bytes */
109 * Given the XChaCha stream key K_S, derive the block cipher key K_E and the
110 * hash key K_H as follows:
112 * K_E || K_H || ... = XChaCha(key=K_S, nonce=1||0^191)
117 static int adiantum_setkey(struct crypto_skcipher *tfm, const u8 *key,
131 /* Set the stream cipher key (K_S) */
136 err = crypto_skcipher_setkey(tctx->streamcipher, key, keylen);
159 /* Set the block cipher key (K_E) */
170 /* Set the hash key (K_H) */