Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 11 of 11) sorted by relevance

/optee_os/lib/libutils/compiler-rt/lib/builtins/
H A Dint_mulo_impl.inc37 fixint_t sb = b >> (N - 1);
38 fixint_t abs_b = (b ^ sb) - sb;
41 if (sa == sb) {
/optee_os/core/lib/libtomcrypt/
H A Dsha3_accel.c137 memcpy(md->sha3.sb + md->sha3.byte_index, in, l); in sha3_process()
142 crypto_accel_sha3_compress(state, md->sha3.sb, 1, in sha3_process()
159 memcpy(md->sha3.sb + md->sha3.byte_index, in, inlen); in sha3_process()
192 buf = md->sha3.sb; in sha3_done()
219 buf = md->sha3.sb; in sha3_shake_done()
/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dsha3.c208 STORE64L(md->sha3.s[i], md->sha3.sb + i * 8); in ss_done()
211 XMEMCPY(hash, md->sha3.sb, md->sha3.capacity_words * 4); in ss_done()
344 STORE64L(md->sha3.s[i], md->sha3.sb + i * 8); in sha3_shake_done()
355 STORE64L(md->sha3.s[i], md->sha3.sb + i * 8); in sha3_shake_done()
359 out[idx] = md->sha3.sb[md->sha3.byte_index++]; in sha3_shake_done()
/optee_os/core/include/drivers/
H A Dls_sfp.h122 TEE_Result ls_sfp_get_sb(uint32_t *sb);
/optee_os/core/drivers/
H A Dls_sfp.c299 TEE_Result ls_sfp_get_sb(uint32_t *sb) in ls_sfp_get_sb() argument
306 if (!sb) in ls_sfp_get_sb()
309 *sb = (io_read32((vaddr_t)&sfp_regs->sfpcr) & SFP_SFPCR_SB_MASK) >> in ls_sfp_get_sb()
H A Dversal_trng.c356 const uint8_t sb[] = { in trng_df_init() local
386 memcpy(sbx1, sb, sizeof(sb)); in trng_df_init()
387 for (i = 0; i < sizeof(sb); i++) { in trng_df_init()
388 sbx2[i] = (sb[i] << 1) ^ (((sb[i] >> 7) & 1) * 0x1B); in trng_df_init()
389 sbx3[i] = sbx2[i] ^ sb[i]; in trng_df_init()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Daria.c143 const uint8_t sa[256], const uint8_t sb[256], in aria_sl()
147 (((uint32_t) sb[MBEDTLS_BYTE_1(*a)]) << 8) ^ in aria_sl()
151 (((uint32_t) sb[MBEDTLS_BYTE_1(*b)]) << 8) ^ in aria_sl()
155 (((uint32_t) sb[MBEDTLS_BYTE_1(*c)]) << 8) ^ in aria_sl()
159 (((uint32_t) sb[MBEDTLS_BYTE_1(*d)]) << 8) ^ in aria_sl()
H A Dx509_crt.c1596 struct stat sb; in mbedtls_x509_crt_parse_path() local
1612 memset(&sb, 0, sizeof(sb)); in mbedtls_x509_crt_parse_path()
1621 } else if (stat(entry_name, &sb) == -1) { in mbedtls_x509_crt_parse_path()
1637 if (!S_ISREG(sb.st_mode)) { in mbedtls_x509_crt_parse_path()
/optee_os/core/arch/riscv/kernel/
H A Dkern.ld.S187 *(.gnu.linkonce.sb.*)
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_hash.h9 unsigned char sb[25 * 8]; /* used for storing `ulong64 s[25]` as little-endian bytes */ member
/optee_os/core/arch/riscv/include/
H A Dencoding.h3788 DECLARE_INSN(sb, MATCH_SB, MASK_SB)