Lines Matching refs:ciphertext
1701 heim_octet_string *ciphertext)
1711 ciphertext->data = NULL;
1712 ciphertext->length = 0;
1746 ciphertext->length = ret;
1747 ciphertext->data = to;
1751 der_free_octet_string(ciphertext);
1761 const heim_octet_string *ciphertext,
1783 ret = RSA_private_decrypt(ciphertext->length, ciphertext->data,
2591 heim_octet_string **ciphertext)
2597 *ciphertext = NULL;
2616 *ciphertext = calloc(1, sizeof(**ciphertext));
2617 if (*ciphertext == NULL) {
2635 (*ciphertext)->length = length + padsize;
2636 (*ciphertext)->data = malloc(length + padsize);
2637 if ((*ciphertext)->data == NULL) {
2642 memcpy((*ciphertext)->data, data, length);
2645 unsigned char *p = (*ciphertext)->data;
2651 ret = EVP_Cipher(evp, (*ciphertext)->data,
2652 (*ciphertext)->data,
2662 if (*ciphertext) {
2663 if ((*ciphertext)->data) {
2664 free((*ciphertext)->data);
2666 free(*ciphertext);
2667 *ciphertext = NULL;