Searched refs:keyPEM (Results 1 – 9 of 9) sorted by relevance
/external/tpm2-tss/src/tss2-fapi/ |
D | ifapi_policy_instantiate.c | 102 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 …]
|
D | ifapi_policy_types.h | 45 …char *keyPEM; /**< <p>The TPM2B_NAME is constructed with… member 144 …char *keyPEM; /**< <p> everyone in favour<br /> The TPM2… member
|
D | ifapi_policy_instantiate.h | 43 const char *keyPEM,
|
D | ifapi_policy_json_serialize.c | 163 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()
|
D | ifapi_policy_json_deserialize.c | 210 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()
|
D | ifapi_helpers.c | 1022 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/boringssl/src/crypto/x509/test/ |
D | make_basic_constraints.go | 32 key := ecdsaKeyFromPEMOrPanic(keyPEM) 84 const keyPEM = `-----BEGIN PRIVATE KEY----- const
|
/external/openscreen/osp/go/ |
D | quic.go | 37 …keyPEM := pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKe… 40 tlsCert, err := tls.X509KeyPair(certPEM, keyPEM)
|
/external/tpm2-tss/test/unit/ |
D | fapi-json.c | 44 SAFE_FREE(policy->element.PolicyAuthorize.keyPEM); in cleanup_policy_element() 52 SAFE_FREE(policy->element.PolicySigned.keyPEM); in cleanup_policy_element()
|