Home
last modified time | relevance | path

Searched refs:bad (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_cipher.c50 uint8_t padding_len, bad = 0; in get_pkcs_padding() local
60 bad |= padding_len > input_len; in get_pkcs_padding()
61 bad |= padding_len == 0; in get_pkcs_padding()
67 bad |= ( input[i] ^ padding_len ) * ( i >= pad_idx ); in get_pkcs_padding()
70 return( PSA_ERROR_INVALID_PADDING * ( bad != 0 ) ); in get_pkcs_padding()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c1638 unsigned char *p, bad, pad_done; in mbedtls_rsa_rsaes_oaep_decrypt() local
1708 bad = 0; in mbedtls_rsa_rsaes_oaep_decrypt()
1710 bad |= *p++; /* First byte must be 0 */ in mbedtls_rsa_rsaes_oaep_decrypt()
1716 bad |= lhash[i] ^ *p++; in mbedtls_rsa_rsaes_oaep_decrypt()
1729 bad |= *p++ ^ 0x01; in mbedtls_rsa_rsaes_oaep_decrypt()
1737 if( bad != 0 ) in mbedtls_rsa_rsaes_oaep_decrypt()
1879 unsigned bad = 0; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt() local
1904 bad |= buf[0]; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
1908 bad |= buf[1] ^ MBEDTLS_RSA_CRYPT; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
1919 bad |= if_int( pad_done, 0, 1 ); in mbedtls_rsa_rsaes_pkcs1_v15_decrypt()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/accelerator/cc312/
DCMakeLists.txt97 # Adding two targets as link-time dependencies of each other seems bad, but
232 # Adding two targets as link-time dependencies of each other seems bad, but
/trusted-firmware-m-3.4.0/docs/building/
Drun_tfm_examples_on_arm_platforms.rst120 [INF] Scratch: magic=bad, copy_done=0x5, image_ok=0xcf
134 [INF] Scratch: magic=bad, copy_done=0x5, image_ok=0xcf
270 [INF] Scratch: magic=bad, copy_done=0x5, image_ok=0xd9
300 [INF] Scratch: magic=bad, copy_done=0x5, image_ok=0x9
/trusted-firmware-m-3.4.0/docs/getting_started/
Dtfm_getting_started.rst372 [INF] Scratch: magic=bad, copy_done=0x5, image_ok=0x9
/trusted-firmware-m-3.4.0/docs/integration_guide/services/
Dtfm_its_integration_guide.rst63 inherent failures of storage mediums (e.g. bad blocks in a NAND based device)
Dtfm_ps_integration_guide.rst72 inherent failures of storage mediums (e.g. bad blocks in a NAND based device)
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/
Dtfm_secure_boot.rst651 [INF] Scratch: magic= bad, copy_done=0x0, image_ok=0x2