Lines Matching refs:algor
16 * Encrypt/Decrypt a buffer based on password and algor, result in a
19 unsigned char *PKCS12_pbe_crypt_ex(const X509_ALGOR *algor,
36 if (!EVP_PBE_CipherInit_ex(algor->algorithm, pass, passlen,
37 algor->parameter, ctx, en_de, libctx, propq))
115 unsigned char *PKCS12_pbe_crypt(const X509_ALGOR *algor,
120 return PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, data, datalen,
129 void *PKCS12_item_decrypt_d2i_ex(const X509_ALGOR *algor, const ASN1_ITEM *it,
140 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, oct->data, oct->length,
158 void *PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
162 return PKCS12_item_decrypt_d2i_ex(algor, it, pass, passlen, oct, zbuf,
171 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt_ex(X509_ALGOR *algor,
191 if (!PKCS12_pbe_crypt_ex(algor, pass, passlen, in, inlen, &oct->data,
206 ASN1_OCTET_STRING *PKCS12_item_i2d_encrypt(X509_ALGOR *algor,
211 return PKCS12_item_i2d_encrypt_ex(algor, it, pass, passlen, obj, zbuf, NULL, NULL);