Home
last modified time | relevance | path

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

/external/dropbear/
Dkeyimport.c1269 int blobsize, publen, privlen;
1404 privlen = 0;
1429 privlen = pos - publen;
1456 privlen = pos - publen;
1459 dropbear_assert(privlen > 0); /* should have bombed by now if not */
1463 retkey->data = alg->createkey(blob, publen, blob+publen, privlen);
1490 int publen, privlen;
1505 privblob = key->alg->private_blob(key->data, &privlen);
1520 pos += ssh2_read_mpint(privblob+pos, privlen-pos, &d);
1521 pos += ssh2_read_mpint(privblob+pos, privlen-pos, &p);
[all …]
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c467 size_t publen, privlen; in dh5_init() local
491 privlen = BN_num_bytes(dh->priv_key); in dh5_init()
492 privkey = wpabuf_alloc(privlen); in dh5_init()
497 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init()