| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/choice/ |
| H A D | der_decode_choice.c | 37 list[x].used = 0; in der_decode_choice() 49 list[x].used = 1; in der_decode_choice() 59 list[x].used = 1; in der_decode_choice() 69 list[x].used = 1; in der_decode_choice() 79 list[x].used = 1; in der_decode_choice() 90 list[x].used = 1; in der_decode_choice() 101 list[x].used = 1; in der_decode_choice() 112 list[x].used = 1; in der_decode_choice() 120 list[x].used = 1; in der_decode_choice() 131 list[x].used = 1; in der_decode_choice() [all …]
|
| /optee_os/core/lib/zlib/ |
| H A D | inftrees.c | 48 unsigned used; /* code entries in table used */ local 206 used = 1U << root; /* use root table entries */ 207 mask = used - 1; /* mask for comparing low */ 210 if ((type == LENS && used > ENOUGH_LENS) || 211 (type == DISTS && used > ENOUGH_DISTS)) 278 used += 1U << curr; 279 if ((type == LENS && used > ENOUGH_LENS) || 280 (type == DISTS && used > ENOUGH_DISTS)) 302 *table += used;
|
| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
| H A D | der_encode_set.c | 29 return A->used - B->used; in s_qsort_helper() 58 copy[x].used = x; in der_encode_set()
|
| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/ |
| H A D | der_decode_custom_type.c | 103 if (((unsigned long)root->used >= der_asn1_type_to_identifier_map_sz) || in der_decode_custom_type_ex() 104 (der_asn1_type_to_identifier_map[root->used] == -1)) { in der_decode_custom_type_ex() 109 root->type = (ltc_asn1_type)root->used; in der_decode_custom_type_ex() 133 list[i].used = 0; in der_decode_custom_type_ex() 146 if (!ordered && list[i].used == 1) { continue; } in der_decode_custom_type_ex() 394 list[i].used = 1; in der_decode_custom_type_ex() 402 if (list[i].used == 0 && list[i].optional == 0) { in der_decode_custom_type_ex()
|
| H A D | der_length_custom_type.c | 49 type = (ltc_asn1_type)list[i].used; in der_length_custom_type() 61 if (!list[i].used && list[i].optional) continue; in der_length_custom_type()
|
| H A D | der_encode_custom_type.c | 76 type = (ltc_asn1_type)list[i].used; in der_encode_custom_type()
|
| /optee_os/core/lib/libfdt/ |
| H A D | README.license | 17 libfdt, however, is GPL/BSD dual-licensed. That is, it may be used 27 tools. Allowing libfdt to be used under the terms of the BSD license 33 believe the goal of allowing libfdt to be widely used is more 38 Licenses such as the LGPL which would allow code to be used in non-GPL 40 considered. However, libfdt is designed to be used in firmwares and
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | md5.c | 259 uint32_t used; in mbedtls_md5_finish() local 265 used = ctx->total[0] & 0x3F; in mbedtls_md5_finish() 267 ctx->buffer[used++] = 0x80; in mbedtls_md5_finish() 269 if (used <= 56) { in mbedtls_md5_finish() 271 memset(ctx->buffer + used, 0, 56 - used); in mbedtls_md5_finish() 274 memset(ctx->buffer + used, 0, 64 - used); in mbedtls_md5_finish()
|
| H A D | sha1.c | 295 uint32_t used; in mbedtls_sha1_finish() local 301 used = ctx->total[0] & 0x3F; in mbedtls_sha1_finish() 303 ctx->buffer[used++] = 0x80; in mbedtls_sha1_finish() 305 if (used <= 56) { in mbedtls_sha1_finish() 307 memset(ctx->buffer + used, 0, 56 - used); in mbedtls_sha1_finish() 310 memset(ctx->buffer + used, 0, 64 - used); in mbedtls_sha1_finish()
|
| H A D | sha256.c | 704 uint32_t used; in mbedtls_sha256_finish() local 711 used = ctx->total[0] & 0x3F; in mbedtls_sha256_finish() 713 ctx->buffer[used++] = 0x80; in mbedtls_sha256_finish() 715 if (used <= 56) { in mbedtls_sha256_finish() 717 memset(ctx->buffer + used, 0, 56 - used); in mbedtls_sha256_finish() 720 memset(ctx->buffer + used, 0, SHA256_BLOCK_SIZE - used); in mbedtls_sha256_finish()
|
| H A D | ssl_tls.c | 3457 size_t used = 0; in ssl_tls12_session_save() local 3472 used += 8; in ssl_tls12_session_save() 3474 if (used <= buf_len) { in ssl_tls12_session_save() 3485 used += 1 /* id_len */ in ssl_tls12_session_save() 3490 if (used <= buf_len) { in ssl_tls12_session_save() 3513 used += 3 + cert_len; in ssl_tls12_session_save() 3515 if (used <= buf_len) { in ssl_tls12_session_save() 3527 used += 1 /* type */ + 1 /* length */ + session->peer_cert_digest_len; in ssl_tls12_session_save() 3528 if (used <= buf_len) { in ssl_tls12_session_save() 3536 used += 2; in ssl_tls12_session_save() [all …]
|
| H A D | sha512.c | 818 unsigned used; in mbedtls_sha512_finish() local 825 used = ctx->total[0] & 0x7F; in mbedtls_sha512_finish() 827 ctx->buffer[used++] = 0x80; in mbedtls_sha512_finish() 829 if (used <= 112) { in mbedtls_sha512_finish() 831 memset(ctx->buffer + used, 0, 112 - used); in mbedtls_sha512_finish() 834 memset(ctx->buffer + used, 0, SHA512_BLOCK_SIZE - used); in mbedtls_sha512_finish()
|
| /optee_os/lib/libutils/compiler-rt/lib/builtins/ |
| H A D | int_mulo_impl.inc | 9 // Helper used by __mulosi4, __mulodi4 and __muloti4.
|
| H A D | int_div_impl.inc | 9 // Helpers used by __udivsi3, __umodsi3, __udivdi3, and __umodsi3.
|
| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
| H A D | der_length_sequence.c | 48 if (!list[i].used && list[i].optional) continue; in der_length_sequence_ex()
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | hisi_qm.h | 139 bool used; member
|
| H A D | hisi_qm.c | 718 if (!qm->qp_array[cur_idx].used) { in hisi_qm_create_qp() 719 qm->qp_array[cur_idx].used = true; in hisi_qm_create_qp() 747 qp->used = false; in hisi_qm_create_qp() 767 qp->used = false; in hisi_qm_release_qp()
|
| /optee_os/core/lib/qcbor/ |
| H A D | README.md | 17 it highly portable. <math.h> and <fenv.h> are used too, but their 59 object code for QCBOR APIs not used is not referenced. 113 TinyCBOR is a popular widely used implementation. Like QCBOR, 230 CMake can also be used to build QCBOR and the test application. Having the root 238 The `BUILD_QCBOR_TEST` CMake option can be used for building the tests, it can 263 To enable all the compiler warnings that are used in the QCBOR release process 282 used to reduce object code size and dependency. 367 If you are using CMake, it can also be used to configure the floating-point 515 used for all the maps. 563 contributors may be used to endorse or promote products derived from
|
| H A D | LICENSE | 25 contributors may be used to endorse or promote products derived from
|
| /optee_os/lib/libutils/isoc/arch/arm/softfloat/ |
| H A D | COPYING.txt | 24 may be used to endorse or promote products derived from this software
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 24 AES to be used for some time when the program starts. This could allow 56 keys, which could be used by an attacker capable of feeding encrypted 150 * Zeroize a temporary heap buffer used in psa_key_derivation_output_key() 152 * Zeroize temporary heap buffers used in PSA operations. 163 * Fix invalid JSON schemas for driver descriptions used by 171 * Fix missing constraints on the AES-NI inline assembly which is used on 410 be used, but are deprecated. 411 * In the PSA API, domain parameters are no longer used for anything. 423 mbedtls_pk_import_into_psa() can be used to import a PK key into PSA, 424 while mbedtls_pk_setup_opaque() can be used to wrap a PSA key into a opaque [all …]
|
| H A D | SECURITY.md | 145 The Everest variant is only used when `MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED` 157 **Warning!** Mbed TLS must not be used to sign untrusted CSRs unless extra
|
| /optee_os/core/lib/libtomcrypt/src/math/ |
| H A D | ltm_desc.c | 128 return (n >= A->used || n < 0) ? 0 : A->dp[n]; in get_digit() 136 return A->used; in get_digit_count()
|
| H A D | tfm_desc.c | 91 return A->used > 0 ? A->dp[0] : 0; in get_int() 99 return (n >= A->used || n < 0) ? 0 : A->dp[n]; in get_digit() 107 return A->used; in get_digit_count()
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_pk.h | 542 int used; member 560 LTC_TMPVAR(SA_list)[LTC_TMPVAR(SA)].used = 0; \ 589 list[LTC_TMPVAR(SACP)].used = (int)(Type); \
|