Searched refs:padlen (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | chacha20poly1305.c | 204 unsigned int padlen; in poly_cipherpad() local 207 padlen = -rctx->cryptlen % POLY1305_BLOCK_SIZE; in poly_cipherpad() 209 sg_init_one(preq->src, preq->pad, padlen); in poly_cipherpad() 214 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_cipherpad() 263 unsigned int padlen; in poly_adpad() local 266 padlen = -rctx->assoclen % POLY1305_BLOCK_SIZE; in poly_adpad() 268 sg_init_one(preq->src, preq->pad, padlen); in poly_adpad() 273 ahash_request_set_crypt(&preq->req, preq->src, NULL, padlen); in poly_adpad()
|
D | drbg.c | 409 size_t padlen = 0; in drbg_ctr_df() local 442 padlen = (inputlen + sizeof(L_N) + 1) % (drbg_blocklen(drbg)); in drbg_ctr_df() 444 if (padlen) in drbg_ctr_df() 445 padlen = drbg_blocklen(drbg) - padlen; in drbg_ctr_df() 451 padlen++; in drbg_ctr_df() 460 drbg_string_fill(&S4, pad, padlen); in drbg_ctr_df()
|
D | rmd160.c | 312 u32 i, index, padlen; in rmd160_final() local 321 padlen = (index < 56) ? (56 - index) : ((64+56) - index); in rmd160_final() 322 rmd160_update(desc, padding, padlen); in rmd160_final()
|