/third_party/openssl/crypto/x509v3/ |
D | v3_skey.c | 61 int pklen; in s2i_skey_id() local 91 X509_PUBKEY_get0_param(NULL, &pk, &pklen, NULL, pubkey); in s2i_skey_id() 93 if (!EVP_Digest(pk, pklen, pkey_dig, &diglen, EVP_sha1(), NULL)) in s2i_skey_id()
|
/third_party/openssl/crypto/dsa/ |
D | dsa_ameth.c | 23 int pklen, pmlen; in dsa_pub_decode() local 32 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dsa_pub_decode() 56 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dsa_pub_decode() 140 int pklen, pmlen; in dsa_priv_decode() local 152 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in dsa_priv_decode() 156 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in dsa_priv_decode()
|
/third_party/iowow/src/kv/tests/ |
D | iwkv_test6.c | 99 for (int i = 0; i < iwkv->pklen - 1; ++i) { in iwkv_test6_2_impl() 108 key.size = iwkv->pklen - 1; in iwkv_test6_2_impl()
|
/third_party/openssl/crypto/dh/ |
D | dh_ameth.c | 48 int pklen, pmlen; in dh_pub_decode() local 57 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in dh_pub_decode() 75 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dh_pub_decode() 153 int pklen, pmlen; in dh_priv_decode() local 162 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in dh_priv_decode() 169 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in dh_priv_decode()
|
/third_party/openssl/crypto/pem/ |
D | pvkfmt.c | 785 int outlen = 24, pklen; in i2b_PVK() local 790 pklen = do_i2b(NULL, pk, 0); in i2b_PVK() 791 if (pklen < 0) in i2b_PVK() 793 outlen += pklen; in i2b_PVK() 818 write_ledword(&p, pklen); in i2b_PVK() 847 if (!EVP_EncryptUpdate(cctx, p, &enctmplen, p, pklen - 8)) in i2b_PVK()
|
/third_party/openssl/crypto/ec/ |
D | ec_ameth.c | 157 int ptype, pklen; in eckey_pub_decode() local 161 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in eckey_pub_decode() 173 if (!o2i_ECPublicKey(&eckey, &p, pklen)) { in eckey_pub_decode() 206 int ptype, pklen; in eckey_priv_decode() local 210 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8)) in eckey_priv_decode() 220 if (!d2i_ECPrivateKey(&eckey, &p, pklen)) { in eckey_priv_decode()
|
D | ecx_meth.c | 153 int pklen; in ecx_pub_decode() local 156 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode() 158 return ecx_key_op(pkey, pkey->ameth->pkey_id, palg, p, pklen, in ecx_pub_decode()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ameth.c | 98 int pklen; in rsa_pub_decode() local 102 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &alg, pubkey)) in rsa_pub_decode() 104 if ((rsa = d2i_RSAPublicKey(NULL, &p, pklen)) == NULL) { in rsa_pub_decode() 185 int pklen; in rsa_priv_decode() local 188 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &alg, p8)) in rsa_priv_decode() 190 rsa = d2i_RSAPrivateKey(NULL, &p, pklen); in rsa_priv_decode()
|
/third_party/iowow/src/kv/ |
D | iwkv_internal.h | 267 int32_t pklen; /**< Prefix key length in use */ member
|
D | iwkv.c | 1614 if (sblk->lkl > db->iwkv->pklen) { in _sblk_at2() 1711 assert(sblk->lkl <= lx->db->iwkv->pklen); in _sblk_sync_mm() 1892 sblk->lkl = MIN(db->iwkv->pklen, ksize); in _sblk_addkv2() 1900 if (ksize <= db->iwkv->pklen) { in _sblk_addkv2() 1957 sblk->lkl = MIN(db->iwkv->pklen, ksize); in _sblk_addkv() 1965 if (ksize <= db->iwkv->pklen) { in _sblk_addkv() 2070 sblk->lkl = MIN(db->iwkv->pklen, klen); in _sblk_rmkv() 2073 if (klen <= db->iwkv->pklen) { in _sblk_rmkv() 3476 iwkv->pklen = PREFIX_KEY_LEN_V1; in iwkv_open() 3478 iwkv->pklen = PREFIX_KEY_LEN_V2; in iwkv_open() [all …]
|