HomeSort by: relevance | last modified time | path
    Searched refs:privkey (Results 1 - 25 of 139) sorted by relevancy

1 2 3 4 5 6

  /src/crypto/external/apache2/openssl/dist/crypto/ec/
ecx_backend.c 32 ossl_x25519_public_from_private(key->pubkey, key->privkey);
36 key->privkey, key->propq)) {
42 ossl_x448_public_from_private(key->pubkey, key->privkey);
46 key->privkey, key->propq)) {
74 (void **)&ecx->privkey, ecx->keylen,
83 OPENSSL_secure_clear_free(ecx->privkey, privkeylen);
84 ecx->privkey = NULL;
135 && key->privkey != NULL) {
140 memcpy(ret->privkey, key->privkey, ret->keylen)
158 unsigned char *privkey, *pubkey; local
    [all...]
ecx_key.c 81 OPENSSL_secure_clear_free(key->privkey, key->keylen);
105 key->privkey = OPENSSL_secure_zalloc(key->keylen);
107 return key->privkey;
114 || priv->privkey == NULL
139 if (s390x_x25519_mul(secret, peer->pubkey, priv->privkey) == 0) {
145 if (ossl_x25519(secret, priv->privkey, peer->pubkey) == 0) {
153 if (s390x_x448_mul(secret, peer->pubkey, priv->privkey) == 0) {
159 if (ossl_x448(secret, priv->privkey, peer->pubkey) == 0) {
ecx_meth.c 105 if (ecxkey == NULL || ecxkey->privkey == NULL) {
110 oct.data = ecxkey->privkey;
173 if (ecxkey == NULL || ecxkey->privkey == NULL) {
182 if (ASN1_buf_print(bp, ecxkey->privkey, KEYLEN(pkey),
307 || key->privkey == NULL
312 memcpy(priv, key->privkey, *len);
365 if (key->privkey != NULL) {
368 key->privkey, key->keylen))
725 const unsigned char **privkey,
736 if (ecxkey == NULL || ecxkey->privkey == NULL)
753 const unsigned char *privkey, *pubkey; local
766 const unsigned char *privkey, *pubkey; local
950 unsigned char *privkey = NULL, *pubkey; local
993 unsigned char *privkey = NULL, *pubkey; local
1068 unsigned char *privkey = NULL, *pubkey; local
1135 unsigned char *privkey = NULL, *pubkey; local
1197 const unsigned char *privkey, *pubkey; local
1210 const unsigned char *privkey, *pubkey; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/ec/
ecx_backend.c 32 ossl_x25519_public_from_private(key->pubkey, key->privkey);
36 key->privkey, key->propq)) {
42 ossl_x448_public_from_private(key->pubkey, key->privkey);
46 key->privkey, key->propq)) {
75 (void **)&ecx->privkey, ecx->keylen,
84 OPENSSL_secure_clear_free(ecx->privkey, privkeylen);
85 ecx->privkey = NULL;
143 && key->privkey != NULL) {
146 memcpy(ret->privkey, key->privkey, ret->keylen)
164 unsigned char *privkey, *pubkey; local
    [all...]
ecx_meth.c 107 if (ecxkey == NULL || ecxkey->privkey == NULL) {
112 oct.data = ecxkey->privkey;
175 if (ecxkey == NULL || ecxkey->privkey == NULL) {
184 if (ASN1_buf_print(bp, ecxkey->privkey, KEYLEN(pkey),
309 || key->privkey == NULL
314 memcpy(priv, key->privkey, *len);
367 if (key->privkey != NULL) {
370 key->privkey, key->keylen))
726 const unsigned char **privkey,
737 if (ecxkey == NULL || ecxkey->privkey == NULL)
754 const unsigned char *privkey, *pubkey; local
767 const unsigned char *privkey, *pubkey; local
945 unsigned char *privkey = NULL, *pubkey; local
988 unsigned char *privkey = NULL, *pubkey; local
1034 unsigned char *privkey = NULL, *pubkey; local
1100 unsigned char *privkey = NULL, *pubkey; local
1161 const unsigned char *privkey, *pubkey; local
1174 const unsigned char *privkey, *pubkey; local
    [all...]
ecx_key.c 71 OPENSSL_secure_clear_free(key->privkey, key->keylen);
95 key->privkey = OPENSSL_secure_zalloc(key->keylen);
97 return key->privkey;
  /src/crypto/external/apache2/openssl/dist/test/
decoder_propq_test.c 51 EVP_PKEY *privkey = NULL; local
67 if (!TEST_ptr_null(PEM_read_bio_PrivateKey_ex(bio, &privkey, &passcb, NULL, libctx, NULL)))
74 if (!TEST_ptr_null(PEM_read_bio_PrivateKey_ex(bio, &privkey, &passcb, NULL, libctx, "?fips=true")))
80 EVP_PKEY_free(privkey);
quic_newcid_test.c 17 static char *privkey = NULL; variable
70 if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
167 privkey = test_mk_file_path(certsdir, "serverkey.pem");
168 if (privkey == NULL)
177 OPENSSL_free(privkey);
184 OPENSSL_free(privkey);
fatalerrtest.c 17 static char *privkey = NULL; variable
33 &sctx, &cctx, cert, privkey)))
95 || !TEST_ptr(privkey = test_get_argument(1)))
quicfaultstest.c 17 static char *privkey = NULL; variable
37 if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
107 if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
189 if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
276 if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey,
390 privkey = test_mk_file_path(certsdir, "serverkey.pem");
391 if (privkey == NULL)
403 OPENSSL_free(privkey);
410 OPENSSL_free(privkey);
  /src/external/bsd/wpa/dist/src/crypto/
crypto_internal-modexp.c 16 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey,
21 if (os_get_random(privkey, prime_len) < 0)
23 if (os_memcmp(privkey, prime, prime_len) > 0) {
25 privkey[0] = 0;
29 if (crypto_mod_exp(&generator, 1, privkey, prime_len, prime, prime_len,
44 const u8 *privkey, size_t privkey_len,
81 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len,
  /src/crypto/external/bsd/openssl.old/dist/crypto/ec/
ecx_meth.c 50 unsigned char *privkey, *pubkey; local
80 privkey = key->privkey = OPENSSL_secure_malloc(KEYLENID(id));
81 if (privkey == NULL) {
86 if (RAND_priv_bytes(privkey, KEYLENID(id)) <= 0) {
87 OPENSSL_secure_free(privkey);
88 key->privkey = NULL;
92 privkey[0] &= 248;
93 privkey[X25519_KEYLEN - 1] &= 127;
94 privkey[X25519_KEYLEN - 1] |= 64
687 const unsigned char *privkey, *pubkey; local
700 const unsigned char *privkey, *pubkey; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/recipes/
20-test_dgst.t 23 my $privkey = shift;
31 ok(run(app(['openssl', 'dgst', '-sign', $privkey,
36 ok(run(app(['openssl', 'dgst', '-prverify', $privkey,
  /src/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/
ecx_kmgmt.c 138 ok = ok && key->privkey != NULL;
173 const unsigned char *pa = key1->privkey;
174 const unsigned char *pb = key2->privkey;
221 && key->privkey != NULL
224 key->privkey, key->keylen))
411 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen);
412 ecxkey->privkey = NULL;
582 unsigned char *privkey; local
596 if ((privkey = ossl_ecx_key_allocate_privkey(key)) == NULL) {
600 if (RAND_priv_bytes_ex(gctx->libctx, privkey, key->keylen, 0) <= 0
840 unsigned char *privkey = NULL, *pubkey; local
886 unsigned char *privkey = NULL, *pubkey; local
935 unsigned char *privkey = NULL, *pubkey; local
1003 unsigned char *privkey = NULL, *pubkey; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/recipes/
20-test_dgst.t 24 my $privkey = shift;
30 my $sigfile = basename($privkey, '.pem') . '.sig';
33 ok(run(app(['openssl', 'dgst', '-sign', $privkey,
38 ok(run(app(['openssl', 'dgst', '-prverify', $privkey,
56 my $privkey = shift;
62 my $sigfile = basename($privkey, '.pem') . '.sig';
65 ok(run(app(['openssl', 'sha512', '-sign', $privkey,
75 ok(run(app(['openssl', 'dgst', '-sha512', '-prverify', $privkey,
20-test_pkeyutl.t 87 my $privkey = shift;
93 my $sigfile = basename($privkey, '.pem') . '.sig';
99 '-inkey', $privkey,
107 '-inkey', $privkey,
116 '-inkey', $privkey,
  /src/crypto/external/bsd/openssl.old/dist/test/
cmsapitest.c 11 static EVP_PKEY *privkey = NULL; variable
33 if (!TEST_true(CMS_decrypt(content, privkey, cert, NULL, outmsgbio,
76 if (!TEST_true(PEM_read_bio_PrivateKey(privkeybio, &privkey, NULL, NULL))) {
92 EVP_PKEY_free(privkey);
fatalerrtest.c 17 static char *privkey = NULL; variable
33 &sctx, &cctx, cert, privkey)))
88 || !TEST_ptr(privkey = test_get_argument(1)))
  /src/crypto/external/apache2/openssl/dist/crypto/ec/curve448/
ed448.h 37 * privkey (in): The private key.
43 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
50 * privkey (in): The private key.
66 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
77 * privkey (in): The private key.
92 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
  /src/crypto/external/bsd/openssl/dist/crypto/ec/curve448/
ed448.h 38 * privkey (in): The private key.
44 const uint8_t privkey [EDDSA_448_PRIVATE_BYTES],
51 * privkey (in): The private key.
67 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
78 * privkey (in): The private key.
93 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
  /src/crypto/external/bsd/openssl.old/dist/crypto/ec/curve448/
ed448.h 38 * privkey (in): The private key.
42 const uint8_t privkey [EDDSA_448_PRIVATE_BYTES]);
48 * privkey (in): The private key.
63 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
73 * privkey (in): The private key.
87 const uint8_t privkey[EDDSA_448_PRIVATE_BYTES],
  /src/crypto/external/apache2/openssl/dist/providers/implementations/keymgmt/
ecx_kmgmt.c 153 ok = ok && key->privkey != NULL;
188 const unsigned char *pa = key1->privkey;
189 const unsigned char *pb = key2->privkey;
236 && key->privkey != NULL
239 key->privkey, key->keylen))
436 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen);
437 ecxkey->privkey = NULL;
665 ecx->privkey, 0, 0, 0, NULL, 0,
669 ecx->pubkey, ecx->privkey, NULL, 0,
697 unsigned char *privkey; local
1053 unsigned char *privkey = NULL, *pubkey; local
1110 unsigned char *privkey = NULL, *pubkey; local
1199 unsigned char *privkey = NULL, *pubkey; local
1268 unsigned char *privkey = NULL, *pubkey; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/recipes/
20-test_pkeyutl.t 105 my $privkey = shift;
111 $sigfile = basename($privkey, '.pem') . '.sig';
117 '-inkey', $privkey,
125 '-inkey', $privkey,
138 '-inkey', $privkey,
20-test_dgst.t 24 my $privkey = shift;
30 my $sigfile = basename($privkey, '.pem') . '.sig';
33 ok(run(app(['openssl', 'dgst', '-sign', $privkey,
38 ok(run(app(['openssl', 'dgst', '-prverify', $privkey,
56 my $privkey = shift;
62 my $sigfile = basename($privkey, '.pem') . '.sig';
65 ok(run(app(['openssl', 'sha512', '-sign', $privkey,
75 ok(run(app(['openssl', 'dgst', '-sha512', '-prverify', $privkey,
  /src/crypto/external/bsd/openssl/dist/test/
fatalerrtest.c 17 static char *privkey = NULL; variable
33 &sctx, &cctx, cert, privkey)))
95 || !TEST_ptr(privkey = test_get_argument(1)))

Completed in 39 milliseconds

1 2 3 4 5 6