Home
last modified time | relevance | path

Searched refs:PrivateKey (Results 1 – 25 of 74) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/fl/armour/secure_protocol/
Dkey_agreement.cc22 PrivateKey *KeyAgreement::GeneratePrivKey() { in GeneratePrivKey()
27 PublicKey *KeyAgreement::GeneratePubKey(PrivateKey *privKey) { in GeneratePubKey()
32 PrivateKey *KeyAgreement::FromPrivateBytes(uint8_t *data, int len) { in FromPrivateBytes()
42 int KeyAgreement::ComputeSharedKey(PrivateKey *privKey, PublicKey *peerPublicKey, int key_len, cons… in ComputeSharedKey()
53 PrivateKey::PrivateKey(EVP_PKEY *evpKey) { evpPrivKey = evpKey; }
55 PrivateKey::~PrivateKey() { EVP_PKEY_free(evpPrivKey); }
57 int PrivateKey::GetPrivateBytes(size_t *len, uint8_t *privKeyBytes) const {
68 int PrivateKey::GetPublicBytes(size_t *len, uint8_t *pubKeyBytes) const {
79 int PrivateKey::Exchange(PublicKey *peerPublicKey, int key_len, const unsigned char *salt, int salt…
143 PrivateKey *KeyAgreement::GeneratePrivKey() {
[all …]
Dkey_agreement.h36 class PrivateKey {};
45 class PrivateKey {
47 explicit PrivateKey(EVP_PKEY *evpKey);
48 ~PrivateKey();
59 static PrivateKey *GeneratePrivKey();
60 static PublicKey *GeneratePubKey(PrivateKey *privKey);
61 static PrivateKey *FromPrivateBytes(const unsigned char *data, size_t len);
63 …static int ComputeSharedKey(PrivateKey *privKey, PublicKey *peerPublicKey, int key_len, const unsi…
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dprivate-key.js3 module.exports = PrivateKey;
43 function PrivateKey(opts) { class
49 util.inherits(PrivateKey, Key);
51 PrivateKey.formats = formats;
53 PrivateKey.prototype.toBuffer = function (format, options) {
63 PrivateKey.prototype.hash = function (algo) {
67 PrivateKey.prototype.toPublic = function () {
88 PrivateKey.prototype.derive = function (newType) {
103 return (new PrivateKey({
121 return (new PrivateKey({
[all …]
Dindex.js6 var PrivateKey = require('./private-key'); variable
19 PrivateKey: PrivateKey, property
20 parsePrivateKey: PrivateKey.parse,
21 generatePrivateKey: PrivateKey.generate,
Ddhe.js17 var PrivateKey = require('./private-key'); variable
25 this._isPriv = PrivateKey.isPrivateKey(key, [1, 3]);
83 utils.assertCompatible(key, PrivateKey, [1, 5], 'key');
109 utils.assertCompatible(pk, PrivateKey, [1, 3], 'key');
210 this._key = new PrivateKey({
225 this._key = new PrivateKey({
251 this._key = new PrivateKey({
270 this._key = new PrivateKey({
336 var key = new PrivateKey({
370 key = new PrivateKey({
[all …]
/third_party/openssl/test/ssl-tests/
D20-cert-select.conf74 ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
76 Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
78 Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
80 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
109 ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
112 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
142 ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
145 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
172 ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
174 Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
[all …]
D10-resumption.conf87 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
94 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
124 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
131 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
161 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
168 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
198 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
205 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
235 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
242 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D02-protocol-version.conf696 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
721 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
746 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
771 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
796 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
820 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
846 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
872 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
898 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
924 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D11-dtls_resumption.conf38 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
45 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
83 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
114 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
121 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
152 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
159 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
190 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
197 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D07-dtls-protocol-version.conf82 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
109 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
135 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
163 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
191 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
218 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
246 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
272 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
298 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
325 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D04-client_auth.conf53 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
76 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
100 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
126 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
133 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
156 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
163 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
185 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
191 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
214 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D06-sni-ticket.conf36 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
42 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
78 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
84 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
122 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
128 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
166 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
172 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
210 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
216 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D14-curves.conf49 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
77 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
105 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
133 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
161 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
189 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
217 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
245 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
273 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
301 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D20-cert-select.conf.in14 "ECDSA.PrivateKey" => test_pem("server-ecdsa-key.pem"),
16 "Ed25519.PrivateKey" => test_pem("server-ed25519-key.pem"),
18 "Ed448.PrivateKey" => test_pem("server-ed448-key.pem"),
24 "PSS.PrivateKey" => test_pem("server-pss-key.pem"),
26 "ECDSA.PrivateKey" => test_pem("server-ecdsa-key.pem"),
28 "Ed25519.PrivateKey" => test_pem("server-ed25519-key.pem"),
30 "Ed448.PrivateKey" => test_pem("server-ed448-key.pem"),
36 "PrivateKey" => test_pem("server-pss-key.pem"),
41 "PrivateKey" => test_pem("server-pss-restrict-key.pem"),
47 "PSS.PrivateKey" => test_pem("server-pss-key.pem"),
[all …]
D18-dtls-renegotiate.conf27 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
54 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
81 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
108 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
115 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
139 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
146 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
171 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
203 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
235 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D17-renegotiate.conf33 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
60 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
88 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
115 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
143 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
150 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
175 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
182 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
206 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
238 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D22-compression.conf26 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
51 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
77 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
101 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
126 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
152 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
179 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
204 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
D26-tls13_client_auth.conf33 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
60 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
88 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
119 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
128 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
156 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
165 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
191 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
199 PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
222 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D03-custom_verify.conf26 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
49 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
77 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
104 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
125 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
150 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
175 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
198 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
224 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
D13-fragmentation.conf39 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
62 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
85 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
108 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
131 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
155 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
178 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
201 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
224 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
248 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D08-npn.conf37 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
69 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
101 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
133 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
165 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
192 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
220 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
225 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
265 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
270 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D09-alpn.conf33 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
64 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
95 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
126 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
158 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
184 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
211 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
216 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
255 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
260 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[all …]
D25-cipher.conf27 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
52 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
77 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
103 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
129 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
155 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
181 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
207 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
233 PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
/third_party/openssl/test/recipes/30-test_evp_data/
Devppkey_ecc.txt3 PrivateKey=ALICE_cf_brainpoolP160r1
16 PrivateKey=BOB_cf_brainpoolP160r1
41 PrivateKey=ALICE_cf_brainpoolP160t1
54 PrivateKey=BOB_cf_brainpoolP160t1
79 PrivateKey=ALICE_cf_brainpoolP192r1
93 PrivateKey=BOB_cf_brainpoolP192r1
119 PrivateKey=ALICE_cf_brainpoolP192t1
133 PrivateKey=BOB_cf_brainpoolP192t1
159 PrivateKey=ALICE_cf_brainpoolP224r1
173 PrivateKey=BOB_cf_brainpoolP224r1
[all …]
Devppkey.txt21 PrivateKey = RSA-2048
69 PrivateKey=P-256
87 PrivateKey=P-256-Peer
103 PrivateKey=DSA-1024
389 PrivateKey = RSA-PSS
707 PrivateKey=Alice-25519
719 PrivateKey=Bob-25519
775 PrivateKey=Alice-448
789 PrivateKey=Bob-448
1294 PrivateKey=RSA-OAEP-1
[all …]

123