Home
last modified time | relevance | path

Searched refs:isdss (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/pem/
H A Dpvkfmt.c68 #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 …]
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_msblob2key.c103 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()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c118 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()
/freebsd/crypto/openssl/include/crypto/
H A Dpem.h25 unsigned int ossl_blob_length(unsigned bitlen, int isdss, int ispub);
/freebsd/crypto/openssl/engines/
H A De_loader_attic.c1349 int isdss = 0; in file_try_read_msblob() local
1356 &isdss, &ispub) <= 0) in file_try_read_msblob()