Lines Matching refs:inp_len

158                                          size_t inp_len, int n4x)  in tls1_1_multi_block_encrypt()  argument
184 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
185 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
522 size_t inp_len, mask, j, i; in aesni_cbc_hmac_sha256_cipher() local
557 inp_len = len - (SHA256_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha256_cipher()
559 key->aux.tls_aad[plen - 2] = inp_len >> 8; in aesni_cbc_hmac_sha256_cipher()
560 key->aux.tls_aad[plen - 1] = inp_len; in aesni_cbc_hmac_sha256_cipher()
574 inp_len -= j; in aesni_cbc_hmac_sha256_cipher()
578 bitlen = key->md.Nl + (inp_len << 3); /* at most 18 bits */ in aesni_cbc_hmac_sha256_cipher()
600 mask = (j - inp_len) >> (sizeof(j) * 8 - 8); in aesni_cbc_hmac_sha256_cipher()
602 c |= 0x80 & ~mask & ~((inp_len - j) >> (sizeof(j) * 8 - 8)); in aesni_cbc_hmac_sha256_cipher()
609 mask = 0 - ((inp_len + 7 - j) >> (sizeof(j) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
612 mask &= 0 - ((j - inp_len - 72) >> (sizeof(j) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
628 mask = 0 - ((inp_len + 8 - j) >> (sizeof(j) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
631 mask &= 0 - ((j - inp_len - 73) >> (sizeof(j) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
646 mask = 0 - ((j - inp_len - 73) >> (sizeof(j) * 8 - 1)); in aesni_cbc_hmac_sha256_cipher()
676 SHA256_Update(&key->md, out, inp_len); in aesni_cbc_hmac_sha256_cipher()
686 res += (unsigned int)(len - inp_len); in aesni_cbc_hmac_sha256_cipher()
700 out += inp_len; in aesni_cbc_hmac_sha256_cipher()
701 len -= inp_len; in aesni_cbc_hmac_sha256_cipher()
828 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_ctrl() local
836 inp_len = param->inp[11] << 8 | param->inp[12]; in aesni_cbc_hmac_sha256_ctrl()
842 if (inp_len) { in aesni_cbc_hmac_sha256_ctrl()
843 if (inp_len < 4096) in aesni_cbc_hmac_sha256_ctrl()
846 if (inp_len >= 8192 && OPENSSL_ia32cap_P[2] & (1 << 5)) in aesni_cbc_hmac_sha256_ctrl()
849 inp_len = param->len; in aesni_cbc_hmac_sha256_ctrl()
859 frag = inp_len >> n4x; in aesni_cbc_hmac_sha256_ctrl()
860 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha256_ctrl()