Home
last modified time | relevance | path

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

/crypto/
Dchacha20poly1305.c22 unsigned int saltlen; member
29 unsigned int saltlen; member
90 memcpy(iv + sizeof(leicb), ctx->salt, ctx->saltlen); in chacha_iv()
91 memcpy(iv + sizeof(leicb) + ctx->saltlen, req->iv, in chacha_iv()
92 CHACHA_IV_SIZE - sizeof(leicb) - ctx->saltlen); in chacha_iv()
479 if (keylen != ctx->saltlen + CHACHA_KEY_SIZE) in chachapoly_setkey()
482 keylen -= ctx->saltlen; in chachapoly_setkey()
483 memcpy(ctx->salt, key + keylen, ctx->saltlen); in chachapoly_setkey()
521 ctx->saltlen = ictx->saltlen; in chachapoly_init()
576 ctx->saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_create()
[all …]