Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/
A Dimx_ocotp.c123 uint64_t uid = 0; in ocotp_get_die_id_mx7ulp() local
128 uid = val & GENMASK_32(15, 0); in ocotp_get_die_id_mx7ulp()
133 uid = SHIFT_U64(uid, 16) | (val & GENMASK_32(15, 0)); in ocotp_get_die_id_mx7ulp()
138 uid = SHIFT_U64(uid, 16) | (val & GENMASK_32(15, 0)); in ocotp_get_die_id_mx7ulp()
143 uid = SHIFT_U64(uid, 16) | (val & GENMASK_32(15, 0)); in ocotp_get_die_id_mx7ulp()
147 *ret_uid = uid; in ocotp_get_die_id_mx7ulp()
156 uint64_t uid = 0; in ocotp_get_die_id_mx() local
161 uid = val; in ocotp_get_die_id_mx()
166 uid = SHIFT_U64(uid, 32) | val; in ocotp_get_die_id_mx()
170 *ret_uid = uid; in ocotp_get_die_id_mx()
[all …]
A Dstm32mp15_huk.c20 static TEE_Result stm32mp15_read_uid(uint32_t *uid) in stm32mp15_read_uid() argument
23 uint32_t *q = uid; in stm32mp15_read_uid()
90 uint32_t uid[4] = { 0 }; in aes_gcm_encrypt_uid() local
94 size_t uid_len = sizeof(uid); in aes_gcm_encrypt_uid()
97 ret = stm32mp15_read_uid(uid); in aes_gcm_encrypt_uid()
110 ret = crypto_authenc_enc_final(ctx, (uint8_t *)uid, sizeof(uid), in aes_gcm_encrypt_uid()
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/
A Dinfo.c158 uint8_t uid[SE050_MODULE_UNIQUE_ID_LEN] = { 0 }; in applet_get_id() local
159 size_t uidLen = sizeof(uid); in applet_get_id()
171 (uint16_t)uidLen, uid, &uidLen); in applet_get_id()
195 LOG_MAU8_I("Applet ID", uid, uidLen); in applet_get_id()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509_crt.c449 mbedtls_x509_buf *uid, int n ) in x509_get_uid() argument
456 uid->tag = **p; in x509_get_uid()
458 if( ( ret = mbedtls_asn1_get_tag( p, end, &uid->len, in x509_get_uid()
467 uid->p = *p; in x509_get_uid()
468 *p += uid->len; in x509_get_uid()

Completed in 9 milliseconds