/third_party/openssl/crypto/pem/ |
D | pvkfmt.c | 68 #define isdss_to_evp_type(isdss) \ argument 69 (isdss == 0 ? EVP_PKEY_RSA : isdss == 1 ? EVP_PKEY_DSA : EVP_PKEY_NONE) 249 unsigned int ossl_blob_length(unsigned bitlen, int isdss, int ispub) in ossl_blob_length() argument 254 if (isdss) { in ossl_blob_length() 283 int *isdss, int *ispub) in do_b2i_key() argument 289 if (ossl_do_blob_header(&p, length, &magic, &bitlen, isdss, ispub) <= 0) { in do_b2i_key() 294 if (length < ossl_blob_length(bitlen, *isdss, *ispub)) { in do_b2i_key() 298 if (!*isdss) in do_b2i_key() 315 int isdss = -1; in ossl_b2i() local 316 void *key = do_b2i_key(in, length, &isdss, ispub); in ossl_b2i() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/pem/ |
D | pvkfmt.c | 68 #define isdss_to_evp_type(isdss) \ argument 69 (isdss == 0 ? EVP_PKEY_RSA : isdss == 1 ? EVP_PKEY_DSA : EVP_PKEY_NONE) 249 unsigned int ossl_blob_length(unsigned bitlen, int isdss, int ispub) in ossl_blob_length() argument 254 if (isdss) { in ossl_blob_length() 283 int *isdss, int *ispub) in do_b2i_key() argument 289 if (ossl_do_blob_header(&p, length, &magic, &bitlen, isdss, ispub) <= 0) { in do_b2i_key() 294 if (length < ossl_blob_length(bitlen, *isdss, *ispub)) { in do_b2i_key() 298 if (!*isdss) in do_b2i_key() 315 int isdss = -1; in ossl_b2i() local 316 void *key = do_b2i_key(in, length, &isdss, ispub); in ossl_b2i() [all …]
|
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
D | decode_msblob2key.c | 103 int isdss = -1; in msblob2key_decode() local 117 ok = ossl_do_blob_header(&p, 16, &magic, &bitlen, &isdss, &ispub) > 0; in msblob2key_decode() 125 if ((isdss && ctx->desc->type != EVP_PKEY_DSA) in msblob2key_decode() 126 || (!isdss && ctx->desc->type != EVP_PKEY_RSA)) in msblob2key_decode() 129 length = ossl_blob_length(bitlen, isdss, ispub); in msblob2key_decode()
|
/third_party/openssl/providers/implementations/encode_decode/ |
D | decode_msblob2key.c | 91 int isdss = -1; in msblob2key_decode() local 105 ok = ossl_do_blob_header(&p, 16, &magic, &bitlen, &isdss, &ispub) > 0; in msblob2key_decode() 113 if ((isdss && ctx->desc->type != EVP_PKEY_DSA) in msblob2key_decode() 114 || (!isdss && ctx->desc->type != EVP_PKEY_RSA)) in msblob2key_decode() 117 length = ossl_blob_length(bitlen, isdss, ispub); in msblob2key_decode()
|
/third_party/openssl/providers/implementations/storemgmt/ |
D | file_store_any2obj.c | 118 int isdss = -1; in msblob2obj_decode() local 142 ok = ossl_do_blob_header(&p, 16, &magic, &bitlen, &isdss, &ispub) > 0; in msblob2obj_decode() 148 mem_want = ossl_blob_length(bitlen, isdss, ispub); in msblob2obj_decode()
|
/third_party/node/deps/openssl/openssl/providers/implementations/storemgmt/ |
D | file_store_any2obj.c | 118 int isdss = -1; in msblob2obj_decode() local 142 ok = ossl_do_blob_header(&p, 16, &magic, &bitlen, &isdss, &ispub) > 0; in msblob2obj_decode() 148 mem_want = ossl_blob_length(bitlen, isdss, ispub); in msblob2obj_decode()
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
D | pem.h | 25 unsigned int ossl_blob_length(unsigned bitlen, int isdss, int ispub);
|
/third_party/openssl/include/crypto/ |
D | pem.h | 25 unsigned int ossl_blob_length(unsigned bitlen, int isdss, int ispub);
|
/third_party/node/deps/openssl/openssl/engines/ |
D | e_loader_attic.c | 1349 int isdss = 0; in file_try_read_msblob() local 1356 &isdss, &ispub) <= 0) in file_try_read_msblob()
|
/third_party/openssl/engines/ |
D | e_loader_attic.c | 1349 int isdss = 0; in file_try_read_msblob() local 1356 &isdss, &ispub) <= 0) in file_try_read_msblob()
|