Home
last modified time | relevance | path

Searched refs:kb (Results 1 – 7 of 7) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/math/fp/
H A Dltc_ecc_fp_mulmod.c774 unsigned char kb[128]; in s_accel_fp_mul() local
826 if (mp_unsigned_bin_size(tk) > (sizeof(kb) - 2)) { in s_accel_fp_mul()
834 zeromem(kb, sizeof(kb)); in s_accel_fp_mul()
835 if ((err = mp_to_unsigned_bin(tk, kb)) != CRYPT_OK) { in s_accel_fp_mul()
849 z = kb[x]; kb[x] = kb[y]; kb[y] = z; in s_accel_fp_mul()
859 z |= ((kb[bitpos>>3] >> (bitpos&7)) & 1) << y; in s_accel_fp_mul()
883 zeromem(kb, sizeof(kb)); in s_accel_fp_mul()
899 unsigned char kb[2][128]; in ss_accel_fp_mul2add() local
989 …if ((mp_unsigned_bin_size(tka) > (sizeof(kb[0]) - 2)) || (mp_unsigned_bin_size(tkb) > (sizeof(kb[0… in ss_accel_fp_mul2add()
1000 zeromem(kb, sizeof(kb)); in ss_accel_fp_mul2add()
[all …]
/optee_os/core/lib/libtomcrypt/src/ciphers/safer/
H A Dsafer.c108 unsigned char kb[LTC_SAFER_BLOCK_LEN + 1]; in s_safer_expand_userkey() local
115 kb[LTC_SAFER_BLOCK_LEN] = (unsigned char)0; in s_safer_expand_userkey()
120 kb[j] = *key++ = userkey_2[j]; in s_safer_expand_userkey()
121 kb[LTC_SAFER_BLOCK_LEN] ^= kb[j]; in s_safer_expand_userkey()
126 kb[j] = ROL8(kb[j], 6); in s_safer_expand_userkey()
147 *key++ = (kb[k] in s_safer_expand_userkey()
151 … *key++ = (kb[j] + safer_ebox[(int)safer_ebox[(int)((18 * i + j + 10)&0xFF)]]) & 0xFF; in s_safer_expand_userkey()
158 zeromem(kb, sizeof(kb)); in s_safer_expand_userkey()
/optee_os/lib/libmbedtls/mbedtls/
H A DSUPPORT.md9 - the [Mbed TLS Knowledge Base](https://mbed-tls.readthedocs.io/en/latest/kb/);
H A DCONTRIBUTING.md18 …st follow [our coding standards](https://mbed-tls.readthedocs.io/en/latest/kb/development/mbedtls-…
62 …ailable on the Mbed TLS website](https://mbed-tls.readthedocs.io/en/latest/kb/development/test_sui…
81 1. If a [Knowledge Base (KB)](https://mbed-tls.readthedocs.io/en/latest/kb/) article should be adde…
H A DREADME.md113 …ck [the Mbed TLS Knowledge Base](https://mbed-tls.readthedocs.io/en/latest/kb/) for articles on yo…
115 …, so we can add it to the [Mbed TLS Knowledge Base](https://mbed-tls.readthedocs.io/en/latest/kb/).
260 - [Porting Mbed TLS to a new environment or OS](https://mbed-tls.readthedocs.io/en/latest/kb/how-…
261 …ndencies does Mbed TLS rely on?](https://mbed-tls.readthedocs.io/en/latest/kb/development/what-ext…
262 - [How do I configure Mbed TLS](https://mbed-tls.readthedocs.io/en/latest/kb/compiling-and-buildi…
H A DChangeLog1171 https://mbed-tls.readthedocs.io/en/latest/kb/how-to/rewrite-branch-for-coding-style/
1850 https://mbed-tls.readthedocs.io/en/latest/kb/how-to/add-entropy-sources-to-entropy-pool/ for
/optee_os/core/drivers/crypto/se050/core/
H A Drsa.c600 static TEE_Result do_gen_keypair(struct rsa_keypair *key, size_t kb) in do_gen_keypair() argument
613 if (!oefid_keylen_supported(kb)) { in do_gen_keypair()
618 return sw_crypto_acipher_gen_rsa_key(key, kb); in do_gen_keypair()
636 st = sss_se05x_key_store_generate_key(se050_kstore, &k_object, kb, in do_gen_keypair()
642 &kb); in do_gen_keypair()