Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/ciphers/safer/
Dsafer.c117 if (SAFER_MAX_NOF_ROUNDS < nof_rounds) in _Safer_Expand_Userkey()
118 nof_rounds = SAFER_MAX_NOF_ROUNDS; in _Safer_Expand_Userkey()
185 if (numrounds != 0 && (numrounds < 6 || numrounds > SAFER_MAX_NOF_ROUNDS)) { in safer_k64_setup()
202 if (numrounds != 0 && (numrounds < 6 || numrounds > SAFER_MAX_NOF_ROUNDS)) { in safer_sk64_setup()
219 if (numrounds != 0 && (numrounds < 6 || numrounds > SAFER_MAX_NOF_ROUNDS)) { in safer_k128_setup()
236 if (numrounds != 0 && (numrounds < 6 || numrounds > SAFER_MAX_NOF_ROUNDS)) { in safer_sk128_setup()
268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; in _safer_ecb_encrypt()
322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; in _safer_ecb_decrypt()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_cipher.h78 #define SAFER_MAX_NOF_ROUNDS 13 macro
80 #define SAFER_KEY_LEN (1 + SAFER_BLOCK_LEN * (1 + 2 * SAFER_MAX_NOF_ROUNDS))