Searched refs:padnum (Results 1 – 2 of 2) sorted by relevance
279 size_t padnum, loop; in ossl_cipher_generic_block_update() local283 padnum = blksz - (inl % blksz); in ossl_cipher_generic_block_update()285 if (outsize < inl + padnum) { in ossl_cipher_generic_block_update()290 if (padnum > MAX_PADDING) { in ossl_cipher_generic_block_update()294 padval = (unsigned char)(padnum - 1); in ossl_cipher_generic_block_update()296 if (padnum > 1) in ossl_cipher_generic_block_update()297 memset(out + inl, 0, padnum - 1); in ossl_cipher_generic_block_update()298 *(out + inl + padnum - 1) = padval; in ossl_cipher_generic_block_update()301 for (loop = inl; loop < inl + padnum; loop++) in ossl_cipher_generic_block_update()304 inl += padnum; in ossl_cipher_generic_block_update()
176 size_t bs, ctr, padnum, loop; in tls1_cipher() local292 padnum = bs - (reclen[ctr] % bs); in tls1_cipher()296 if (padnum > MAX_PADDING) { in tls1_cipher()301 padval = (unsigned char)(padnum - 1); in tls1_cipher()302 for (loop = reclen[ctr]; loop < reclen[ctr] + padnum; loop++) in tls1_cipher()304 reclen[ctr] += padnum; in tls1_cipher()305 recs[ctr].length += padnum; in tls1_cipher()
Completed in 8 milliseconds