Home | History | Annotate | Download | only in racoon

Lines Matching refs:ctx

561 cb_check_cert_local(ok, ctx)
563 X509_STORE_CTX *ctx;
570 X509_get_subject_name(ctx->current_cert),
578 switch (ctx->error) {
593 X509_verify_cert_error_string(ctx->error),
594 ctx->error,
595 ctx->error_depth,
608 cb_check_cert_remote(ok, ctx)
610 X509_STORE_CTX *ctx;
617 X509_get_subject_name(ctx->current_cert),
620 switch (ctx->error) {
630 X509_verify_cert_error_string(ctx->error),
631 ctx->error,
632 ctx->error_depth,
1223 EVP_CIPHER_CTX ctx;
1234 EVP_CIPHER_CTX_init(&ctx);
1249 if (!EVP_CipherInit(&ctx, e, NULL, NULL, enc))
1258 if (!EVP_CIPHER_CTX_set_key_length(&ctx, key->l))
1267 if (!EVP_CipherInit(&ctx, NULL, (u_char *) key->v,
1276 if (!EVP_CipherInit(&ctx, e, (u_char *) key->v,
1285 EVP_CIPHER_CTX_set_padding(&ctx, 0);
1287 if (!EVP_Cipher(&ctx, (u_char *) res->v, (u_char *) data->v, data->l)) {
1293 EVP_CIPHER_CTX_cleanup(&ctx);
1819 caddr_t ctx;
1821 ctx = eay_hmacsha2_512_init(key);
1822 eay_hmacsha2_512_update(ctx, data);
1823 res = eay_hmacsha2_512_final(ctx);
1876 caddr_t ctx;
1878 ctx = eay_hmacsha2_384_init(key);
1879 eay_hmacsha2_384_update(ctx, data);
1880 res = eay_hmacsha2_384_final(ctx);
1933 caddr_t ctx;
1935 ctx = eay_hmacsha2_256_init(key);
1936 eay_hmacsha2_256_update(ctx, data);
1937 res = eay_hmacsha2_256_final(ctx);
1991 caddr_t ctx;
1993 ctx = eay_hmacsha1_init(key);
1994 eay_hmacsha1_update(ctx, data);
1995 res = eay_hmacsha1_final(ctx);
2048 caddr_t ctx;
2050 ctx = eay_hmacmd5_init(key);
2051 eay_hmacmd5_update(ctx, data);
2052 res = eay_hmacmd5_final(ctx);
2140 caddr_t ctx;
2143 ctx = eay_sha2_512_init();
2144 eay_sha2_512_update(ctx, data);
2145 res = eay_sha2_512_final(ctx);
2200 caddr_t ctx;
2203 ctx = eay_sha2_384_init();
2204 eay_sha2_384_update(ctx, data);
2205 res = eay_sha2_384_final(ctx);
2260 caddr_t ctx;
2263 ctx = eay_sha2_256_init();
2264 eay_sha2_256_update(ctx, data);
2265 res = eay_sha2_256_final(ctx);
2319 caddr_t ctx;
2322 ctx = eay_sha1_init();
2323 eay_sha1_update(ctx, data);
2324 res = eay_sha1_final(ctx);
2377 caddr_t ctx;
2380 ctx = eay_md5_init();
2381 eay_md5_update(ctx, data);
2382 res = eay_md5_final(ctx);