2N/A/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2N/A * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A/* Solaris Kerberos */ 2N/A/*-------------------- decrypt_credencdata --------------------*/ 2N/A * decrypt the enc_part of a krb5_cred 2N/A /* now decode the decrypted stuff */ 2N/A/*----------------------- krb5_rd_cred_basic -----------------------*/ 2N/A /* decode cred message */ 2N/A /* Solaris Kerberos */ 2N/A /* Solaris Kerberos */ 2N/A * Allocate the list of creds. The memory is allocated so that 2N/A * krb5_free_tgt_creds can be used to free the list. 2N/A * For each credential, create a strcture in the list of 2N/A * credentials and copy the information. 2N/A * NULL terminate the list 2N/A /* Solaris Kerberos */ 2N/A/*----------------------- krb5_rd_cred -----------------------*/ 2N/A * This functions takes as input an KRB_CRED message, validates it, and 2N/A * outputs the nonce and an array of the forwarded credentials. 2N/A /* Need a better error */ 2N/A * If decrypting with the first key we try fails, perhaps the 2N/A * credentials are stored in the session key so try decrypting with