Lines Matching defs:key
43 krb5_keyblock **key)
46 *key = NULL;
51 key);
55 key);
57 if (ret == 0 && *key == NULL)
60 key);
61 if (ret == 0 && *key == NULL) {
71 krb5_keyblock **key)
74 *key = NULL;
79 key);
83 key);
85 if (ret == 0 && *key == NULL) {
95 krb5_keyblock **key)
97 _gsskrb5i_get_acceptor_subkey(ctx, context, key);
98 if(*key == NULL) {
100 * Only use the initiator subkey or ticket session key if an
104 _gsskrb5i_get_initiator_subkey(ctx, context, key);
106 if (*key == NULL) {
107 krb5_set_error_message(context, 0, "No token key available");
148 krb5_keyblock *key;
161 ret = _gsskrb5i_get_token_key(ctx, context, &key);
167 krb5_enctype_to_keytype (context, key->keytype, &keytype);
181 req_output_size, max_input_size, key);
190 krb5_free_keyblock (context, key);
207 krb5_keyblock *key
280 memcpy (&deskey, key->keyvalue.data, sizeof(deskey));
302 EVP_CipherInit_ex(&des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, p + 8, 1);
315 memcpy (&deskey, key->keyvalue.data, sizeof(deskey));
346 krb5_keyblock *key
406 ret = krb5_crypto_init(context, key, 0, &crypto);
452 ret = krb5_crypto_init(context, key, ETYPE_DES3_CBC_NONE,
497 ret = krb5_crypto_init(context, key,
539 krb5_keyblock *key;
555 ret = _gsskrb5i_get_token_key(ctx, context, &key);
561 krb5_enctype_to_keytype (context, key->keytype, &keytype);
568 output_message_buffer, key);
576 output_message_buffer, key);
582 output_message_buffer, key);
588 krb5_free_keyblock (context, key);