Lines Matching refs:inlen
21 const unsigned char *in, int inlen, in PKCS12_pbe_crypt_ex() argument
54 max_out_len = inlen + block_size; in PKCS12_pbe_crypt_ex()
65 if (inlen < mac_len) { in PKCS12_pbe_crypt_ex()
69 inlen -= mac_len; in PKCS12_pbe_crypt_ex()
71 (int)mac_len, (unsigned char *)in+inlen) < 0) { in PKCS12_pbe_crypt_ex()
81 if (!EVP_CipherUpdate(ctx, out, &i, in, inlen)) { in PKCS12_pbe_crypt_ex()
123 const unsigned char *in, int inlen, in PKCS12_pbe_crypt() argument
126 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen, in PKCS12_pbe_crypt()
186 int inlen; in PKCS12_item_i2d_encrypt_ex() local
192 inlen = ASN1_item_i2d(obj, &in, it); in PKCS12_item_i2d_encrypt_ex()
197 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt_ex()
204 OPENSSL_cleanse(in, inlen); in PKCS12_item_i2d_encrypt_ex()