Home
last modified time | relevance | path

Searched refs:LTC_SAFER_MAX_NOF_ROUNDS (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/ciphers/safer/
A Dsafer.c117 if (LTC_SAFER_MAX_NOF_ROUNDS < nof_rounds) { in _Safer_Expand_Userkey()
118 nof_rounds = LTC_SAFER_MAX_NOF_ROUNDS; in _Safer_Expand_Userkey()
186 if (num_rounds != 0 && (num_rounds < 6 || num_rounds > LTC_SAFER_MAX_NOF_ROUNDS)) { in safer_k64_setup()
203 if (num_rounds != 0 && (num_rounds < 6 || num_rounds > LTC_SAFER_MAX_NOF_ROUNDS)) { in safer_sk64_setup()
220 if (num_rounds != 0 && (num_rounds < 6 || num_rounds > LTC_SAFER_MAX_NOF_ROUNDS)) { in safer_k128_setup()
237 if (num_rounds != 0 && (num_rounds < 6 || num_rounds > LTC_SAFER_MAX_NOF_ROUNDS)) { in safer_sk128_setup()
269 if (LTC_SAFER_MAX_NOF_ROUNDS < (round = *key)) round = LTC_SAFER_MAX_NOF_ROUNDS; in _safer_ecb_encrypt()
323 if (LTC_SAFER_MAX_NOF_ROUNDS < (round = *key)) round = LTC_SAFER_MAX_NOF_ROUNDS; in _safer_ecb_decrypt()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h88 #define LTC_SAFER_MAX_NOF_ROUNDS 13 macro
90 #define LTC_SAFER_KEY_LEN (1 + LTC_SAFER_BLOCK_LEN * (1 + 2 * LTC_SAFER_MAX_NOF_ROUNDS))

Completed in 6 milliseconds