Searched refs:rounds (Results 1 – 2 of 2) sorted by relevance
1236 int rounds; in rijndael_set_key_enc_only() local1238 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() local1257 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()
77 unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1; in mbedtls_hmac_drbg_update() local81 for( sep[0] = 0; sep[0] < rounds; sep[0]++ ) in mbedtls_hmac_drbg_update()87 if( rounds == 2 ) in mbedtls_hmac_drbg_update()