Searched refs:saltlen (Results 1 – 1 of 1) sorted by relevance
24 unsigned int saltlen; member31 unsigned int saltlen; member92 memcpy(iv + sizeof(leicb), ctx->salt, ctx->saltlen); in chacha_iv()93 memcpy(iv + sizeof(leicb) + ctx->saltlen, req->iv, in chacha_iv()94 CHACHA_IV_SIZE - sizeof(leicb) - ctx->saltlen); in chacha_iv()482 if (keylen != ctx->saltlen + CHACHA_KEY_SIZE) in chachapoly_setkey()485 keylen -= ctx->saltlen; in chachapoly_setkey()486 memcpy(ctx->salt, key + keylen, ctx->saltlen); in chachapoly_setkey()528 ctx->saltlen = ictx->saltlen; in chachapoly_init()610 ctx->saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_create()[all …]