Lines Matching refs:tmpl
60 CK_ATTRIBUTE tmpl[3]; in krb5int_pbkdf2_hmac_sha1() local
70 tmpl[attrs].type = CKA_CLASS; in krb5int_pbkdf2_hmac_sha1()
71 tmpl[attrs].pValue = &class; in krb5int_pbkdf2_hmac_sha1()
72 tmpl[attrs].ulValueLen = sizeof (class); in krb5int_pbkdf2_hmac_sha1()
79 tmpl[attrs].type = CKA_KEY_TYPE; in krb5int_pbkdf2_hmac_sha1()
80 tmpl[attrs].pValue = &keytype; in krb5int_pbkdf2_hmac_sha1()
81 tmpl[attrs].ulValueLen = sizeof (keytype); in krb5int_pbkdf2_hmac_sha1()
94 tmpl[attrs].type = CKA_VALUE_LEN; in krb5int_pbkdf2_hmac_sha1()
97 tmpl[attrs].pValue = &outlen; in krb5int_pbkdf2_hmac_sha1()
98 tmpl[attrs].ulValueLen = sizeof (outlen); in krb5int_pbkdf2_hmac_sha1()
114 rv = C_GenerateKey(krb_ctx_hSession(context), &mechanism, tmpl, in krb5int_pbkdf2_hmac_sha1()
121 tmpl[0].type = CKA_VALUE; in krb5int_pbkdf2_hmac_sha1()
122 tmpl[0].pValue = out->data; in krb5int_pbkdf2_hmac_sha1()
123 tmpl[0].ulValueLen = out->length; in krb5int_pbkdf2_hmac_sha1()
125 tmpl, 1); in krb5int_pbkdf2_hmac_sha1()