Lines Matching refs:isdss
70 #define isdss_to_evp_type(isdss) \ argument
71 (isdss == 0 ? EVP_PKEY_RSA : isdss == 1 ? EVP_PKEY_DSA : EVP_PKEY_NONE)
253 unsigned int ossl_blob_length(unsigned bitlen, int isdss, int ispub) in ossl_blob_length() argument
258 if (isdss) { in ossl_blob_length()
287 int *isdss, int *ispub) in do_b2i_key() argument
293 if (ossl_do_blob_header(&p, length, &magic, &bitlen, isdss, ispub) <= 0) { in do_b2i_key()
298 if (length < ossl_blob_length(bitlen, *isdss, *ispub)) { in do_b2i_key()
302 if (!*isdss) in do_b2i_key()
319 int isdss = -1; in ossl_b2i() local
320 void *key = do_b2i_key(in, length, &isdss, ispub); in ossl_b2i()
322 return evp_pkey_new0_key(key, isdss_to_evp_type(isdss)); in ossl_b2i()
330 int isdss = -1; in ossl_b2i_bio() local
339 if (ossl_do_blob_header(&p, 16, &magic, &bitlen, &isdss, ispub) <= 0) in ossl_b2i_bio()
342 length = ossl_blob_length(bitlen, isdss, *ispub); in ossl_b2i_bio()
356 if (!isdss) in ossl_b2i_bio()
368 pkey = evp_pkey_new0_key(key, isdss_to_evp_type(isdss)); in ossl_b2i_bio()
840 int *isdss, int *ispub, in do_PVK_body_key() argument
919 key = do_b2i_key(&p, keylen, isdss, ispub); in do_PVK_body_key()
933 int *isdss, int *ispub, in do_PVK_key_bio() argument
959 key = do_PVK_body_key(&p, saltlen, keylen, cb, u, isdss, ispub, libctx, propq); in do_PVK_key_bio()
970 int isdss = 1; in b2i_DSA_PVK_bio_ex() local
973 return do_PVK_key_bio(in, cb, u, &isdss, &ispub, libctx, propq); in b2i_DSA_PVK_bio_ex()
985 int isdss = 0; in b2i_RSA_PVK_bio_ex() local
988 return do_PVK_key_bio(in, cb, u, &isdss, &ispub, libctx, propq); in b2i_RSA_PVK_bio_ex()
999 int isdss = -1; in b2i_PVK_bio_ex() local
1001 void *key = do_PVK_key_bio(in, cb, u, &isdss, &ispub, NULL, NULL); in b2i_PVK_bio_ex()
1003 return evp_pkey_new0_key(key, isdss_to_evp_type(isdss)); in b2i_PVK_bio_ex()