Searched refs:fromkey (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | evp_extra_test2.c | 296 EVP_PKEY *fromkey = NULL, *fromkeypair = NULL; in do_pkey_tofrom_data_select() local 322 || !TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkey, EVP_PKEY_PUBLIC_KEY, in do_pkey_tofrom_data_select() 324 || !TEST_false(pkey_has_private(fromkey, privtag, use_octstring))) in do_pkey_tofrom_data_select() 337 EVP_PKEY_free(fromkey); in do_pkey_tofrom_data_select()
|
H A D | tls-provider.c | 757 const XORKEY *fromkey = vfromkey; in xor_dup() local 760 if (tokey != NULL && fromkey != NULL) { in xor_dup() 764 if (fromkey->haspubkey) { in xor_dup() 765 memcpy(tokey->pubkey, fromkey->pubkey, XOR_KEY_SIZE); in xor_dup() 772 if (fromkey->hasprivkey) { in xor_dup() 773 memcpy(tokey->privkey, fromkey->privkey, XOR_KEY_SIZE); in xor_dup() 779 if (fromkey->tls_name != NULL) in xor_dup() 780 tokey->tls_name = OPENSSL_strdup(fromkey->tls_name); in xor_dup()
|
Completed in 53 milliseconds