Lines Matching refs:context
51 krb5_context context, krb5_crypto crypto)
67 context,
73 krb5_errx(context, 1, "_gsskrb5cfx_max_wrap_length_cfx: %d", ret);
77 ret = _gsskrb5cfx_wrap_length_cfx(context,
84 krb5_errx(context, 1, "_gsskrb5cfx_wrap_length_cfx: %d", ret);
87 krb5_errx(context, 1,
94 test_special(krb5_context context, krb5_crypto crypto,
109 context,
115 krb5_errx(context, 1, "_gsskrb5cfx_max_wrap_length_cfx: %d", ret);
117 krb5_errx(context, 1, "_gsskrb5cfx_max_wrap_length_cfx: %d", ret);
119 ret = _gsskrb5cfx_wrap_length_cfx(context,
126 krb5_errx(context, 1, "_gsskrb5cfx_wrap_length_cfx: %d", ret);
129 krb5_errx(context, 1,
142 krb5_context context;
146 ret = krb5_init_context(&context);
150 ret = krb5_generate_random_keyblock(context,
154 krb5_err(context, 1, ret, "krb5_generate_random_keyblock");
156 ret = krb5_crypto_init(context, &keyblock, 0, &crypto);
158 krb5_err(context, 1, ret, "krb5_crypto_init");
160 test_special(context, crypto, 1, 60);
161 test_special(context, crypto, 0, 60);
164 test_range(&tests[i], 1, context, crypto);
165 test_range(&tests[i], 0, context, crypto);
168 krb5_free_keyblock_contents(context, &keyblock);
169 krb5_crypto_destroy(context, crypto);
170 krb5_free_context(context);