Lines Matching refs:cert

135 int32_t rcar_get_certificate(const int32_t name, uint32_t *cert)  in rcar_get_certificate()  argument
145 *cert = RCAR_CERT_SIZE; in rcar_get_certificate()
146 *cert *= RCAR_ATTR_GET_CERTOFF(cert_offset[i].attr); in rcar_get_certificate()
147 *cert += RCAR_SDRAM_certESS; in rcar_get_certificate()
158 uint32_t *cert, uint32_t *no_load, in file_to_offset() argument
178 *cert = RCAR_CERT_SIZE; in file_to_offset()
179 *cert *= RCAR_ATTR_GET_CERTOFF(name_offset[i].attr); in file_to_offset()
180 *cert += RCAR_SDRAM_certESS; in file_to_offset()
195 *cert = 0U; in file_to_offset()
205 void rcar_read_certificate(uint64_t cert, uint32_t *len, uintptr_t *dst) in rcar_read_certificate() argument
210 cert &= 0xFFFFFFFFU; in rcar_read_certificate()
215 val = mmio_read_32(cert + 0xC); in rcar_read_certificate()
235 size = cert + RCAR_CERT_INFO_SIZE_OFFSET2; in rcar_read_certificate()
236 dstl = cert + RCAR_CERT_INFO_DST_OFFSET2; in rcar_read_certificate()
239 size = cert + RCAR_CERT_INFO_SIZE_OFFSET1; in rcar_read_certificate()
240 dstl = cert + RCAR_CERT_INFO_DST_OFFSET1; in rcar_read_certificate()
243 size = cert + RCAR_CERT_INFO_SIZE_OFFSET; in rcar_read_certificate()
244 dstl = cert + RCAR_CERT_INFO_DST_OFFSET; in rcar_read_certificate()
255 size = cert + RCAR_CERT_INFO_SIZE_OFFSET; in rcar_read_certificate()
257 dstl = cert + RCAR_CERT_INFO_DST_OFFSET; in rcar_read_certificate()
307 uint32_t noload, cert, len, i; in load_bl33x() local
327 rc = file_to_offset(img[i], &offset, &cert, &noload, in load_bl33x()
335 rcar_read_certificate((uint64_t) cert, &len, &dst); in load_bl33x()
485 uint32_t noload, cert, len; in rcar_file_open() local
500 rc = file_to_offset(spec->offset, &offset, &cert, &noload, &partition); in rcar_file_open()
518 rcar_read_certificate((uint64_t) cert, &len, &dst); in rcar_file_open()