Lines Matching defs:ciphertext
1673 heim_octet_string *ciphertext)
1683 ciphertext->data = NULL;
1684 ciphertext->length = 0;
1718 ciphertext->length = ret;
1719 ciphertext->data = to;
1723 der_free_octet_string(ciphertext);
1733 const heim_octet_string *ciphertext,
1755 ret = RSA_private_decrypt(ciphertext->length, ciphertext->data,
2563 heim_octet_string **ciphertext)
2569 *ciphertext = NULL;
2587 *ciphertext = calloc(1, sizeof(**ciphertext));
2588 if (*ciphertext == NULL) {
2606 (*ciphertext)->length = length + padsize;
2607 (*ciphertext)->data = malloc(length + padsize);
2608 if ((*ciphertext)->data == NULL) {
2613 memcpy((*ciphertext)->data, data, length);
2616 unsigned char *p = (*ciphertext)->data;
2622 ret = EVP_Cipher(&evp, (*ciphertext)->data,
2623 (*ciphertext)->data,
2633 if (*ciphertext) {
2634 if ((*ciphertext)->data) {
2635 free((*ciphertext)->data);
2637 free(*ciphertext);
2638 *ciphertext = NULL;