Home
last modified time | relevance | path

Searched refs:data_structure (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_pem2der.c57 char data_structure[OSSL_MAX_CODEC_STRUCT_SIZE]; member
100 str = ctx->data_structure; in pem2der_set_ctx_params()
102 && !OSSL_PARAM_get_utf8_string(p, &str, sizeof(ctx->data_structure))) in pem2der_set_ctx_params()
138 const char *data_structure; in pem2der_decode() member
216 char *data_structure = (char *)pem_name_map[i].data_structure; in pem2der_decode() local
224 || OPENSSL_strcasecmp(ctx->data_structure, "EncryptedPrivateKeyInfo") == 0 in pem2der_decode()
225 || OPENSSL_strcasecmp(ctx->data_structure, "PrivateKeyInfo") == 0)) { in pem2der_decode()
235 || OPENSSL_strcasecmp(ctx->data_structure, "SubjectPublicKeyInfo") == 0)) { in pem2der_decode()
250 if (data_structure != NULL) in pem2der_decode()
253 data_structure, 0); in pem2der_decode()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c51 char data_structure[OSSL_MAX_CODEC_STRUCT_SIZE]; member
75 str = ctx->data_structure; in any2obj_set_ctx_params()
77 && !OSSL_PARAM_get_utf8_string(p, &str, sizeof(ctx->data_structure))) in any2obj_set_ctx_params()
112 if (*ctx->data_structure != '\0') in any2obj_decode_final()
114 (char *)ctx->data_structure, 0); in any2obj_decode_final()
/freebsd/crypto/openssl/crypto/encode_decode/
H A Ddecoder_lib.c777 const char *data_structure = NULL; in decoder_process() local
867 if (p != NULL && !OSSL_PARAM_get_utf8_string_ptr(p, &data_structure)) in decoder_process()
882 || OPENSSL_strcasecmp(data_structure, "PrivateKeyInfo") == 0 in decoder_process()
899 trace_data_structure = data_structure; in decoder_process()
900 if (data_type != NULL && data_structure != NULL in decoder_process()
901 && OPENSSL_strcasecmp(data_structure, "type-specific") == 0) in decoder_process()
902 data_structure = NULL; in decoder_process()
910 (trace_data_structure == data_structure in decoder_process()
1009 if (data_structure != NULL in decoder_process()
1011 || OPENSSL_strcasecmp(data_structure, in decoder_process()
/freebsd/crypto/openssl/crypto/store/
H A Dstore_result.c67 const char *data_structure; member
117 && !OSSL_PARAM_get_utf8_string_ptr(p, &helper_data.data_structure)) in ossl_store_handle_load_result()
307 OSSL_DECODER_CTX_new_for_pkey(&pk, data->input_type, data->data_structure, in try_key_value()