Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 76) sorted by relevance

1234

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_rsa_util.c94 goto end; in cc3xx_rsa_psa_pub_to_cc_pub()
102 goto end; in cc3xx_rsa_psa_pub_to_cc_pub()
116 goto end; in cc3xx_rsa_psa_pub_to_cc_pub()
127 end: in cc3xx_rsa_psa_pub_to_cc_pub()
155 goto end; in cc3xx_rsa_psa_priv_to_cc_pub()
162 goto end; in cc3xx_rsa_psa_priv_to_cc_pub()
170 goto end; in cc3xx_rsa_psa_priv_to_cc_pub()
184 goto end; in cc3xx_rsa_psa_priv_to_cc_pub()
195 end: in cc3xx_rsa_psa_priv_to_cc_pub()
230 goto end; in cc3xx_rsa_psa_priv_to_cc_priv()
[all …]
Dcc3xx_internal_asn1_util.c161 static int asn1_get_tagged_int(unsigned char **p, const unsigned char *end, in asn1_get_tagged_int() argument
167 if ((ret = cc3xx_asn1_get_tag(p, end, &len, tag)) != 0) { in asn1_get_tagged_int()
213 psa_status_t cc3xx_asn1_get_tag(unsigned char **p, const unsigned char *end, in cc3xx_asn1_get_tag() argument
216 if ((end - *p) < 1) { in cc3xx_asn1_get_tag()
226 return (cc3xx_asn1_get_len(p, end, len)); in cc3xx_asn1_get_tag()
229 psa_status_t cc3xx_asn1_get_len(unsigned char **p, const unsigned char *end, in cc3xx_asn1_get_len() argument
232 if ((end - *p) < 1) { in cc3xx_asn1_get_len()
241 if ((end - *p) < 2) { in cc3xx_asn1_get_len()
250 if ((end - *p) < 3) { in cc3xx_asn1_get_len()
259 if ((end - *p) < 4) { in cc3xx_asn1_get_len()
[all …]
Dcc3xx_psa_entropy.c46 goto end; in cc3xx_get_entropy()
52 goto end; in cc3xx_get_entropy()
58 goto end; in cc3xx_get_entropy()
69 goto end; in cc3xx_get_entropy()
96 end: in cc3xx_get_entropy()
Dcc3xx_psa_key_generation.c117 goto end; in cc3xx_internal_gen_ecc_wstr_keypair()
128 goto end; in cc3xx_internal_gen_ecc_wstr_keypair()
136 end: in cc3xx_internal_gen_ecc_wstr_keypair()
201 goto end; in cc3xx_internal_gen_rsa_keypair()
228 goto end; in cc3xx_internal_gen_rsa_keypair()
235 goto end; in cc3xx_internal_gen_rsa_keypair()
245 goto end; in cc3xx_internal_gen_rsa_keypair()
258 goto end; in cc3xx_internal_gen_rsa_keypair()
265 goto end; in cc3xx_internal_gen_rsa_keypair()
275 goto end; in cc3xx_internal_gen_rsa_keypair()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_aes_ext_dma.c122 goto end; in mbedtls_aes_ext_dma_set_key()
133 goto end; in mbedtls_aes_ext_dma_set_key()
150 goto end; in mbedtls_aes_ext_dma_set_key()
158 goto end; in mbedtls_aes_ext_dma_set_key()
162 end: in mbedtls_aes_ext_dma_set_key()
183 goto end; in mbedtls_aes_ext_dma_set_data_size()
188 goto end; in mbedtls_aes_ext_dma_set_data_size()
195 goto end; in mbedtls_aes_ext_dma_set_data_size()
202 end: in mbedtls_aes_ext_dma_set_data_size()
230 goto end; in mbedtls_aes_ext_dma_set_iv()
[all …]
Dmbedtls_cc_chacha.c237 goto end; in mbedtls_chacha()
242 goto end; in mbedtls_chacha()
247 goto end; in mbedtls_chacha()
250 end: in mbedtls_chacha()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/fvp/device/source/
Ddma350_address_remap.c27 {.begin = 0x00000000, .end = 0x00007FFF, .offset = 0x0A000000},
28 {.begin = 0x10000000, .end = 0x10007FFF, .offset = 0x0A000000},
29 {.begin = 0x20000000, .end = 0x20007FFF, .offset = 0x04000000},
30 {.begin = 0x30000000, .end = 0x30007FFF, .offset = 0x04000000}};
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/bl2/
Dtfm_low_level_security.c145 uint32_t end; in TFM_LL_SECU_CheckStaticProtections() local
208 end = (FLASH_AREA_0_OFFSET + FLASH_AREA_0_SIZE - 1) / PAGE_SIZE; in TFM_LL_SECU_CheckStaticProtections()
209 if (end > PAGE_MAX_NUMBER_IN_BANK) in TFM_LL_SECU_CheckStaticProtections()
211 end = PAGE_MAX_NUMBER_IN_BANK; in TFM_LL_SECU_CheckStaticProtections()
215 || (end != flash_option_bytes_bank1.WMSecEndPage)) in TFM_LL_SECU_CheckStaticProtections()
218 … start, end, flash_option_bytes_bank1.WMSecStartPage, flash_option_bytes_bank1.WMSecEndPage); in TFM_LL_SECU_CheckStaticProtections()
225 flash_option_bytes_bank1.WMSecEndPage = end; in TFM_LL_SECU_CheckStaticProtections()
233 end = (FLASH_AREA_0_OFFSET + FLASH_AREA_0_SIZE - 1) / PAGE_SIZE; in TFM_LL_SECU_CheckStaticProtections()
234 if (end > PAGE_MAX_NUMBER_IN_BANK) in TFM_LL_SECU_CheckStaticProtections()
236 end = end - (PAGE_MAX_NUMBER_IN_BANK + 1); in TFM_LL_SECU_CheckStaticProtections()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/
Dsrp.c51 goto end; in SrpPwdVerifierCalc()
64 end: in SrpPwdVerifierCalc()
116 goto end; in SrpHostSharedSecretCalc()
123 goto end; in SrpHostSharedSecretCalc()
135 goto end; in SrpHostSharedSecretCalc()
141 goto end; in SrpHostSharedSecretCalc()
148 goto end; in SrpHostSharedSecretCalc()
155 end: in SrpHostSharedSecretCalc()
215 goto end; in SrpUserSharedSecretCalc()
222 goto end; in SrpUserSharedSecretCalc()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Decdsa_alt.c153 goto end; in ecdsa_wrst_sign()
163 goto end; in ecdsa_wrst_sign()
179 goto end; in ecdsa_wrst_sign()
186 goto end; in ecdsa_wrst_sign()
192 goto end; in ecdsa_wrst_sign()
195 end: in ecdsa_wrst_sign()
301 goto end; in ecdsa_wrst_verify()
308 goto end; in ecdsa_wrst_verify()
315 goto end; in ecdsa_wrst_verify()
333 end: in ecdsa_wrst_verify()
Ddhm_alt.c43 const unsigned char *end ) in dhm_read_bignum() argument
47 if( end - *p < 2 ) in dhm_read_bignum()
53 if( (int)( end - *p ) < n ) in dhm_read_bignum()
218 const unsigned char *end ) in mbedtls_dhm_read_params() argument
223 (end == NULL) ) { in mbedtls_dhm_read_params()
230 if( ( ret = dhm_read_bignum( &ctx->P, p, end ) ) != 0 || in mbedtls_dhm_read_params()
231 ( ret = dhm_read_bignum( &ctx->G, p, end ) ) != 0 || in mbedtls_dhm_read_params()
232 ( ret = dhm_read_bignum( &ctx->GY, p, end ) ) != 0 ){ in mbedtls_dhm_read_params()
552 unsigned char *p, *end; in mbedtls_dhm_parse_dhm() local
584 end = p + dhminlen; in mbedtls_dhm_parse_dhm()
[all …]
Decdsa_edwards.c219 goto end; in mbedtls_ecdsa_sign_edwards()
234 goto end; in mbedtls_ecdsa_sign_edwards()
241 goto end; in mbedtls_ecdsa_sign_edwards()
248 goto end; in mbedtls_ecdsa_sign_edwards()
251 end: in mbedtls_ecdsa_sign_edwards()
321 goto end; in mbedtls_ecdsa_verify_edwards()
329 goto end; in mbedtls_ecdsa_verify_edwards()
347 end: in mbedtls_ecdsa_verify_edwards()
Decdh_alt.c192 const unsigned char **buf, const unsigned char *end ) in mbedtls_ecdh_read_params_edwards() argument
196 if( ctx == NULL || buf == NULL || end == NULL){ in mbedtls_ecdh_read_params_edwards()
199 …x->MBEDTLS_PRIVATE(ctx).MBEDTLS_PRIVATE(mbed_ecdh).MBEDTLS_PRIVATE(grp), buf, end - *buf ) ) != 0 ) in mbedtls_ecdh_read_params_edwards()
202 …rp), &ctx->MBEDTLS_PRIVATE(ctx).MBEDTLS_PRIVATE(mbed_ecdh).MBEDTLS_PRIVATE(Qp), buf, end - *buf ) ) in mbedtls_ecdh_read_params_edwards()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/
Dcc3xx_internal_asn1_util.h134 psa_status_t cc3xx_asn1_get_tag(unsigned char **p, const unsigned char *end, size_t *len,
154 psa_status_t cc3xx_asn1_get_len(unsigned char **p, const unsigned char *end,
172 psa_status_t cc3xx_asn1_get_int(unsigned char **p, const unsigned char *end, int *val);
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtarget_cfg.c172 void unsecure_sram1(uint32_t start, uint32_t end);
173 void unsecure_sram2(uint32_t start, uint32_t end);
177 void unsecure_sram1(uint32_t start, uint32_t end) in unsecure_sram1() argument
184 uint32_t block_end = block_start + ((end - start) + 1) / (256); in unsecure_sram1()
220 void unsecure_sram2(uint32_t start, uint32_t end) in unsecure_sram2() argument
227 uint32_t block_end = block_start + ((end - start) + 1) / (256); in unsecure_sram2()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/bl2/
Dlow_level_security.c591 uint32_t end; in LL_SECU_CheckStaticProtections() local
661 end = (S_IMAGE_PRIMARY_PARTITION_OFFSET + FLASH_S_PARTITION_SIZE - 1) / PAGE_SIZE; in LL_SECU_CheckStaticProtections()
662 if (end > PAGE_MAX_NUMBER_IN_BANK) in LL_SECU_CheckStaticProtections()
664 end = PAGE_MAX_NUMBER_IN_BANK; in LL_SECU_CheckStaticProtections()
667 || (end != flash_option_bytes_bank1.WMSecEndPage)) in LL_SECU_CheckStaticProtections()
670 … start, end, flash_option_bytes_bank1.WMSecStartPage, flash_option_bytes_bank1.WMSecEndPage); in LL_SECU_CheckStaticProtections()
677 flash_option_bytes_bank1.WMSecEndPage = end; in LL_SECU_CheckStaticProtections()
685 end = (S_IMAGE_PRIMARY_PARTITION_OFFSET + FLASH_S_PARTITION_SIZE - 1) / PAGE_SIZE; in LL_SECU_CheckStaticProtections()
686 if (end > PAGE_MAX_NUMBER_IN_BANK) in LL_SECU_CheckStaticProtections()
688 end = end - (PAGE_MAX_NUMBER_IN_BANK + 1); in LL_SECU_CheckStaticProtections()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/common/template/
Dflash_otp_nv_counters_backend.c261 size_t end; in copy_flash_region() local
263 end = size; in copy_flash_region()
270 for(idx = 0; idx < end; idx += copy_size) { in copy_flash_region()
271 copy_size = (idx + sizeof(block)) <= end ? sizeof(block) : end - idx; in copy_flash_region()
533 size_t end; in create_or_restore_layout() local
570 end = TFM_OTP_NV_COUNTERS_AREA_SIZE; in create_or_restore_layout()
571 for(idx = 0; idx < end; idx += copy_size) { in create_or_restore_layout()
572 copy_size = (idx + sizeof(block)) <= end ? sizeof(block) : end - idx; in create_or_restore_layout()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dhash_driver_ext_dma.c97 goto end; in InitHashExtDma()
147 goto end; in InitHashExtDma()
161 end: in InitHashExtDma()
Daes_driver_ext_dma.c111 goto end; in AesExtDmaInit()
120 goto end; in AesExtDmaInit()
126 end: in AesExtDmaInit()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dmbedtls_cc_ecdh_edwards.h91 const unsigned char *end
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/Device/Source/gcc/
Dtfm_common_s.ld126 /**** PSA RoT RO part (CODE + RODATA) end here */
195 /**** APPLICATION RoT DATA end here */
224 PROVIDE(end = .); symbol
254 PROVIDE(end = .); symbol
266 PROVIDE(end = .); symbol
331 /**** PSA RoT DATA end here */
375 /**** APPLICATION RoT RO part (CODE + RODATA) end here */
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/Device/Source/iar/
Dtfm_common_s.icf67 * This empty, zero long execution region is here to mark the end address
77 * This empty, zero long execution region is here to mark the end address
110 * This empty, zero long execution region is here to mark the end address
154 * This empty, zero long execution region is here to mark the end address
194 * This empty, zero long execution region is here to mark the end address
234 * This empty, zero long execution region is here to mark the end address
264 * This empty, zero long execution region is here to mark the end address
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/
Demulated_flash_drv.h40 uint32_t end; ///< Sector End address (start+size-1) member
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/
Dtarget_cfg.c72 {.begin = 0x00000000, .end = 0x00FFFFFF, .offset = 0x0A000000},
74 {.begin = 0x10000000, .end = 0x10FFFFFF, .offset = 0x0A000000},
76 {.begin = 0x20000000, .end = 0x20FFFFFF, .offset = 0x04000000},
78 {.begin = 0x30000000, .end = 0x30FFFFFF, .offset = 0x04000000}
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/Device/Source/armclang/
Dtfm_common_s.sct55 * This empty, zero long execution region is here to mark the end address
80 * This empty, zero long execution region is here to mark the end address
112 * This empty, zero long execution region is here to mark the end address
166 * This empty, zero long execution region is here to mark the end address

1234