74 X509_ALGOR *calg = ec->contentEncryptionAlgorithm;
76 unsigned char *tkey = NULL;
81 int enc, keep_key = 0;
83 enc = ec->cipher ? 1 : 0;
144 if (!enc || !ec->key)
160 ec->keylen = tkeylen;
169 if (ec->keylen != tkeylen)
177 if (enc || ec->debug)
189 ec->keylen = tkeylen;
222 if (ec->key && !keep_key)
241 const unsigned char *
key,
size_t keylen)
249 memcpy(ec->
key, key, keylen);
258 const unsigned char *
key,
size_t keylen)