Searched refs:pklen (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | kexc25519s.c | 65 size_t slen, pklen, sbloblen, hashlen; in input_kex_c25519_init() local 87 if ((r = sshpkt_get_string(ssh, &client_pubkey, &pklen)) != 0 || in input_kex_c25519_init() 90 if (pklen != CURVE25519_SIZE) { in input_kex_c25519_init()
|
D | kexc25519c.c | 81 size_t slen, pklen, sbloblen, hashlen; in input_kex_c25519_reply() local 108 if ((r = sshpkt_get_string(ssh, &server_pubkey, &pklen)) != 0 || in input_kex_c25519_reply() 112 if (pklen != CURVE25519_SIZE) { in input_kex_c25519_reply()
|
D | sshkey.c | 2693 size_t pklen = 0, sklen = 0; in sshkey_private_deserialize() local 2809 if ((r = sshbuf_get_string(buf, &ed25519_pk, &pklen)) != 0 || in sshkey_private_deserialize() 2812 if (pklen != ED25519_PK_SZ || sklen != ED25519_SK_SZ) { in sshkey_private_deserialize() 2823 (r = sshbuf_get_string(buf, &ed25519_pk, &pklen)) != 0 || in sshkey_private_deserialize() 2826 if (pklen != ED25519_PK_SZ || sklen != ED25519_SK_SZ) { in sshkey_private_deserialize() 2867 explicit_bzero(ed25519_pk, pklen); in sshkey_private_deserialize()
|
/external/boringssl/src/crypto/evp/ |
D | p_ec_asn1.c | 169 int ptype, pklen; in eckey_pub_decode() local 173 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) { in eckey_pub_decode() 185 if (!o2i_ECPublicKey(&eckey, &p, pklen)) { in eckey_pub_decode() 218 int ptype, pklen; in eckey_priv_decode() local 222 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) { in eckey_priv_decode() 234 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in eckey_priv_decode()
|
D | p_dsa_asn1.c | 73 int pklen, pmlen; in dsa_pub_decode() local 82 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) { in dsa_pub_decode() 108 public_key = d2i_ASN1_INTEGER(NULL, &p, pklen); in dsa_pub_decode() 160 int pklen, pmlen; in dsa_priv_decode() local 173 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) { in dsa_priv_decode() 176 privkey = d2i_ASN1_INTEGER(NULL, &p, pklen); in dsa_priv_decode()
|
D | p_rsa_asn1.c | 91 int pklen; in rsa_pub_decode() local 94 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, NULL, pubkey)) { in rsa_pub_decode() 97 rsa = d2i_RSAPublicKey(NULL, &p, pklen); in rsa_pub_decode() 134 int pklen; in rsa_priv_decode() local 137 if (!PKCS8_pkey_get0(NULL, &p, &pklen, NULL, p8)) { in rsa_priv_decode() 142 rsa = d2i_RSAPrivateKey(NULL, &p, pklen); in rsa_priv_decode()
|