Home
last modified time | relevance | path

Searched defs:s (Results 1 – 13 of 13) sorted by relevance

/mcuboot-2.7.6/ext/tinycrypt/lib/source/
Dcmac_mode.c97 int tc_cmac_setup(TCCmacState_t s, const uint8_t *key, TCAesKeySched_t sched) in tc_cmac_setup()
125 int tc_cmac_erase(TCCmacState_t s) in tc_cmac_erase()
137 int tc_cmac_init(TCCmacState_t s) in tc_cmac_init()
157 int tc_cmac_update(TCCmacState_t s, const uint8_t *data, size_t data_length) in tc_cmac_update()
222 int tc_cmac_final(uint8_t *tag, TCCmacState_t s) in tc_cmac_final()
Daes_decrypt.c62 int tc_aes128_set_decrypt_key(TCAesKeySched_t s, const uint8_t *k) in tc_aes128_set_decrypt_key()
81 static inline void inv_mix_columns(uint8_t *s) in inv_mix_columns()
92 static inline void add_round_key(uint8_t *s, const unsigned int *k) in add_round_key()
104 static inline void inv_sub_bytes(uint8_t *s) in inv_sub_bytes()
118 static inline void inv_shift_rows(uint8_t *s) in inv_shift_rows()
129 int tc_aes_decrypt(uint8_t *out, const uint8_t *in, const TCAesKeySched_t s) in tc_aes_decrypt()
Daes_encrypt.c70 int tc_aes128_set_encrypt_key(TCAesKeySched_t s, const uint8_t *k) in tc_aes128_set_encrypt_key()
101 static inline void add_round_key(uint8_t *s, const unsigned int *k) in add_round_key()
113 static inline void sub_bytes(uint8_t *s) in sub_bytes()
132 static inline void mix_columns(uint8_t *s) in mix_columns()
147 static inline void shift_rows(uint8_t *s) in shift_rows()
158 int tc_aes_encrypt(uint8_t *out, const uint8_t *in, const TCAesKeySched_t s) in tc_aes_encrypt()
Dsha256.c39 int tc_sha256_init(TCSha256State_t s) in tc_sha256_init()
65 int tc_sha256_update(TCSha256State_t s, const uint8_t *data, size_t datalen) in tc_sha256_update()
87 int tc_sha256_final(uint8_t *digest, TCSha256State_t s) in tc_sha256_final()
Decc_dsa.c105 uECC_word_t s[NUM_ECC_WORDS]; in uECC_sign_with_k() local
211 uECC_word_t r[NUM_ECC_WORDS], s[NUM_ECC_WORDS]; in uECC_verify() local
/mcuboot-2.7.6/ext/tinycrypt/tests/
Dtest_sha256.c65 struct tc_sha256_state_struct s; in test_1() local
90 struct tc_sha256_state_struct s; in test_2() local
113 struct tc_sha256_state_struct s; in test_3() local
136 struct tc_sha256_state_struct s; in test_4() local
160 struct tc_sha256_state_struct s; in test_5() local
185 struct tc_sha256_state_struct s; in test_6() local
210 struct tc_sha256_state_struct s; in test_7() local
236 struct tc_sha256_state_struct s; in test_8() local
261 struct tc_sha256_state_struct s; in test_9() local
286 struct tc_sha256_state_struct s; in test_10() local
[all …]
Dtest_cmac_mode.c54 static void show(const char *label, const uint8_t *s, size_t slen) in show()
68 struct tc_cmac_struct s) in verify_gf_2_128_double()
118 static int verify_cmac_null_msg(TCCmacState_t s) in verify_cmac_null_msg()
145 static int verify_cmac_1_block_msg(TCCmacState_t s) in verify_cmac_1_block_msg()
177 static int verify_cmac_320_bit_msg(TCCmacState_t s) in verify_cmac_320_bit_msg()
212 static int verify_cmac_512_bit_msg(TCCmacState_t s) in verify_cmac_512_bit_msg()
Dtest_aes.c89 struct tc_aes_key_sched_struct s; in test_1() local
126 struct tc_aes_key_sched_struct s; in test_2() local
149 TCAesKeySched_t s) in var_text_test()
1079 struct tc_aes_key_sched_struct s; in test_3() local
1107 struct tc_aes_key_sched_struct s; in var_key_test() local
Dtest_hmac_prng.c54 void show(const char *label, const uint8_t *s, size_t len) in show()
64 void printBinaryFile(const uint8_t *s, unsigned int slen) in printBinaryFile()
/mcuboot-2.7.6/ext/tinycrypt-sha512/lib/source/
Dsha512.c39 int tc_sha512_init(TCSha512State_t s) in tc_sha512_init()
65 int tc_sha512_update(TCSha512State_t s, const uint8_t *data, size_t datalen) in tc_sha512_update()
86 int tc_sha512_final(uint8_t *digest, TCSha512State_t s) in tc_sha512_final()
/mcuboot-2.7.6/ext/tinycrypt/tests/include/
Dtest_utils.h87 static inline void show_str(const char *label, const uint8_t *s, size_t len) in show_str()
/mcuboot-2.7.6/ext/mbedtls-asn1/include/mbedtls/
Dbignum.h182 int s; /*!< integer sign */ member
/mcuboot-2.7.6/ext/fiat/src/
Dcurve25519.c318 uint8_t s[32]; in fe_isnonzero() local
328 uint8_t s[32]; in fe_isnegative() local
1117 struct tc_sha512_state_struct s; in ED25519_verify() local