Searched refs:c (Results 1 – 6 of 6) sorted by relevance
/tinycrypt-latest/lib/ |
D | CMakeLists.txt | 3 zephyr_sources( source/utils.c) 4 zephyr_sources_ifdef(CONFIG_TINYCRYPT_ECC_DH source/ecc_dh.c) 5 zephyr_sources_ifdef(CONFIG_TINYCRYPT_ECC_DH source/ecc.c) 6 zephyr_sources_ifdef(CONFIG_TINYCRYPT_ECC_DSA source/ecc_dsa.c) 7 zephyr_sources_ifdef(CONFIG_TINYCRYPT_ECC_DSA source/ecc.c) 8 zephyr_sources_ifdef(CONFIG_TINYCRYPT_AES source/aes_decrypt.c) 9 zephyr_sources_ifdef(CONFIG_TINYCRYPT_AES source/aes_encrypt.c) 10 zephyr_sources_ifdef(CONFIG_TINYCRYPT_AES_CBC source/cbc_mode.c) 11 zephyr_sources_ifdef(CONFIG_TINYCRYPT_AES_CTR source/ctr_mode.c) 12 zephyr_sources_ifdef(CONFIG_TINYCRYPT_AES_CCM source/ccm_mode.c) [all …]
|
/tinycrypt-latest/lib/source/ |
D | ccm_mode.c | 39 int tc_ccm_config(TCCcmMode_t c, TCAesKeySched_t sched, uint8_t *nonce, in tc_ccm_config() argument 44 if (c == (TCCcmMode_t) 0 || in tc_ccm_config() 54 c->mlen = mlen; in tc_ccm_config() 55 c->sched = sched; in tc_ccm_config() 56 c->nonce = nonce; in tc_ccm_config() 140 unsigned int plen, TCCcmMode_t c) in tc_ccm_generation_encryption() argument 145 (c == (TCCcmMode_t) 0) || in tc_ccm_generation_encryption() 150 (olen < (plen + c->mlen))) { /* invalid output buffer size */ in tc_ccm_generation_encryption() 161 b[0] = ((alen > 0) ? 0x40:0) | (((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_generation_encryption() 163 b[i] = c->nonce[i - 1]; in tc_ccm_generation_encryption() [all …]
|
D | sha256.c | 167 #define Ch(a, b, c)(((a) & (b)) ^ ((~(a)) & (c))) argument 168 #define Maj(a, b, c)(((a) & (b)) ^ ((a) & (c)) ^ ((b) & (c))) argument 170 static inline unsigned int BigEndian(const uint8_t **c) in BigEndian() argument 174 n = (((unsigned int)(*((*c)++))) << 24); in BigEndian() 175 n |= ((unsigned int)(*((*c)++)) << 16); in BigEndian() 176 n |= ((unsigned int)(*((*c)++)) << 8); in BigEndian() 177 n |= ((unsigned int)(*((*c)++))); in BigEndian() 183 unsigned int a, b, c, d, e, f, g, h; in compress() local 190 a = iv[0]; b = iv[1]; c = iv[2]; d = iv[3]; in compress() 197 t2 = Sigma0(a) + Maj(a, b, c); in compress() [all …]
|
/tinycrypt-latest/lib/include/tinycrypt/ |
D | ccm_mode.h | 111 int tc_ccm_config(TCCcmMode_t c, TCAesKeySched_t sched, uint8_t *nonce, 159 unsigned int plen, TCCcmMode_t c); 205 TCCcmMode_t c);
|
D | ecc.h | 154 #define BYTES_TO_WORDS_8(a, b, c, d, e, f, g, h) 0x##d##c##b##a, 0x##h##g##f##e argument 155 #define BYTES_TO_WORDS_4(a, b, c, d) 0x##d##c##b##a argument
|
/tinycrypt-latest/ |
D | README.zephyr | 19 Copyright (c) 2017, Intel Corporation. All rights reserved. 49 Copyright (c) 2013, Kenneth MacKay
|