Home
last modified time | relevance | path

Searched refs:pk_ptr (Results 1 – 20 of 20) sorted by relevance

/trusted-firmware-a-3.7.0/plat/arm/board/tc/
Dtc_common_measured_boot.c32 int plat_mboot_measure_key(void *pk_oid, void *pk_ptr, unsigned int pk_len) in plat_mboot_measure_key() argument
34 return rss_mboot_set_signer_id(tc_rss_mboot_metadata, pk_oid, pk_ptr, in plat_mboot_measure_key()
/trusted-firmware-a-3.7.0/plat/arm/board/fvp/
Dfvp_common_measured_boot.c49 int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr, in plat_mboot_measure_key() argument
52 return rss_mboot_set_signer_id(fvp_rss_mboot_metadata, pk_oid, pk_ptr, in plat_mboot_measure_key()
/trusted-firmware-a-3.7.0/drivers/auth/mbedtls/
Dmbedtls_psa_crypto.c190 unsigned char *pk_ptr = *pk_start; in get_ecdsa_pkinfo_from_asn1() local
192 pk_end = pk_ptr + *pk_len; in get_ecdsa_pkinfo_from_asn1()
193 rc = mbedtls_asn1_get_tag(&pk_ptr, pk_end, &len, in get_ecdsa_pkinfo_from_asn1()
200 pk_end = pk_ptr + len; in get_ecdsa_pkinfo_from_asn1()
201 rc = mbedtls_asn1_get_alg(&pk_ptr, pk_end, &alg_oid, &alg_params); in get_ecdsa_pkinfo_from_asn1()
216 pk_end = pk_ptr + len - (alg_oid.len + alg_params.len + in get_ecdsa_pkinfo_from_asn1()
218 rc = mbedtls_asn1_get_bitstring_null(&pk_ptr, pk_end, &len); in get_ecdsa_pkinfo_from_asn1()
223 *pk_start = pk_ptr; in get_ecdsa_pkinfo_from_asn1()
304 void *pk_ptr, unsigned int pk_len) in verify_signature() argument
364 rc = get_ecdsa_pkinfo_from_asn1((unsigned char **)&pk_ptr, in verify_signature()
[all …]
Dmbedtls_crypto.c77 void *pk_ptr, unsigned int pk_len) in verify_signature() argument
106 p = (unsigned char *)pk_ptr; in verify_signature()
/trusted-firmware-a-3.7.0/drivers/auth/
Dauth_mod.c159 void *data_ptr, *pk_ptr, *cnv_pk_ptr, *pk_plat_ptr, *sig_ptr, *sig_alg_ptr, *pk_oid; in auth_signature() local
196 &pk_ptr, &pk_len); in auth_signature()
220 &pk_ptr, &pk_len); in auth_signature()
243 rc = crypto_mod_convert_pk(pk_ptr, pk_len, &cnv_pk_ptr, &cnv_pk_len); in auth_signature()
264 (memcmp(pk_plat_ptr, pk_ptr, pk_len) != 0)) { in auth_signature()
284 rc = plat_mboot_measure_key(pk_oid, pk_ptr, pk_len); in auth_signature()
295 pk_ptr, pk_len); in auth_signature()
Dcrypto_mod.c82 void *pk_ptr, unsigned int pk_len) in crypto_mod_verify_signature() argument
90 assert(pk_ptr != NULL); in crypto_mod_verify_signature()
96 pk_ptr, pk_len); in crypto_mod_verify_signature()
/trusted-firmware-a-3.7.0/plat/qemu/qemu/
Dqemu_bl1_measured_boot.c30 int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr, in plat_mboot_measure_key() argument
Dqemu_measured_boot.c122 int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr, in plat_mboot_measure_key() argument
/trusted-firmware-a-3.7.0/drivers/nxp/crypto/caam/src/auth/
Dnxp_crypto.c44 void *pk_ptr, unsigned int pk_len) in verify_signature() argument
54 pk_ptr, pk_len); in verify_signature()
Drsa.c152 void *pk_ptr, unsigned int pk_len) in rsa_verify_signature() argument
166 ret = rsa_public_verif_sec(sig_ptr, encoded_hash, pk_ptr, pk_len / 2); in rsa_verify_signature()
/trusted-firmware-a-3.7.0/include/drivers/auth/
Dcrypto_mod.h58 void *pk_ptr, unsigned int pk_len);
98 void *pk_ptr, unsigned int pk_len);
/trusted-firmware-a-3.7.0/drivers/measured_boot/rss/
Drss_measured_boot.c111 const void *pk_ptr, in rss_mboot_set_signer_id() argument
134 (void *)pk_ptr, in rss_mboot_set_signer_id()
/trusted-firmware-a-3.7.0/include/drivers/nxp/crypto/caam/
Drsa.h38 void *pk_ptr, unsigned int pk_len);
/trusted-firmware-a-3.7.0/include/drivers/measured_boot/rss/
Drss_measured_boot.h54 const void *pk_oid, const void *pk_ptr,
/trusted-firmware-a-3.7.0/plat/st/common/
Dstm32mp_crypto_lib.c82 static int get_plain_pk_from_asn1(void *pk_ptr, unsigned int pk_len, void **plain_pk, in get_plain_pk_from_asn1() argument
96 p = (unsigned char *)pk_ptr; in get_plain_pk_from_asn1()
308 void *pk_ptr, unsigned int pk_len) in crypto_verify_signature() argument
350 ret = get_plain_pk_from_asn1(pk_ptr, pk_len, &pk_ptr, &len, &curve_id); in crypto_verify_signature()
365 memcpy(my_pk, pk_ptr, sizeof(my_pk)); in crypto_verify_signature()
/trusted-firmware-a-3.7.0/plat/imx/imx8m/
Dimx8m_measured_boot.c83 int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr, in plat_mboot_measure_key() argument
/trusted-firmware-a-3.7.0/include/plat/common/
Dplatform.h164 int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr,
180 const void *pk_ptr __unused, in plat_mboot_measure_key()
/trusted-firmware-a-3.7.0/docs/design_documents/
Dmeasured_boot.rst211 int plat_mboot_measure_key(const void *pk_oid, const void *pk_ptr,
Drss.rst344 const void *pk_ptr,
/trusted-firmware-a-3.7.0/docs/design/
Dauth-framework.rst238 void *pk_ptr, unsigned int pk_len);
985 void *pk_ptr, unsigned int pk_len);