Lines Matching refs:inl
36 const unsigned char *in, size_t inl)
41 if (inl < 24)
44 return inl - 16;
55 memmove(out, out + 8, inl - 8);
58 ctx->hw->cipher(ctx, out, in + 8, inl - 16);
60 ctx->hw->cipher(ctx, iv, in + inl - 8, 8);
63 BUF_reverse(out, NULL, inl - 16);
66 ctx->hw->cipher(ctx, out, out, inl - 16);
68 if (ossl_sha1(out, inl - 16, sha1tmp) /* Work out hash of first portion */
70 rv = inl - 16;
76 OPENSSL_cleanse(out, inl - 16);
82 const unsigned char *in, size_t inl)
87 size_t len = inl + ivlen + icvlen;
93 memmove(out + ivlen, in, inl);
95 if (!ossl_sha1(in, inl, sha1tmp))
97 memcpy(out + inl + ivlen, sha1tmp, icvlen);
104 ctx->hw->cipher(ctx, out + ivlen, out + ivlen, inl + ivlen);
112 const unsigned char *in, size_t inl)
119 if (inl >= EVP_MAXCHUNK || inl % 8)
122 return des_ede3_wrap(ctx, out, in, inl);
124 return des_ede3_unwrap(ctx, out, in, inl);
129 const unsigned char *in, size_t inl)
138 if (outsize < inl) {
143 ret = tdes_wrap_cipher_internal(ctx, out, in, inl);
153 size_t inl)
156 if (inl == 0)
158 if (outsize < inl) {
163 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) {