/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <des_int.h>
int
{
"k5_ef_crypto - invalid crypto mech type: 0x%llx",
return (CRYPTO_FAILED);
}
} else {
mech.cm_param_len = 0;
}
if (encrypt_flag)
NULL);
else
NULL);
if (rv != CRYPTO_SUCCESS) {
"k5_ef_crypto: %s error: rv = 0x%08x",
rv);
return (CRYPTO_FAILED);
}
return (0);
}