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

/linux-4.4.14/crypto/
H A Dchacha20poly1305.c30 unsigned int saltlen; member in struct:chachapoly_instance_ctx
37 unsigned int saltlen; member in struct:chachapoly_ctx
92 memcpy(iv + sizeof(leicb), ctx->salt, ctx->saltlen); chacha_iv()
93 memcpy(iv + sizeof(leicb) + ctx->saltlen, req->iv, chacha_iv()
94 CHACHA20_IV_SIZE - sizeof(leicb) - ctx->saltlen); chacha_iv()
489 if (keylen != ctx->saltlen + CHACHA20_KEY_SIZE) chachapoly_setkey()
492 keylen -= ctx->saltlen; chachapoly_setkey()
493 memcpy(ctx->salt, key + keylen, ctx->saltlen); chachapoly_setkey()
535 ctx->saltlen = ictx->saltlen; chachapoly_init()
610 ctx->saltlen = CHACHAPOLY_IV_SIZE - ivsize; chachapoly_create()
652 ctx->saltlen; chachapoly_create()

Completed in 65 milliseconds