Home
last modified time | relevance | path

Searched refs:saltlen (Results 1 – 2 of 2) sorted by relevance

/drivers/crypto/caam/
Dcaamalg.c564 unsigned int saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_setkey() local
566 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()
571 ctx->cdata.keylen = keylen - saltlen; in chachapoly_setkey()
Dcaamalg_qi2.c634 unsigned int saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_setkey() local
636 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()
641 ctx->cdata.keylen = keylen - saltlen; in chachapoly_setkey()