Searched refs:algos (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pkcs11slot.c | 17 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 D | arcfour_provider.c | 23 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 D | aes_provider.c | 276 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 D | d3_cbc.c | 40 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 D | f_cbc.c | 43 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 D | k5-int.h | 1685 extern CK_RV get_algo(krb5_enctype etype, KRB5_MECH_TO_PKCS * algos);
|