Home
last modified time | relevance | path

Searched refs:privlen (Results 1 – 2 of 2) sorted by relevance

/external/openssh/regress/misc/sk-dummy/
Dsk-dummy.c88 long privlen; in pack_key_ecdsa() local
133 if ((privlen = BIO_get_mem_data(bio, &privptr)) <= 0) { in pack_key_ecdsa()
137 if ((response->key_handle = malloc(privlen)) == NULL) { in pack_key_ecdsa()
141 response->key_handle_len = (size_t)privlen; in pack_key_ecdsa()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c763 size_t publen, privlen; in dh5_init() local
792 privlen = BN_num_bytes(dh->priv_key); in dh5_init()
793 privkey = wpabuf_alloc(privlen); in dh5_init()
798 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init()
812 size_t publen, privlen; in dh5_init()
842 privlen = BN_num_bytes(priv_key); in dh5_init()
843 privkey = wpabuf_alloc(privlen); in dh5_init()
848 BN_bn2bin(priv_key, wpabuf_put(privkey, privlen)); in dh5_init()