Searched refs:saltlen (Results 1 – 2 of 2) sorted by relevance
564 unsigned int saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_setkey() local566 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()571 ctx->cdata.keylen = keylen - saltlen; in chachapoly_setkey()
634 unsigned int saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_setkey() local636 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()641 ctx->cdata.keylen = keylen - saltlen; in chachapoly_setkey()