Home
last modified time | relevance | path

Searched refs:algos (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpkcs11slot.c17 get_algo(krb5_enctype etype, KRB5_MECH_TO_PKCS *algos) in get_algo() argument
21 algos->enc_algo = CKM_DES_CBC; in get_algo()
22 algos->hash_algo = 0; in get_algo()
23 algos->str2key_algo = 0; in get_algo()
24 algos->flags = USE_ENCR; in get_algo()
27 algos->enc_algo = CKM_DES_CBC; in get_algo()
28 algos->hash_algo = CKM_MD5; in get_algo()
29 algos->str2key_algo = 0; in get_algo()
30 algos->flags = USE_ENCR | USE_HASH; in get_algo()
33 algos->enc_algo = CKM_DES_CBC; in get_algo()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c23 KRB5_MECH_TO_PKCS *algos, in setup_arcfour_crypto() argument
33 if ((rv = get_algo(key->enctype, algos)) != CKR_OK) { in setup_arcfour_crypto()
80 KRB5_MECH_TO_PKCS algos; in k5_arcfour_decrypt() local
129 ret = setup_arcfour_crypto(session, key, &algos, kptr); in k5_arcfour_decrypt()
133 mechanism.mechanism = algos.enc_algo; in k5_arcfour_decrypt()
197 KRB5_MECH_TO_PKCS algos; in k5_arcfour_encrypt() local
231 ret = setup_arcfour_crypto(session, key, &algos, kptr); in k5_arcfour_encrypt()
235 mechanism.mechanism = algos.enc_algo; in k5_arcfour_encrypt()
H A Daes_provider.c276 KRB5_MECH_TO_PKCS algos; in krb5int_aes_encrypt() local
316 rv = get_algo(key->enctype, &algos); in krb5int_aes_encrypt()
319 assert(algos.enc_algo == CKM_AES_CBC); in krb5int_aes_encrypt()
325 mechanism.mechanism = algos.enc_algo; in krb5int_aes_encrypt()
728 KRB5_MECH_TO_PKCS algos; in krb5int_aes_decrypt() local
763 rv = get_algo(key->enctype, &algos); in krb5int_aes_decrypt()
766 assert(algos.enc_algo == CKM_AES_CBC); in krb5int_aes_decrypt()
773 mechanism.mechanism = algos.enc_algo; in krb5int_aes_decrypt()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Dd3_cbc.c40 KRB5_MECH_TO_PKCS algos; in mit_des3_cbc_encrypt() local
46 if ((rv = get_algo(key->enctype, &algos)) != CKR_OK) { in mit_des3_cbc_encrypt()
61 mechanism.mechanism = algos.enc_algo; in mit_des3_cbc_encrypt()
H A Df_cbc.c43 KRB5_MECH_TO_PKCS algos; local
49 if ((rv = get_algo(key->enctype, &algos)) != CKR_OK) {
64 mechanism.mechanism = algos.enc_algo;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h1685 extern CK_RV get_algo(krb5_enctype etype, KRB5_MECH_TO_PKCS * algos);