Searched refs:cty (Results 1 – 2 of 2) sorted by relevance
485 mbedtls_camellia_context cty; in mbedtls_camellia_setkey_dec() local491 mbedtls_camellia_init( &cty ); in mbedtls_camellia_setkey_dec()494 if( ( ret = mbedtls_camellia_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_camellia_setkey_dec()497 ctx->nr = cty.nr; in mbedtls_camellia_setkey_dec()501 SK = cty.rk + 24 * 2 + 8 * idx * 2; in mbedtls_camellia_setkey_dec()522 mbedtls_camellia_free( &cty ); in mbedtls_camellia_setkey_dec()
701 mbedtls_aes_context cty; in mbedtls_aes_setkey_dec() local708 mbedtls_aes_init( &cty ); in mbedtls_aes_setkey_dec()721 if( ( ret = mbedtls_aes_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_aes_setkey_dec()724 ctx->nr = cty.nr; in mbedtls_aes_setkey_dec()730 (const unsigned char *) cty.rk, ctx->nr ); in mbedtls_aes_setkey_dec()735 SK = cty.rk + cty.nr * 4; in mbedtls_aes_setkey_dec()759 mbedtls_aes_free( &cty ); in mbedtls_aes_setkey_dec()