Symbol: key_ctx
crypto/openssl/providers/fips/self_test_kats.c
614
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/providers/fips/self_test_kats.c
621
key_ctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL);
crypto/openssl/providers/fips/self_test_kats.c
622
if (key_ctx == NULL)
crypto/openssl/providers/fips/self_test_kats.c
629
if (EVP_PKEY_keygen_init(key_ctx) != 1
crypto/openssl/providers/fips/self_test_kats.c
630
|| EVP_PKEY_CTX_set_params(key_ctx, key_params) != 1
crypto/openssl/providers/fips/self_test_kats.c
631
|| EVP_PKEY_generate(key_ctx, &key) != 1)
crypto/openssl/providers/fips/self_test_kats.c
648
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/acvp_test.c
1240
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/test/acvp_test.c
1248
|| !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, ""))
crypto/openssl/test/acvp_test.c
1249
|| !TEST_int_eq(EVP_PKEY_check(key_ctx), tst->pass))
crypto/openssl/test/acvp_test.c
1255
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/acvp_test.c
218
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/test/acvp_test.c
226
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, ""))
crypto/openssl/test/acvp_test.c
227
|| !TEST_int_eq(EVP_PKEY_public_check(key_ctx), tst->pass))
crypto/openssl/test/acvp_test.c
233
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/acvp_test.c
477
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/test/acvp_test.c
484
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, ""))
crypto/openssl/test/acvp_test.c
485
|| !TEST_int_eq(EVP_PKEY_public_check(key_ctx), tst->pass))
crypto/openssl/test/acvp_test.c
490
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/acvp_test.c
726
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/test/acvp_test.c
737
|| !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key,
crypto/openssl/test/acvp_test.c
739
|| !TEST_int_eq(EVP_PKEY_param_check(key_ctx), tst->pass))
crypto/openssl/test/acvp_test.c
746
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_extra_test.c
3898
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/test/evp_extra_test.c
3904
|| !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(0, key, 0)))
crypto/openssl/test/evp_extra_test.c
3918
if (!TEST_int_gt(EVP_PKEY_encrypt_init_ex(key_ctx, params), 0))
crypto/openssl/test/evp_extra_test.c
3932
if (!TEST_true(EVP_PKEY_CTX_get_params(key_ctx, params)))
crypto/openssl/test/evp_extra_test.c
3944
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_extra_test.c
3954
EVP_PKEY_CTX *key_ctx = NULL;
crypto/openssl/test/evp_extra_test.c
3957
|| !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(testctx, key, NULL))
crypto/openssl/test/evp_extra_test.c
3958
|| !TEST_true(EVP_PKEY_encrypt_init(key_ctx)))
crypto/openssl/test/evp_extra_test.c
3961
if (!TEST_true(EVP_PKEY_CTX_set_rsa_padding(key_ctx, RSA_PKCS1_OAEP_PADDING)))
crypto/openssl/test/evp_extra_test.c
3964
if (!TEST_true(EVP_PKEY_CTX_set0_rsa_oaep_label(key_ctx, OPENSSL_strdup("foo"), 0)))
crypto/openssl/test/evp_extra_test.c
3967
if (!TEST_true(EVP_PKEY_CTX_set0_rsa_oaep_label(key_ctx, NULL, 0)))
crypto/openssl/test/evp_extra_test.c
3974
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
1074
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")))
crypto/openssl/test/evp_pkey_provided_test.c
1077
if (!TEST_int_gt(EVP_PKEY_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
1078
|| !TEST_int_gt(EVP_PKEY_public_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
1079
|| !TEST_int_gt(EVP_PKEY_private_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
1080
|| !TEST_int_gt(EVP_PKEY_pairwise_check(key_ctx), 0))
crypto/openssl/test/evp_pkey_provided_test.c
1082
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
1083
key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1117
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
1128
EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1283
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")))
crypto/openssl/test/evp_pkey_provided_test.c
1286
if (!TEST_int_gt(EVP_PKEY_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
1287
|| !TEST_int_gt(EVP_PKEY_public_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
1288
|| !TEST_int_gt(EVP_PKEY_private_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
1289
|| !TEST_int_gt(EVP_PKEY_pairwise_check(key_ctx), 0))
crypto/openssl/test/evp_pkey_provided_test.c
1291
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
1292
key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1319
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
1877
EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
2089
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")))
crypto/openssl/test/evp_pkey_provided_test.c
2092
if (!TEST_int_gt(EVP_PKEY_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
2093
|| !TEST_int_gt(EVP_PKEY_public_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
2094
|| !TEST_int_gt(EVP_PKEY_private_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
2095
|| !TEST_int_gt(EVP_PKEY_pairwise_check(key_ctx), 0))
crypto/openssl/test/evp_pkey_provided_test.c
2097
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
2098
key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
2138
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
352
EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
401
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
402
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")))
crypto/openssl/test/evp_pkey_provided_test.c
405
if (!TEST_int_gt(EVP_PKEY_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
406
|| !TEST_int_gt(EVP_PKEY_public_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
407
|| !TEST_int_gt(EVP_PKEY_private_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
408
|| !TEST_int_gt(EVP_PKEY_pairwise_check(key_ctx), 0))
crypto/openssl/test/evp_pkey_provided_test.c
445
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
464
EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
504
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
505
if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")))
crypto/openssl/test/evp_pkey_provided_test.c
508
if (!TEST_int_gt(EVP_PKEY_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
509
|| !TEST_int_gt(EVP_PKEY_public_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
510
|| !TEST_int_gt(EVP_PKEY_private_check(key_ctx), 0)
crypto/openssl/test/evp_pkey_provided_test.c
511
|| !TEST_int_gt(EVP_PKEY_pairwise_check(key_ctx), 0))
crypto/openssl/test/evp_pkey_provided_test.c
538
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
832
EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
865
|| !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))
crypto/openssl/test/evp_pkey_provided_test.c
876
EVP_PKEY_CTX_free(key_ctx);
crypto/openssl/test/evp_pkey_provided_test.c
888
EVP_PKEY_CTX *ctx = NULL, *key_ctx = NULL;
sys/dev/cxgbe/crypto/t4_crypto.c
1046
crwr->key_ctx.ctx_hdr = s->cipher.key_ctx_hdr;
sys/dev/cxgbe/crypto/t4_crypto.c
1050
memcpy(crwr->key_ctx.key, s->cipher.enckey,
sys/dev/cxgbe/crypto/t4_crypto.c
1053
memcpy(crwr->key_ctx.key, s->cipher.deckey,
sys/dev/cxgbe/crypto/t4_crypto.c
1057
memcpy(crwr->key_ctx.key, s->cipher.enckey,
sys/dev/cxgbe/crypto/t4_crypto.c
1062
memcpy(crwr->key_ctx.key, s->cipher.enckey + key_half,
sys/dev/cxgbe/crypto/t4_crypto.c
1065
memcpy(crwr->key_ctx.key + key_half,
sys/dev/cxgbe/crypto/t4_crypto.c
1068
memcpy(crwr->key_ctx.key + key_half,
sys/dev/cxgbe/crypto/t4_crypto.c
1073
dst = crwr->key_ctx.key + roundup2(s->cipher.key_len, 16);
sys/dev/cxgbe/crypto/t4_crypto.c
1342
crwr->key_ctx.ctx_hdr = s->cipher.key_ctx_hdr;
sys/dev/cxgbe/crypto/t4_crypto.c
1343
memcpy(crwr->key_ctx.key, s->cipher.enckey, s->cipher.key_len);
sys/dev/cxgbe/crypto/t4_crypto.c
1344
dst = crwr->key_ctx.key + roundup2(s->cipher.key_len, 16);
sys/dev/cxgbe/crypto/t4_crypto.c
1689
crwr->key_ctx.ctx_hdr = s->cipher.key_ctx_hdr;
sys/dev/cxgbe/crypto/t4_crypto.c
1690
memcpy(crwr->key_ctx.key, s->cipher.enckey, s->cipher.key_len);
sys/dev/cxgbe/crypto/t4_crypto.c
1691
memcpy(crwr->key_ctx.key + roundup(s->cipher.key_len, 16),
sys/dev/cxgbe/crypto/t4_crypto.c
573
memcpy(crwr->key_ctx.key, s->hmac.pads, kctx_len);
sys/dev/cxgbe/crypto/t4_crypto.c
577
crwr->key_ctx.ctx_hdr = htobe32(V_KEY_CONTEXT_CTX_LEN(kctx_flits) |
sys/dev/cxgbe/crypto/t4_crypto.c
738
crwr->key_ctx.ctx_hdr = s->cipher.key_ctx_hdr;
sys/dev/cxgbe/crypto/t4_crypto.c
742
memcpy(crwr->key_ctx.key, s->cipher.enckey,
sys/dev/cxgbe/crypto/t4_crypto.c
745
memcpy(crwr->key_ctx.key, s->cipher.deckey,
sys/dev/cxgbe/crypto/t4_crypto.c
749
memcpy(crwr->key_ctx.key, s->cipher.enckey,
sys/dev/cxgbe/crypto/t4_crypto.c
754
memcpy(crwr->key_ctx.key, s->cipher.enckey + key_half,
sys/dev/cxgbe/crypto/t4_crypto.c
757
memcpy(crwr->key_ctx.key + key_half,
sys/dev/cxgbe/crypto/t4_crypto.c
760
memcpy(crwr->key_ctx.key + key_half,
sys/dev/cxgbe/crypto/t4_crypto.h
51
struct _key_ctx key_ctx;