Searched refs:pkeylen (Results 1 – 3 of 3) sorted by relevance
/external/openssl/crypto/asn1/ |
D | n_pkey.c | 126 int rsalen, pkeylen, olen; in i2d_RSA_NET() local 151 pkeylen=i2d_NETSCAPE_PKEY(pkey,NULL); in i2d_RSA_NET() 153 enckey->enckey->digest->length = pkeylen; in i2d_RSA_NET() 181 if ((zz=OPENSSL_malloc(pkeylen)) == NULL) in i2d_RSA_NET() 221 EVP_EncryptUpdate(&ctx,zz,&i,zz,pkeylen); in i2d_RSA_NET()
|
/external/openssl/crypto/evp/ |
D | evp_pkey.c | 105 int pkeylen; in EVP_PKCS82PKEY() local 112 pkeylen = p8->pkey->value.octet_string->length; in EVP_PKCS82PKEY() 116 pkeylen = p8->pkey->value.sequence->length; in EVP_PKCS82PKEY() 129 if (!(rsa = d2i_RSAPrivateKey (NULL,&cp, pkeylen))) { in EVP_PKCS82PKEY() 145 if(!(ndsa = ASN1_seq_unpack_ASN1_TYPE(p, pkeylen, in EVP_PKCS82PKEY() 179 if (!(privkey=d2i_ASN1_INTEGER (NULL, &p, pkeylen))) { in EVP_PKCS82PKEY() 280 if (!d2i_ECPrivateKey(&eckey, &p_tmp, pkeylen)) in EVP_PKCS82PKEY()
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 1004 int pkeylen; local 1027 pkeylen = i2d_PrivateKey(evp, NULL); 1028 if (pkeylen == 0) 1030 pkey = vmalloc(pkeylen); 1034 pkeylen = i2d_PrivateKey(evp, &bp); 1035 if (pkeylen == 0) 1063 int pkeylen; local 1083 pkeylen = i2d_PublicKey(evp, NULL); 1084 if (pkeylen == 0) 1086 pkey = vmalloc(pkeylen); [all …]
|