Home
last modified time | relevance | path

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

/net-tools-3.7.0/tinydtls-0.8.2/aes/
Drijndael.c1236 int rounds; in rijndael_set_key_enc_only() local
1238 rounds = rijndaelKeySetupEnc(ctx->ek, key, bits); in rijndael_set_key_enc_only()
1239 if (rounds == 0) in rijndael_set_key_enc_only()
1242 ctx->Nr = rounds; in rijndael_set_key_enc_only()
1255 int rounds; in rijndael_set_key() local
1257 rounds = rijndaelKeySetupEnc(ctx->ek, key, bits); in rijndael_set_key()
1258 if (rounds == 0) in rijndael_set_key()
1260 if (rijndaelKeySetupDec(ctx->dk, key, bits) != rounds) in rijndael_set_key()
1263 ctx->Nr = rounds; in rijndael_set_key()
/net-tools-3.7.0/mbedtls-2.4.0/library/
Dhmac_drbg.c77 unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1; in mbedtls_hmac_drbg_update() local
81 for( sep[0] = 0; sep[0] < rounds; sep[0]++ ) in mbedtls_hmac_drbg_update()
87 if( rounds == 2 ) in mbedtls_hmac_drbg_update()