Home
last modified time | relevance | path

Searched refs:Nr (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Daes-internal-dec.c30 int Nr, i, j; in rijndaelKeySetupDec() local
34 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
35 if (Nr < 0) in rijndaelKeySetupDec()
36 return Nr; in rijndaelKeySetupDec()
38 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) { in rijndaelKeySetupDec()
46 for (i = 1; i < Nr; i++) { in rijndaelKeySetupDec()
56 return Nr; in rijndaelKeySetupDec()
75 static void rijndaelDecrypt(const u32 rk[/*44*/], int Nr, const u8 ct[16], in rijndaelDecrypt() argument
109 if (Nr > 10) { in rijndaelDecrypt()
112 if (Nr > 12) { in rijndaelDecrypt()
[all …]
Daes-internal-enc.c23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) in rijndaelEncrypt() argument
56 if (Nr > 10) { in rijndaelEncrypt()
59 if (Nr > 12) { in rijndaelEncrypt()
65 rk += Nr << 2; in rijndaelEncrypt()
70 r = Nr >> 1; in rijndaelEncrypt()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Daes.h60 #define Nr (10) /* number of rounds */ macro
65 unsigned int words[Nb * (Nr + 1)];
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Daes_decrypt.c144 add_round_key(state, s->words + Nb * Nr); in tc_aes_decrypt()
146 for (i = Nr - 1; i > 0; --i) { in tc_aes_decrypt()
Daes_encrypt.c90 for (; i < (Nb * (Nr + 1)); ++i) { in tc_aes128_set_encrypt_key()
174 for (i = 0; i < (Nr - 1); ++i) { in tc_aes_encrypt()