Home
last modified time | relevance | path

Searched refs:keyPEM (Results 1 – 10 of 10) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_instantiate.c102 const char *keyPEM, in set_pem_key_param() argument
110 if (!keyPEM || strlen(keyPEM) == 0) { in set_pem_key_param()
118 TPM2_ALG_ID rsaOrEcc = ifapi_get_signature_algorithm_from_pem(keyPEM); in set_pem_key_param()
122 r = ifapi_get_tpm2b_public_from_pem(keyPEM, &public); in set_pem_key_param()
182 if (pol_element->element.PolicySigned.keyPEM && in ifapi_policyeval_instantiate_finish()
183 strlen(pol_element->element.PolicySigned.keyPEM) > 0) { in ifapi_policyeval_instantiate_finish()
185 r = set_pem_key_param(pol_element->element.PolicySigned.keyPEM, in ifapi_policyeval_instantiate_finish()
192 SAFE_FREE(pol_element->element.PolicySigned.keyPEM); in ifapi_policyeval_instantiate_finish()
340 if (pol_element->element.PolicyAuthorize.keyPEM && in ifapi_policyeval_instantiate_finish()
341 strlen(pol_element->element.PolicyAuthorize.keyPEM) > 0) { in ifapi_policyeval_instantiate_finish()
[all …]
Difapi_policy_types.h45 …char *keyPEM; /**< <p>The TPM2B_NAME is constructed with… member
144 …char *keyPEM; /**< <p> everyone in favour<br /> The TPM2… member
Difapi_policy_instantiate.h43 const char *keyPEM,
Difapi_policy_json_serialize.c163 if ((in->keyPEM) && strcmp(in->keyPEM, "") != 0) { in ifapi_json_TPMS_POLICYSIGNED_serialize()
166 r = ifapi_json_char_serialize(in->keyPEM, &jso2); in ifapi_json_TPMS_POLICYSIGNED_serialize()
675 if ((in->keyPEM) && strcmp(in->keyPEM, "") != 0) { in ifapi_json_TPMS_POLICYAUTHORIZE_serialize()
677 r = ifapi_json_char_serialize(in->keyPEM, &jso2); in ifapi_json_TPMS_POLICYAUTHORIZE_serialize()
Difapi_policy_json_deserialize.c210 out->keyPEM = NULL; in ifapi_json_TPMS_POLICYSIGNED_deserialize()
213 r = ifapi_json_char_deserialize(jso2, &out->keyPEM); in ifapi_json_TPMS_POLICYSIGNED_deserialize()
723 out->keyPEM = NULL; in ifapi_json_TPMS_POLICYAUTHORIZE_deserialize()
726 r = ifapi_json_char_deserialize(jso2, &out->keyPEM); in ifapi_json_TPMS_POLICYAUTHORIZE_deserialize()
Difapi_helpers.c1022 SAFE_FREE(policy->element.PolicyAuthorize.keyPEM); in cleanup_policy_element()
1030 SAFE_FREE(policy->element.PolicySigned.keyPEM); in cleanup_policy_element()
1292 strdup_check(to_policy->element.PolicyAuthorize.keyPEM, in copy_policy_element()
1293 from_policy->element.PolicyAuthorize.keyPEM, r, error); in copy_policy_element()
1322 strdup_check(to_policy->element.PolicySigned.keyPEM, in copy_policy_element()
1323 from_policy->element.PolicySigned.keyPEM, r, error); in copy_policy_element()
/external/cronet/third_party/boringssl/src/crypto/x509/test/
Dmake_basic_constraints.go34 key := ecdsaKeyFromPEMOrPanic(keyPEM)
86 const keyPEM = `-----BEGIN PRIVATE KEY----- const
/external/boringssl/src/crypto/x509/test/
Dmake_basic_constraints.go34 key := ecdsaKeyFromPEMOrPanic(keyPEM)
86 const keyPEM = `-----BEGIN PRIVATE KEY----- const
/external/openscreen/osp/go/
Dquic.go37keyPEM := pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKe…
40 tlsCert, err := tls.X509KeyPair(certPEM, keyPEM)
/external/tpm2-tss/test/unit/
Dfapi-json.c44 SAFE_FREE(policy->element.PolicyAuthorize.keyPEM); in cleanup_policy_element()
52 SAFE_FREE(policy->element.PolicySigned.keyPEM); in cleanup_policy_element()