Lines Matching refs:in
70 const unsigned char *in, size_t inl) in des_ede_ecb_cipher() argument
73 DES_ecb3_encrypt((const_DES_cblock *)(in + i), in des_ede_ecb_cipher()
81 const unsigned char *in, size_t inl) in des_ede_ofb_cipher() argument
85 DES_ede3_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, in des_ede_ofb_cipher()
92 in += EVP_MAXCHUNK; in des_ede_ofb_cipher()
97 DES_ede3_ofb64_encrypt(in, out, (long)inl, in des_ede_ofb_cipher()
108 const unsigned char *in, size_t inl) in des_ede_cbc_cipher() argument
113 (*dat->stream.cbc) (in, out, inl, dat->ks.ks, in des_ede_cbc_cipher()
119 DES_ede3_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, in des_ede_cbc_cipher()
124 in += EVP_MAXCHUNK; in des_ede_cbc_cipher()
128 DES_ede3_cbc_encrypt(in, out, (long)inl, in des_ede_cbc_cipher()
136 const unsigned char *in, size_t inl) in des_ede_cfb64_cipher() argument
140 DES_ede3_cfb64_encrypt(in, out, (long)EVP_MAXCHUNK, in des_ede_cfb64_cipher()
146 in += EVP_MAXCHUNK; in des_ede_cfb64_cipher()
151 DES_ede3_cfb64_encrypt(in, out, (long)inl, in des_ede_cfb64_cipher()
165 const unsigned char *in, size_t inl) in des_ede3_cfb1_cipher() argument
174 c[0] = (in[n / 8] & (1 << (7 - n % 8))) ? 0x80 : 0; in des_ede3_cfb1_cipher()
187 const unsigned char *in, size_t inl) in des_ede3_cfb8_cipher() argument
190 DES_ede3_cfb_encrypt(in, out, 8, (long)EVP_MAXCHUNK, in des_ede3_cfb8_cipher()
195 in += EVP_MAXCHUNK; in des_ede3_cfb8_cipher()
199 DES_ede3_cfb_encrypt(in, out, 8, (long)inl, in des_ede3_cfb8_cipher()
320 const unsigned char *in, size_t inl) in des_ede3_unwrap() argument
330 des_ede_cbc_cipher(ctx, icv, in, 8); in des_ede3_unwrap()
336 if (out == in) { in des_ede3_unwrap()
338 in -= 8; in des_ede3_unwrap()
340 des_ede_cbc_cipher(ctx, out, in + 8, inl - 16); in des_ede3_unwrap()
342 des_ede_cbc_cipher(ctx, iv, in + inl - 8, 8); in des_ede3_unwrap()
364 const unsigned char *in, size_t inl) in des_ede3_wrap() argument
370 memmove(out + 8, in, inl); in des_ede3_wrap()
372 if (!ossl_sha1(in, inl, sha1tmp)) in des_ede3_wrap()
389 const unsigned char *in, size_t inl) in des_ede3_wrap_cipher() argument
399 if (ossl_is_partially_overlapping(out, in, inl)) { in des_ede3_wrap_cipher()
405 return des_ede3_wrap(ctx, out, in, inl); in des_ede3_wrap_cipher()
407 return des_ede3_unwrap(ctx, out, in, inl); in des_ede3_wrap_cipher()