Home
last modified time | relevance | path

Searched refs:keyblob (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssh/
H A Dssh-pkcs11-client.c78 struct sshbuf *keyblob = NULL; in helper_by_key() local
81 if ((keyblob = sshbuf_new()) == NULL) in helper_by_key()
83 if ((r = sshkey_putb(key, keyblob)) != 0) in helper_by_key()
90 if (sshbuf_equals(keyblob, in helper_by_key()
92 sshbuf_free(keyblob); in helper_by_key()
97 sshbuf_free(keyblob); in helper_by_key()
463 struct sshbuf *keyblob = NULL; in pkcs11_key_free() local
471 if ((keyblob = sshbuf_new()) == NULL) in pkcs11_key_free()
473 if ((r = sshkey_putb(key, keyblob)) != 0) in pkcs11_key_free()
478 if (sshbuf_equals(keyblob, helper->keyblobs[i]) == 0) { in pkcs11_key_free()
H A Dauthfile.c64 struct sshbuf *keyblob = NULL; in sshkey_save_private() local
67 if ((keyblob = sshbuf_new()) == NULL) in sshkey_save_private()
69 if ((r = sshkey_private_to_fileblob(key, keyblob, passphrase, comment, in sshkey_save_private()
72 if ((r = sshkey_save_private_blob(keyblob, filename)) != 0) in sshkey_save_private()
76 sshbuf_free(keyblob); in sshkey_save_private()
H A Dssh-add.c285 struct sshbuf *keyblob; in add_file() local
305 if ((r = sshbuf_load_fd(fd, &keyblob)) != 0) { in add_file()
308 sshbuf_free(keyblob); in add_file()
315 if ((r = sshkey_parse_private_fileblob(keyblob, "", &private, in add_file()
323 if ((r = sshkey_parse_private_fileblob(keyblob, pass, &private, in add_file()
339 if ((r = sshkey_parse_private_fileblob(keyblob, pass, in add_file()
348 sshbuf_free(keyblob); in add_file()
359 sshbuf_free(keyblob); in add_file()
H A Dssh-pkcs11.c77 struct sshbuf *keyblob; member
186 sshbuf_free(k11->keyblob); in pkcs11_k11_free()
401 struct sshbuf *keyblob; in pkcs11_record_key() local
411 if ((keyblob = sshbuf_new()) == NULL) in pkcs11_record_key()
413 if ((r = sshkey_putb(key, keyblob)) != 0) in pkcs11_record_key()
418 if (sshbuf_equals(k11->keyblob, keyblob) == 0) { in pkcs11_record_key()
424 sshbuf_free(keyblob); in pkcs11_record_key()
431 k11->keyblob = keyblob; in pkcs11_record_key()
450 struct sshbuf *keyblob; in pkcs11_lookup_key() local
453 if ((keyblob = sshbuf_new()) == NULL) in pkcs11_lookup_key()
[all …]
H A DPROTOCOL.agent62 string keyblob
H A Dsshconnect2.c2149 u_char *sig = NULL, *keyblob = NULL; in userauth_hostbased() local
2224 if ((r = sshkey_to_blob(private, &keyblob, &keylen)) != 0) { in userauth_hostbased()
2234 (r = sshbuf_put_string(b, keyblob, keylen)) != 0 || in userauth_hostbased()
2255 (r = sshpkt_put_string(ssh, keyblob, keylen)) != 0 || in userauth_hostbased()
2268 free(keyblob); in userauth_hostbased()
/freebsd/crypto/openssl/include/internal/
H A Dbio.h74 #define BIO_set_ktls(b, keyblob, is_tx) \ argument
75 BIO_ctrl(b, BIO_CTRL_SET_KTLS, is_tx, keyblob)
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c785 unsigned char *keyblob; in k2d_NOCTX() local
792 keyblob = OPENSSL_memdup(ecxkey->pubkey, ecxkey->keylen); in k2d_NOCTX()
793 if (keyblob == NULL) in k2d_NOCTX()
796 *pder = keyblob; in k2d_NOCTX()
/freebsd/crypto/openssl/test/
H A Dtls-provider.c1651 unsigned char *keyblob; in xorx_spki_pub_to_der() local
1659 keyblob = OPENSSL_memdup(xorxkey->pubkey, retlen = XOR_KEY_SIZE); in xorx_spki_pub_to_der()
1660 if (keyblob == NULL) { in xorx_spki_pub_to_der()
1665 *pder = keyblob; in xorx_spki_pub_to_der()
/freebsd/crypto/openssl/crypto/err/
H A Dopenssl.txt960 PEM_R_KEYBLOB_HEADER_PARSE_ERROR:122:keyblob header parse error
961 PEM_R_KEYBLOB_TOO_SHORT:123:keyblob too short