| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | sha1.c | 70 } local; in mbedtls_internal_sha1_process() local 72 local.W[0] = MBEDTLS_GET_UINT32_BE(data, 0); in mbedtls_internal_sha1_process() 73 local.W[1] = MBEDTLS_GET_UINT32_BE(data, 4); in mbedtls_internal_sha1_process() 74 local.W[2] = MBEDTLS_GET_UINT32_BE(data, 8); in mbedtls_internal_sha1_process() 75 local.W[3] = MBEDTLS_GET_UINT32_BE(data, 12); in mbedtls_internal_sha1_process() 76 local.W[4] = MBEDTLS_GET_UINT32_BE(data, 16); in mbedtls_internal_sha1_process() 77 local.W[5] = MBEDTLS_GET_UINT32_BE(data, 20); in mbedtls_internal_sha1_process() 78 local.W[6] = MBEDTLS_GET_UINT32_BE(data, 24); in mbedtls_internal_sha1_process() 79 local.W[7] = MBEDTLS_GET_UINT32_BE(data, 28); in mbedtls_internal_sha1_process() 80 local.W[8] = MBEDTLS_GET_UINT32_BE(data, 32); in mbedtls_internal_sha1_process() [all …]
|
| H A D | ripemd160.c | 74 } local; in mbedtls_internal_ripemd160_process() local 76 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_ripemd160_process() 77 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_ripemd160_process() 78 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_ripemd160_process() 79 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_ripemd160_process() 80 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_ripemd160_process() 81 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_ripemd160_process() 82 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_ripemd160_process() 83 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_ripemd160_process() 84 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_ripemd160_process() [all …]
|
| H A D | md5.c | 69 } local; in mbedtls_internal_md5_process() local 71 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_md5_process() 72 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_md5_process() 73 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_md5_process() 74 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_md5_process() 75 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_md5_process() 76 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_md5_process() 77 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_md5_process() 78 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_md5_process() 79 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_md5_process() [all …]
|
| H A D | sha256.c | 473 local.W[t] = S1(local.W[(t) - 2]) + local.W[(t) - 7] + \ 474 S0(local.W[(t) - 15]) + local.W[(t) - 16] \ 480 local.temp1 = (h) + S3(e) + F1((e), (f), (g)) + (K) + (x); \ 481 local.temp2 = S2(a) + F0((a), (b), (c)); \ 482 (d) += local.temp1; (h) = local.temp1 + local.temp2; \ 498 } local; in mbedtls_internal_sha256_process_c() local 503 local.A[i] = ctx->state[i]; in mbedtls_internal_sha256_process_c() 509 local.W[i] = MBEDTLS_GET_UINT32_BE(data, 4 * i); in mbedtls_internal_sha256_process_c() 514 P(local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha256_process_c() 515 local.A[5], local.A[6], local.A[7], local.W[i], K[i]); in mbedtls_internal_sha256_process_c() [all …]
|
| H A D | sha512.c | 608 } local; in mbedtls_internal_sha512_process_c() local 625 local.temp1 = (h) + S3(e) + F1((e), (f), (g)) + (K) + (x); \ in mbedtls_internal_sha512_process_c() 626 local.temp2 = S2(a) + F0((a), (b), (c)); \ in mbedtls_internal_sha512_process_c() 627 (d) += local.temp1; (h) = local.temp1 + local.temp2; \ in mbedtls_internal_sha512_process_c() 631 local.A[i] = ctx->state[i]; in mbedtls_internal_sha512_process_c() 637 local.W[i] = MBEDTLS_GET_UINT64_BE(data, i << 3); in mbedtls_internal_sha512_process_c() 639 local.W[i] = S1(local.W[i - 2]) + local.W[i - 7] + in mbedtls_internal_sha512_process_c() 640 S0(local.W[i - 15]) + local.W[i - 16]; in mbedtls_internal_sha512_process_c() 643 P(local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha512_process_c() 644 local.A[5], local.A[6], local.A[7], local.W[i], K[i]); in mbedtls_internal_sha512_process_c() [all …]
|
| H A D | psa_crypto_core.h | 932 /** Allocate a local copy of an input buffer and copy the contents into it. 937 * containing a local input copy. 946 /** Free a local copy of an input buffer. 962 /** Allocate a local copy of an output buffer. 973 * populate with the local output copy. 982 /** Copy from a local copy of an output buffer back to the original, then 983 * free the local copy. 988 * \return #PSA_SUCCESS, if the local output was
|
| /optee_os/core/arch/arm/plat-stm/ |
| H A D | rng_support.c | 65 * For performance reason, a local SW fifo is used to store the in hw_get_random_bytes() 68 * When the local SW fifo is empty, it is filled with the HOST FIFO in hw_get_random_bytes() 77 * - update the local SW fifo with the HOST FIFO in hw_get_random_bytes() 80 * available. _LOCAL_FIFO_SIZE indicates the size of the local SW fifo. in hw_get_random_bytes() 87 static uint8_t lfifo[_LOCAL_FIFO_SIZE]; /* local fifo */ in hw_get_random_bytes() 114 /* Update the local SW fifo for next request */ in hw_get_random_bytes()
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | SECURITY.md | 44 ### Local attacks 75 #### Local non-timing side channels 82 Mbed TLS doesn't make any security guarantees against local non-timing-based 83 side channel attacks. If local non-timing attacks are present in a use case or 86 #### Local fault injection attacks 91 Mbed TLS doesn't make any security guarantees against local fault injection 92 attacks. If local fault injection attacks are present in a use case or a user 124 These timing attacks can be physical, local or depending on network latency
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | fault_mitigation.h | 93 * @check: local checked state 404 * @ftmn: The local struct ftmn 425 * passed to the called function into the local checked state. The checked 434 * @ftmn: The local struct ftmn 443 * @ftmn: The local struct ftmn 500 * @ftmn: The local struct ftmn 509 * @res is double checked against the value stored in local checked state. 510 * @exp_steps is checked against the locate checked state. The local 524 * The result from the mem compare is saved in the local checked state. 572 * FTMN_SET_CHECK_RES() - Records a result in local checked state [all …]
|
| /optee_os/core/drivers/crypto/caam/acipher/ |
| H A D | caam_dh.c | 29 * Definition of the local DH Keypair 39 * Free local DH keypair 52 * Convert Crypto DH Key p and g bignumbers to local buffers 55 * @outkey [out] Output keypair in local format 91 * Convert Crypto DH Private Key to a local Private Key (via keypair object) 93 * @outkey [out] Output local keypair 128 * Convert Crypto DH Public Key to local Public Key (via a keypair object) 130 * @outkey [out] Output local keypair 430 /* Convert the Private key to local key */ in do_shared_secret() 437 /* Convert the Public key to local key */ in do_shared_secret()
|
| H A D | caam_dsa.c | 20 #include "local.h" 34 * Definition of the local DSA Keypair 48 * Free local DSA keypair 63 * to local buffers (via keypair object). Otherwise generate them. 65 * @outkey [out] Output keypair in local format 145 * Convert Crypto DSA Private Key to local Keypair Key 147 * @outkey [out] Output keypair in local format 202 * Convert Crypto DSA Public Key to local DSA Keypair Key 204 * @outkey [out] Output keypair in local format 525 /* Convert the private key to a local key */ in do_sign() [all …]
|
| H A D | caam_ecc.c | 36 * Definition of the local ECC Keypair 46 * Free local ECC keypair 57 * Convert Crypto ECC Key to local ECC Public Key 59 * @outkey [out] Output keypair in local format 91 * Convert Crypto ECC Key to local ECC Keypair Key 94 * @outkey [out] Output keypair in local format 467 /* Convert the private key to a local key */ in do_sign() 653 /* Convert the Public key to local key */ in do_verify() 807 /* Convert the Private key to local key */ in do_shared_secret() 814 /* Convert the Public key to local key */ in do_shared_secret()
|
| H A D | caam_rsa.c | 30 #include "local.h" 64 * Definition of the local RSA keypair 107 * Free local caam RSA keypair 125 * Convert Crypto RSA Key to local RSA Public Key 128 * @outkey [out] Output keypair in local format 167 * @outkey [out] Output keypair in local format 233 * @outkey [out] Output keypair in local format 278 * Convert Crypto RSA Key to local RSA Keypair Key 282 * @outkey [out] Output keypair in local format 432 * @genkey Key pair in local format [all …]
|
| H A D | local.h | 5 * CAAM Cipher Local header.
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | thread_rv.S | 132 /* Update 32-bit core local flags */ 145 /* Update 32-bit core local flags */ 176 * Update core local flags. 262 /* Update core local flags */ 369 /* Update 32-bit core local flags */ 382 /* Update 32-bit core local flags */ 517 * Update core local flags 603 /* Update core local flags */ 690 * uses correct core local structure. 762 /* Update 32-bit core local flags */ [all …]
|
| /optee_os/core/lib/zlib/ |
| H A D | inffast.c | 56 z_const unsigned char FAR *in; /* local strm->next_in */ 58 unsigned char FAR *out; /* local strm->next_out */ 68 unsigned long hold; /* local strm->hold */ 69 unsigned bits; /* local strm->bits */ 70 code const FAR *lcode; /* local strm->lencode */ 71 code const FAR *dcode; /* local strm->distcode */ 81 /* copy state to local variables */
|
| H A D | gzguts.h | 114 #ifndef local 115 # define local static macro 118 define "local" for the non-static meaning of "static", for readability
|
| H A D | zutil.h | 33 #ifndef local 34 # define local static macro 37 define "local" for the non-static meaning of "static", for readability
|
| /optee_os/core/drivers/crypto/caam/ae/ |
| H A D | caam_ae_gcm.c | 16 #include "local.h" 153 /* jump: class1-done all-match[] always-jump offset=[01] local->[15] */ in caam_ae_do_block_gcm() 215 /* jump: class1-done all-match[] always-jump offset=[01] local->[23] */ in caam_ae_do_block_gcm() 259 /* jump: class1-done all-match[] always-jump offset=[01] local->[32] */ in caam_ae_do_block_gcm()
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_desc_helper.h | 81 * Jump Local of class cla to descriptor offset if test meet the 85 (CMD_JUMP_TYPE | CMD_CLASS(cla) | JUMP_TYPE(LOCAL) | \ 89 * Jump Local of no class to descriptor offset if test meet the 96 * Jump Local of class 1 to descriptor offset if test meet the 104 * Jump Local of no class to descriptor offset if test meet the 119 * Jump No Local of class cla to descriptor offset if test meet the
|
| /optee_os/core/drivers/pm/imx/ |
| H A D | gpcv2.c | 12 #include "local.h"
|
| /optee_os/scripts/ |
| H A D | ci-host-cleanup.sh | 40 sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/hostedtoolcache
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | thread_a64.S | 912 * Update core local flags. 986 /* Update core local flags */ 1009 * Update core local flags 1084 /* Update core local flags */ 1116 * Update core local flags 1190 /* Update core local flags */ 1242 * Update core local flags 1310 /* Update core local flags */
|
| /optee_os/mk/ |
| H A D | subdir.mk | 27 # $1 is local source file name 38 # Clear local filename specific variables to avoid accidental reuse 55 # $1 is local source file name
|
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_attributes.h | 34 * derive, local, allowed_mechanisms*. 45 * Case 1: Create a secret from some local random value (C_CreateKey & friends)
|